MOCO MCP by usefulapi
v1.2.1Read time entries, projects, invoices, offers and utilization reports in MOCO.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
moco_get_profile Get my profile
Return the profile of the user who owns the API key (id, full name, email, active flag, unit). Good first call to confirm the connection. MOCO API: GET /profile.
moco_list_users List users
List the users (team members) of the MOCO account, with pagination. Use to find user ids for time and planning filters. MOCO API: GET /users.
| Parameter | Type | Description |
|---|---|---|
email | string | Filter by exact email address. |
include_archived | boolean | Include archived users. |
page | integer | Page number (default 1). |
per_page | integer | Entries per page (1-100). |
sort_by | string | Sort field and optional direction, e.g. 'name desc'. |
updated_after | string | Only records updated after this ISO timestamp. |
moco_get_user Get a user
Return one user by id (name, email, roles, employment flags). MOCO API: GET /users/{id}.
| Parameter | Type | Description |
|---|---|---|
user_id * | integer | MOCO numeric id. |
moco_list_companies List companies
List companies (customers, suppliers, organizations) with pagination. Use to find company ids for project and invoice filters. MOCO API: GET /companies.
| Parameter | Type | Description |
|---|---|---|
identifier | string | Filter by company identifier (customer number). |
include_archived | boolean | Include archived companies. |
page | integer | Page number (default 1). |
per_page | integer | Entries per page (1-100). |
term | string | Free-text search term. |
type | string | Company type filter. |
moco_get_company Get a company
Return one company by id, including its address and default settings. MOCO API: GET /companies/{id}.
| Parameter | Type | Description |
|---|---|---|
company_id * | integer | MOCO numeric id. |
moco_list_contacts List contacts
List contact persons (people linked to companies) with pagination. MOCO API: GET /contacts/people.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number (default 1). |
per_page | integer | Entries per page (1-100). |
term | string | Free-text search term. |
moco_list_projects List projects
List projects with pagination: name, customer, leader, budget and billing settings. Filter by company, leader, term or identifier. MOCO API: GET /projects.
| Parameter | Type | Description |
|---|---|---|
company_id | string | MOCO id, or several ids separated by commas. |
identifier | string | Filter by project identifier. |
include_archived | boolean | Include archived projects. |
include_company | boolean | Include the nested company object. |
leader_id | string | MOCO id, or several ids separated by commas. |
page | integer | Page number (default 1). |
per_page | integer | Entries per page (1-100). |
sort_by | string | Sort field and optional direction, e.g. 'name desc'. |
term | string | Free-text search term. |
updated_after | string | Only records updated after this ISO timestamp. |
moco_get_project Get a project
Return one project by id, including its budget, billing and team settings. MOCO API: GET /projects/{id}.
| Parameter | Type | Description |
|---|---|---|
project_id * | integer | MOCO numeric id. |
include_company | boolean | Include the nested company object. |
moco_get_project_report Get a project report
Return the key business figures of one project: budget totals and progress, tracked and billed amounts, and cost breakdowns. MOCO API: GET /projects/{id}/report.
| Parameter | Type | Description |
|---|---|---|
project_id * | integer | MOCO numeric id. |
moco_list_project_tasks List project tasks
List the tasks (work types) of one project, with pagination. MOCO API: GET /projects/{project_id}/tasks.
| Parameter | Type | Description |
|---|---|---|
project_id * | integer | MOCO numeric id. |
page | integer | Page number (default 1). |
per_page | integer | Entries per page (1-100). |
updated_after | string | Only records updated after this ISO timestamp. |
moco_list_project_expenses List project expenses
List the expenses booked on one project (amount, date, billable and billed flags), with pagination. MOCO API: GET /projects/{project_id}/expenses.
| Parameter | Type | Description |
|---|---|---|
project_id * | integer | MOCO numeric id. |
billable | boolean | Only billable (true) or non-billable (false) expenses. |
billed | boolean | Only already billed (true) or not yet billed (false) expenses. |
page | integer | Page number (default 1). |
per_page | integer | Entries per page (1-100). |
updated_after | string | Only records updated after this ISO timestamp. |
user_id | integer | Only expenses of this user id. |
moco_list_activities List activities
List tracked time entries (activities) with pagination. Filter by date range, user, project, company, task, billable or billed flag. MOCO API: GET /activities.
| Parameter | Type | Description |
|---|---|---|
billable | boolean | Only billable (true) or non-billable (false) entries. |
billed | boolean | Only already billed (true) or not yet billed (false) entries. |
company_id | integer | Only entries of this company id. |
from | string | Earliest date, YYYY-MM-DD. |
page | integer | Page number (default 1). |
per_page | integer | Entries per page (1-100). |
project_id | integer | Only entries of this project id. |
sort_by | string | Sort field and optional direction, e.g. 'name desc'. |
task_id | integer | Only entries of this task id. |
term | string | Free-text search term. |
to | string | Latest date, YYYY-MM-DD. |
updated_after | string | Only records updated after this ISO timestamp. |
user_id | integer | Only entries of this user id. |
moco_get_activity Get an activity
Return one tracked time entry by id (date, hours, user, project, task, billable and billed flags). MOCO API: GET /activities/{id}.
| Parameter | Type | Description |
|---|---|---|
activity_id * | integer | MOCO numeric id. |
moco_get_utilization_report Get utilization report
Return the utilization report for a date range: per user and day, target hours, billable and unbillable hours and seconds (not paged). MOCO API: GET /report/utilization.
| Parameter | Type | Description |
|---|---|---|
from * | string | Report start date, YYYY-MM-DD. |
to * | string | Report end date, YYYY-MM-DD. |
moco_get_planned_vs_tracked_report Get planned vs tracked report
Return planned hours against tracked hours per user and project for a date range, with pagination. MOCO API: GET /report/planned_vs_tracked.
| Parameter | Type | Description |
|---|---|---|
from * | string | Report start date, YYYY-MM-DD. |
to * | string | Report end date, YYYY-MM-DD. |
page | integer | Page number (default 1). |
per_page | integer | Entries per page (1-100). |
project_id | integer | Only this project id. |
user_ids | string | MOCO id, or several ids separated by commas. |
moco_list_offers List offers
List offers (quotes) with pagination. Filter by status, date range, company, project or deal. MOCO API: GET /offers.
| Parameter | Type | Description |
|---|---|---|
company_id | string | MOCO id, or several ids separated by commas. |
deal_id | string | MOCO id, or several ids separated by commas. |
from | string | Earliest offer date, YYYY-MM-DD. |
identifier | string | Filter by offer identifier. |
page | integer | Page number (default 1). |
per_page | integer | Entries per page (1-100). |
project_id | string | MOCO id, or several ids separated by commas. |
sort_by | string | Sort field and optional direction, e.g. 'name desc'. |
status | string | Offer status filter. |
to | string | Latest offer date, YYYY-MM-DD. |
updated_after | string | Only records updated after this ISO timestamp. |
moco_list_deals List deals
List sales deals (leads and opportunities) with pagination. Filter by status, company, contact person or closing date. MOCO API: GET /deals.
| Parameter | Type | Description |
|---|---|---|
closed_from | string | Earliest closing date, YYYY-MM-DD. |
closed_to | string | Latest closing date, YYYY-MM-DD. |
company_id | integer | Only deals of this company id. |
page | integer | Page number (default 1). |
per_page | integer | Entries per page (1-100). |
person_id | integer | Only deals of this contact person id. |
status | string | Deal status filter. |
updated_after | string | Only records updated after this ISO timestamp. |
moco_list_invoices List invoices
List invoices with pagination: number, date, status, amounts and customer. Filter by status, date range, company or project. MOCO API: GET /invoices.
| Parameter | Type | Description |
|---|---|---|
company_id | string | MOCO id, or several ids separated by commas. |
date_from | string | Earliest invoice date, YYYY-MM-DD. |
date_to | string | Latest invoice date, YYYY-MM-DD. |
identifier | string | Filter by invoice identifier (number). |
include_disregarded | boolean | Include disregarded invoices (hidden by default). |
page | integer | Page number (default 1). |
per_page | integer | Entries per page (1-100). |
project_id | string | MOCO id, or several ids separated by commas. |
sort_by | string | Sort field and optional direction, e.g. 'name desc'. |
status | string | Comma-separated statuses: draft, created, sent, partially_paid, paid, overdue, ignored, disregarded. e.g. 'sent,overdue'. |
term | string | Free-text search term. |
updated_after | string | Only records updated after this ISO timestamp. |
moco_get_invoice Get an invoice
Return one invoice by id: line items, totals, status, customer and dates. MOCO API: GET /invoices/{id}.
| Parameter | Type | Description |
|---|---|---|
invoice_id * | integer | MOCO numeric id. |
moco_list_invoice_payments List invoice payments
List payments received against invoices, with pagination. Filter by invoice or payment date range. MOCO API: GET /invoices/payments.
| Parameter | Type | Description |
|---|---|---|
date_from | string | Earliest payment date, YYYY-MM-DD. |
date_to | string | Latest payment date, YYYY-MM-DD. |
invoice_id | string | MOCO id, or several ids separated by commas. |
page | integer | Page number (default 1). |
per_page | integer | Entries per page (1-100). |
updated_after | string | Only records updated after this ISO timestamp. |
moco_list_purchases List purchases
List purchase invoices (supplier bills) with pagination. Filter by status, supplier, user, date range or term. MOCO API: GET /purchases.
| Parameter | Type | Description |
|---|---|---|
company_id | integer | Supplier company id. Use 0 for purchases without a supplier. |
date_from | string | Earliest purchase date, YYYY-MM-DD. |
date_to | string | Latest purchase date, YYYY-MM-DD. |
identifier | string | Filter by purchase identifier. |
page | integer | Page number (default 1). |
per_page | integer | Entries per page (1-100). |
status | string | Purchase status filter. |
term | string | Free-text search term. |
updated_after | string | Only records updated after this ISO timestamp. |
user_id | integer | Only purchases of this user id. |