Projul MCP by usefulapi

v1.2.1
io.usefulapi/projul Checked 2 days ago Published 1 day ago

Read clients, projects, estimates, tasks and invoices; create clients, tasks and notes in Projul.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

projul_whoami Check the API key

Show what the connected key can do: its name, access level (Read or ReadWrite), the company name, and the word the company uses for an estimate. Use it first to confirm the connection. Projul API: GET /v1/me.

projul_list_clients List clients

List active clients, newest first. Filter by name, email, phone, company or external reference. Archived clients appear only with include_archived. Projul API: GET /v1/customers.

ParameterTypeDescription
afterstringCursor: pass next_cursor from the previous page to get the next one.
company_namestringMatch on the company name.
emailstringMatch on an email address.
external_refstringMatch on your own reference.
include_archivedbooleanAlso list archived clients (status Archived).
limitintegerRows per page, 1 to 100 (default 25).
namestringMatch on the client's name.
phonestringMatch on a phone number.
sortstringSort order. Default: newest first.
updated_sincestringOnly rows updated at or after this RFC 3339 time (UTC).

projul_get_client Get a client

Get one active client by id (cus_…), with addresses, emails, phones, contacts and assigned people. Projul API: GET /v1/customers/{customer_id}.

ParameterTypeDescription
customer_id *stringThe client id, for example cus_…

projul_create_client Create a client

Create a client, or return the existing one when a client with the same two names and an email or phone already exists (no duplicates). Needs an idempotency_key you make for this request. Projul API: POST /v1/customers.

ParameterTypeDescription
idempotency_key *stringA unique key you make for this create (1–200 printable ASCII). Retrying with the same key and body returns the same record.
company_namestring
descriptionstring
emailsarrayEmail addresses. The first one is the primary email.
external_refstringYour own reference for this client.
first_namestring
last_namestring
phonesarrayPhone numbers. The first one is the primary phone.

projul_list_projects List projects and leads

List projects and leads (a lead is a project in a lead stage), newest first. Filter by status, stage, client, name or project number. Projul API: GET /v1/projects.

ParameterTypeDescription
afterstringCursor: pass next_cursor from the previous page to get the next one.
customer_idstringOnly projects of this client (cus_…).
external_refstring
limitintegerRows per page, 1 to 100 (default 25).
namestring
project_numberstring
sortstringSort order. Default: newest first.
stagestringLead, active or archived stage.
statusarrayOne or more project statuses.
updated_sincestringOnly rows updated at or after this RFC 3339 time (UTC).

projul_get_project Get a project

Get one project or lead by id (prj_…), including assigned people, dates, address and lead source. Projul API: GET /v1/projects/{project_id}.

ParameterTypeDescription
project_id *stringThe project id, for example prj_…

projul_list_estimates List estimates

List estimates, newest first. Rows leave sections null: call projul_get_estimate for the line items. Filter by status, project or client. Projul API: GET /v1/estimates.

ParameterTypeDescription
afterstringCursor: pass next_cursor from the previous page to get the next one.
customer_idstringOnly estimates of this client (cus_…).
external_refstring
include_sectionsbooleanInclude each version's sections in the list rows.
limitintegerRows per page, 1 to 100 (default 25).
project_idstringOnly estimates of this project (prj_…).
sortstringSort order. Default: newest first.
statusarrayOne or more estimate statuses.
updated_sincestringOnly rows updated at or after this RFC 3339 time (UTC).

projul_get_estimate Get an estimate

Get one estimate by id (est_…) with its full tree: every version (the head and each change order), sections, line items and totals. Projul API: GET /v1/estimates/{estimate_id}.

ParameterTypeDescription
estimate_id *stringThe estimate id, for example est_…

projul_list_tasks List tasks

List tasks and schedule items, newest first. Each row has its assignments (scheduled windows and people) and checklist steps. Filter by project, type, status, assignee or date window. Projul API: GET /v1/tasks.

ParameterTypeDescription
afterstringCursor: pass next_cursor from the previous page to get the next one.
assigneestringOnly tasks assigned to this person id.
external_refstring
limitintegerRows per page, 1 to 100 (default 25).
namestring
project_idstringOnly tasks of this project (prj_…).
scheduled_fromstringTasks scheduled at or after this RFC 3339 time.
scheduled_tostringTasks scheduled before this RFC 3339 time.
sortstringSort order. Default: newest first.
statusarrayOne or more task statuses.
task_typearrayOne or more task types.
updated_sincestringOnly rows updated at or after this RFC 3339 time (UTC).

projul_get_task Get a task

Get one task by id (tsk_…) with its assignments, steps and recurrence rule (the raw iCal string). Projul API: GET /v1/tasks/{task_id}.

