Paydirt MCP by usefulapi
v1.8.0Read, create and update clients, projects and jobs, and log time in Paydirt.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
paydirt_list_clients List clients
List all clients of the account, with billing details and hourly rates. Paydirt API: GET /v1/clients.
paydirt_get_client Get a client
Get one client by id. Paydirt API: GET /v1/clients/{id}.
| Parameter | Type | Description |
|---|---|---|
client_id * | integer | The client id. |
paydirt_create_client Create a client
Create a client with a business name. Paydirt API: POST /v1/clients.
| Parameter | Type | Description |
|---|---|---|
business_name * | string | The client's business name. |
paydirt_update_client Update a client
Change the business name of an existing client. Paydirt API: PUT /v1/clients/{id}.
| Parameter | Type | Description |
|---|---|---|
business_name * | string | The new business name. |
client_id * | integer | The client id. |
paydirt_list_projects List projects
List all projects of the account, with their client and completion status. Paydirt API: GET /v1/projects.
paydirt_get_project Get a project
Get one project by id. Paydirt API: GET /v1/projects/{id}.
| Parameter | Type | Description |
|---|---|---|
project_id * | integer | The project id. |
paydirt_create_project Create a project
Create a project under a client. Paydirt API: POST /v1/projects.
| Parameter | Type | Description |
|---|---|---|
client_id * | integer | The client that owns the project id. |
name * | string | The project name. |
completed | boolean | Whether the project is completed. |
paydirt_update_project Update a project
Rename a project or mark it completed or open. Paydirt API: PUT /v1/projects/{id}.
| Parameter | Type | Description |
|---|---|---|
project_id * | integer | The project id. |
completed | boolean | Whether the project is completed. |
name | string | The new project name. |
paydirt_list_jobs List jobs
List all jobs of the account, with price, price type, estimate and completion. Paydirt API: GET /v1/jobs.
paydirt_get_job Get a job
Get one job by id. Paydirt API: GET /v1/jobs/{id}.
| Parameter | Type | Description |
|---|---|---|
job_id * | integer | The job id. |
paydirt_create_job Create a job
Create a job in a project. price_type 0 = per hour at the job price, 1 = fixed price, 2 = per hour at each user's rate. Paydirt API: POST /v1/jobs.
| Parameter | Type | Description |
|---|---|---|
name * | string | The job name. |
price * | number | The job price. Its meaning depends on price_type. |
price_type * | integer | 0 = per hour, 1 = fixed price, 2 = per hour at each user's rate. |
project_id * | integer | The project that owns the job id. |
completed | boolean | Whether the job is completed. |
paydirt_update_job Update a job
Rename a job, move it to another project, or mark it completed or open. Paydirt API: PUT /v1/jobs/{id}.
| Parameter | Type | Description |
|---|---|---|
job_id * | integer | The job id. |
completed | boolean | Whether the job is completed. |
name | string | The new job name. |
project_id | integer | The project the job moves to id. |
paydirt_list_time_logs List time logs
List time logs, optionally filtered by date range, user, client, project, job, billable or billed status. Paydirt API: GET /v1/time.
| Parameter | Type | Description |
|---|---|---|
billable | boolean | true = billable only, false = unbillable only. |
billed | boolean | true = billed only, false = unbilled only. |
client_id | integer | The client id. |
end | string | Include logs up to and including this date. |
job_id | integer | The job id. |
project_id | integer | The project id. |
start | string | Include logs on and after this date (inclusive). |
user_id | integer | The user id. |
paydirt_get_time_log Get a time log
Get one time log by id. Paydirt API: GET /v1/time/{id}.
| Parameter | Type | Description |
|---|---|---|
time_log_id * | integer | The time log id. |
paydirt_create_time_log Log time
Log time against a job. Give started_at and ended_at, or set duration_only true and give duration (seconds) and date. Defaults to the calling user. Creates a billable record. Paydirt API: POST /v1/time.
| Parameter | Type | Description |
|---|---|---|
job_id * | integer | The job the time is logged against id. |
date | string | Date of the log. Required when duration_only is true. |
description | string | What the work was about. |
duration | integer | Duration in seconds. Required when duration_only is true. |
duration_only | boolean | true = log a duration on a date; false = log a start and end time. |
ended_at | string | End time. Required when duration_only is false. |
started_at | string | Start time. Required when duration_only is false. |
user_id | integer | The user who did the work (default: the calling user) id. |
paydirt_list_users List users
List the users of the account (ids, names and emails). Use the ids for user_id filters. Paydirt API: GET /v1/users.