Paydirt MCP by usefulapi

v1.9.1
io.usefulapi/paydirt Checked 3 days ago Published 1 day ago

Read, 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}.

ParameterTypeDescription
client_id *integerThe client id.

paydirt_create_client Create a client

Create a client with a business name. Paydirt API: POST /v1/clients.

ParameterTypeDescription
business_name *stringThe client's business name.

paydirt_update_client Update a client

Change the business name of an existing client. Paydirt API: PUT /v1/clients/{id}.

ParameterTypeDescription
business_name *stringThe new business name.
client_id *integerThe 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}.

ParameterTypeDescription
project_id *integerThe project id.

paydirt_create_project Create a project

Create a project under a client. Paydirt API: POST /v1/projects.

ParameterTypeDescription
client_id *integerThe client that owns the project id.
name *stringThe project name.
completedbooleanWhether 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}.

ParameterTypeDescription
project_id *integerThe project id.
completedbooleanWhether the project is completed.
namestringThe 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}.

ParameterTypeDescription
job_id *integerThe 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.

ParameterTypeDescription
name *stringThe job name.
price *numberThe job price. Its meaning depends on price_type.
price_type *integer0 = per hour, 1 = fixed price, 2 = per hour at each user's rate.
project_id *integerThe project that owns the job id.
completedbooleanWhether 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}.

ParameterTypeDescription
job_id *integerThe job id.
completedbooleanWhether the job is completed.
namestringThe new job name.
project_idintegerThe 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.

ParameterTypeDescription
billablebooleantrue = billable only, false = unbillable only.
billedbooleantrue = billed only, false = unbilled only.
client_idintegerThe client id.
endstringInclude logs up to and including this date.
job_idintegerThe job id.
project_idintegerThe project id.
startstringInclude logs on and after this date (inclusive).
user_idintegerThe user id.

paydirt_get_time_log Get a time log

Get one time log by id. Paydirt API: GET /v1/time/{id}.

ParameterTypeDescription
time_log_id *integerThe 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.

ParameterTypeDescription
job_id *integerThe job the time is logged against id.
datestringDate of the log. Required when duration_only is true.
descriptionstringWhat the work was about.
durationintegerDuration in seconds. Required when duration_only is true.
duration_onlybooleantrue = log a duration on a date; false = log a start and end time.
ended_atstringEnd time. Required when duration_only is false.
started_atstringStart time. Required when duration_only is false.
user_idintegerThe 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.