ParameterTypeDescription
task_id *stringThe task id, for example tsk_…

projul_create_task Create a task

Create a task, deadline, meeting, time-off entry or repeating series. task_type is required. Schedule it with assignments (people or teams and a start and end time). Needs an idempotency_key you make for this request. Projul API: POST /v1/tasks.

ParameterTypeDescription
idempotency_key *stringA unique key you make for this create (1–200 printable ASCII). Retrying with the same key and body returns the same record.
task_type *stringThe task type. There is no default.
assignmentsarrayScheduled windows. A task with no assignments is valid and stays unscheduled.
descriptionstring
detailsstring
is_recurringboolean
namestring
notify_customerboolean
project_idstringThe project this task belongs to (prj_…).
recurring_rulestringRaw iCal string: DTSTART:…\r\nRRULE:FREQ=…
stepsarrayChecklist steps.

projul_complete_task Complete or reopen a task

Set a task's completion state. `completed` states the result you want, so repeating the call changes nothing. For a repeating task, pass recurrence_date to complete one occurrence. Projul API: POST /v1/tasks/{task_id}/complete.

ParameterTypeDescription
completed *booleantrue completes the task; false reopens it.
task_id *stringThe task id, for example tsk_…
recurrence_datestringThe occurrence date of a repeating task, as its recurrence reports it.

projul_list_people List people

List assignable people: active employees and subcontractors. Each id here can be assigned to a task. Filter by type, team or email. Projul API: GET /v1/users.

ParameterTypeDescription
afterstringCursor: pass next_cursor from the previous page to get the next one.
emailstring
limitintegerRows per page, 1 to 100 (default 25).
sortstringSort order. Default: newest first.
team_idstringOnly people in this team (from projul_list_teams).
typestring
updated_sincestringOnly rows updated at or after this RFC 3339 time (UTC).

projul_list_teams List teams

List teams (worker groups) with their member person ids. Projul API: GET /v1/teams.

ParameterTypeDescription
afterstringCursor: pass next_cursor from the previous page to get the next one.
limitintegerRows per page, 1 to 100 (default 25).
sortstringSort order. Default: newest first.
updated_sincestringOnly rows updated at or after this RFC 3339 time (UTC).

projul_list_invoices List invoices

List invoices, newest first, with totals, balance due and status. Filter by number, client, project, estimate, status or overdue. Projul API: GET /v1/invoices.

ParameterTypeDescription
afterstringCursor: pass next_cursor from the previous page to get the next one.
customer_idstring
estimate_idstring
external_refstring
is_overdueboolean
limitintegerRows per page, 1 to 100 (default 25).
numberstringFind by invoice number.
project_idstring
sortstringSort order. Default: newest first.
statusstring
updated_sincestringOnly rows updated at or after this RFC 3339 time (UTC).

projul_get_invoice Get an invoice

Get one invoice by id with its line items, discounts and payments so far. The customer share link is never returned. Projul API: GET /v1/invoices/{invoice_id}.

ParameterTypeDescription
invoice_id *stringThe invoice id.

projul_list_messages List messages

List messages (notes, calls, site visits) on one record. Give parent_type and parent_id together. Projul API: GET /v1/messages.

ParameterTypeDescription
afterstringCursor: pass next_cursor from the previous page to get the next one.
limitintegerRows per page, 1 to 100 (default 25).
parent_idstringThe record id, with its prefix (prj_, tsk_, cus_, est_).
parent_typestringThe kind of record: project, task, customer or estimate.
sortstringSort order. Default: newest first.
updated_sincestringOnly rows updated at or after this RFC 3339 time (UTC).

projul_add_message Add a message

Add a note to a project, task, client or estimate. The note is stored in Projul; it is not sent to the client. Needs an idempotency_key you make for this request. Projul API: POST /v1/messages.

ParameterTypeDescription
body *stringThe note text.
idempotency_key *stringA unique key you make for this create (1–200 printable ASCII). Retrying with the same key and body returns the same record.
parent_id *stringThe record id, with its prefix (prj_, tsk_, cus_, est_).
parent_type *stringThe kind of record the note is about.

projul_list_time_logs List time logs

List time logs (hours worked), newest first. Filter by person, project, task, date range, time type or approval. Projul API: GET /v1/time_logs.

ParameterTypeDescription
afterstringCursor: pass next_cursor from the previous page to get the next one.
approvedboolean
fromstringLogs that started at or after this RFC 3339 time.
limitintegerRows per page, 1 to 100 (default 25).
project_idstring
sortstringSort order. Default: newest first.
task_idstring
time_typearray
tostringLogs that started before this RFC 3339 time.
updated_sincestringOnly rows updated at or after this RFC 3339 time (UTC).
user_idstringOnly the time of this person id.