MOCO MCP by usefulapi

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

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

ParameterTypeDescription
emailstringFilter by exact email address.
include_archivedbooleanInclude archived users.
pageintegerPage number (default 1).
per_pageintegerEntries per page (1-100).
sort_bystringSort field and optional direction, e.g. 'name desc'.
updated_afterstringOnly 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}.

ParameterTypeDescription
user_id *integerMOCO 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.

ParameterTypeDescription
identifierstringFilter by company identifier (customer number).
include_archivedbooleanInclude archived companies.
pageintegerPage number (default 1).
per_pageintegerEntries per page (1-100).
termstringFree-text search term.
typestringCompany type filter.

moco_get_company Get a company

Return one company by id, including its address and default settings. MOCO API: GET /companies/{id}.

ParameterTypeDescription
company_id *integerMOCO numeric id.

moco_list_contacts List contacts

List contact persons (people linked to companies) with pagination. MOCO API: GET /contacts/people.

ParameterTypeDescription
pageintegerPage number (default 1).
per_pageintegerEntries per page (1-100).
termstringFree-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.

ParameterTypeDescription
company_idstringMOCO id, or several ids separated by commas.
identifierstringFilter by project identifier.
include_archivedbooleanInclude archived projects.
include_companybooleanInclude the nested company object.
leader_idstringMOCO id, or several ids separated by commas.
pageintegerPage number (default 1).
per_pageintegerEntries per page (1-100).
sort_bystringSort field and optional direction, e.g. 'name desc'.
termstringFree-text search term.
updated_afterstringOnly 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}.

ParameterTypeDescription
project_id *integerMOCO numeric id.
include_companybooleanInclude 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.

ParameterTypeDescription
project_id *integerMOCO 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.

ParameterTypeDescription
project_id *integerMOCO numeric id.
pageintegerPage number (default 1).
per_pageintegerEntries per page (1-100).
updated_afterstringOnly 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.

ParameterTypeDescription
project_id *integerMOCO numeric id.
billablebooleanOnly billable (true) or non-billable (false) expenses.
billedbooleanOnly already billed (true) or not yet billed (false) expenses.
pageintegerPage number (default 1).
per_pageintegerEntries per page (1-100).
updated_afterstringOnly records updated after this ISO timestamp.
user_idintegerOnly 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.

ParameterTypeDescription
billablebooleanOnly billable (true) or non-billable (false) entries.
billedbooleanOnly already billed (true) or not yet billed (false) entries.
company_idintegerOnly entries of this company id.
fromstringEarliest date, YYYY-MM-DD.
pageintegerPage number (default 1).
per_pageintegerEntries per page (1-100).
project_idintegerOnly entries of this project id.
sort_bystringSort field and optional direction, e.g. 'name desc'.
task_idintegerOnly entries of this task id.
termstringFree-text search term.
tostringLatest date, YYYY-MM-DD.
updated_afterstringOnly records updated after this ISO timestamp.
user_idintegerOnly 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}.

ParameterTypeDescription
activity_id *integerMOCO 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.

ParameterTypeDescription
from *stringReport start date, YYYY-MM-DD.
to *stringReport 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.

ParameterTypeDescription
from *stringReport start date, YYYY-MM-DD.
to *stringReport end date, YYYY-MM-DD.
pageintegerPage number (default 1).
per_pageintegerEntries per page (1-100).
project_idintegerOnly this project id.
user_idsstringMOCO 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.

ParameterTypeDescription
company_idstringMOCO id, or several ids separated by commas.
deal_idstringMOCO id, or several ids separated by commas.
fromstringEarliest offer date, YYYY-MM-DD.
identifierstringFilter by offer identifier.
pageintegerPage number (default 1).
per_pageintegerEntries per page (1-100).
project_idstringMOCO id, or several ids separated by commas.
sort_bystringSort field and optional direction, e.g. 'name desc'.
statusstringOffer status filter.
tostringLatest offer date, YYYY-MM-DD.
updated_afterstringOnly 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.

ParameterTypeDescription
closed_fromstringEarliest closing date, YYYY-MM-DD.
closed_tostringLatest closing date, YYYY-MM-DD.
company_idintegerOnly deals of this company id.
pageintegerPage number (default 1).
per_pageintegerEntries per page (1-100).
person_idintegerOnly deals of this contact person id.
statusstringDeal status filter.
updated_afterstringOnly 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.

ParameterTypeDescription
company_idstringMOCO id, or several ids separated by commas.
date_fromstringEarliest invoice date, YYYY-MM-DD.
date_tostringLatest invoice date, YYYY-MM-DD.
identifierstringFilter by invoice identifier (number).
include_disregardedbooleanInclude disregarded invoices (hidden by default).
pageintegerPage number (default 1).
per_pageintegerEntries per page (1-100).
project_idstringMOCO id, or several ids separated by commas.
sort_bystringSort field and optional direction, e.g. 'name desc'.
statusstringComma-separated statuses: draft, created, sent, partially_paid, paid, overdue, ignored, disregarded. e.g. 'sent,overdue'.
termstringFree-text search term.
updated_afterstringOnly 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}.

ParameterTypeDescription
invoice_id *integerMOCO 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.

ParameterTypeDescription
date_fromstringEarliest payment date, YYYY-MM-DD.
date_tostringLatest payment date, YYYY-MM-DD.
invoice_idstringMOCO id, or several ids separated by commas.
pageintegerPage number (default 1).
per_pageintegerEntries per page (1-100).
updated_afterstringOnly 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.

ParameterTypeDescription
company_idintegerSupplier company id. Use 0 for purchases without a supplier.
date_fromstringEarliest purchase date, YYYY-MM-DD.
date_tostringLatest purchase date, YYYY-MM-DD.
identifierstringFilter by purchase identifier.
pageintegerPage number (default 1).
per_pageintegerEntries per page (1-100).
statusstringPurchase status filter.
termstringFree-text search term.
updated_afterstringOnly records updated after this ISO timestamp.
user_idintegerOnly purchases of this user id.