Bonsai MCP by usefulapi
v1.2.1Read clients, projects, tasks and invoices; create records and update tasks in Bonsai.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
bonsai_list_companies List companies
List client companies, optionally filtered by name. Bonsai API: GET /public-api/v1/companies.
| Parameter | Type | Description |
|---|---|---|
name | string | Matches company names from the start of any word. |
page | integer | Page to return, starting at 1. |
page_size | integer | Records per page, 1-100 (default 25). |
bonsai_get_company Get a company
Get one company by id. Bonsai API: GET /public-api/v1/companies/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Numeric id. |
bonsai_list_contacts List contacts
List contacts, optionally filtered by name, email or company. Bonsai API: GET /public-api/v1/contacts.
| Parameter | Type | Description |
|---|---|---|
company_id | string | One or more company ids, comma-separated. |
email | string | Matches email addresses anywhere, ignoring case. |
name | string | Matches contact names anywhere, ignoring case. |
page | integer | Page to return, starting at 1. |
page_size | integer | Records per page, 1-100 (default 25). |
bonsai_get_contact Get a contact
Get one contact by id. Bonsai API: GET /public-api/v1/contacts/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Numeric id. |
bonsai_list_deals List deals
List sales deals, optionally filtered by title, assignee (use 'me' for the key's member) or pipeline stage. Bonsai API: GET /public-api/v1/deals.
| Parameter | Type | Description |
|---|---|---|
assignee_member_id | string | Team member ids, comma-separated, or 'me'. |
board_group_id | string | One or more pipeline stage ids, comma-separated. |
page | integer | Page to return, starting at 1. |
page_size | integer | Records per page, 1-100 (default 25). |
title | string | Matches deal titles from the start of any word. |
bonsai_list_projects List projects
List projects. Defaults to active projects. Bonsai API: GET /public-api/v1/projects.
| Parameter | Type | Description |
|---|---|---|
board_group_id | string | One or more pipeline stage ids, comma-separated. |
page | integer | Page to return, starting at 1. |
page_size | integer | Records per page, 1-100 (default 25). |
status | string | Which projects to include (default active). |
title | string | Matches project titles from the start of any word. |
bonsai_list_tasks List tasks
List tasks. Defaults to active tasks. Use 'me' for assignee_id to get the key's own tasks. Bonsai API: GET /public-api/v1/tasks.
| Parameter | Type | Description |
|---|---|---|
assignee_id | string | User ids, comma-separated, or 'me'. |
billable | string | Only billable (true) or only non-billable (false) tasks. |
due | string | Named due window. Do not combine with due_from or due_to. |
due_from | string | Date as YYYY-MM-DD. |
due_to | string | Date as YYYY-MM-DD. |
page | integer | Page to return, starting at 1. |
page_size | integer | Records per page, 1-100 (default 25). |
priority | string | One or more priorities, comma-separated: urgent, high, medium, low. |
project_id | string | One or more project ids, comma-separated. |
scope | string | Which tasks to include (default active). |
task_status_id | string | One or more task status ids, comma-separated. |
title | string | Matches task titles, ignoring case. |
bonsai_get_task Get a task
Get one task by uuid. Bonsai API: GET /public-api/v1/tasks/{uuid}.
| Parameter | Type | Description |
|---|---|---|
uuid * | string | The record's uuid. |
bonsai_list_task_comments List task comments
List comments on a task. Default is written comments only; 'events' returns system entries. Bonsai API: GET /public-api/v1/tasks/{task_id}/comments.
| Parameter | Type | Description |
|---|---|---|
task_uuid * | string | The record's uuid. |
kind | string | Which entries to return (default user_created). |
page | integer | Page to return, starting at 1. |
page_size | integer | Records per page, 1-100 (default 25). |
bonsai_list_time_entries List time entries
List logged time entries by date range, member, project or client. Bonsai API: GET /public-api/v1/time_entries.
| Parameter | Type | Description |
|---|---|---|
billing_status | string | One or more of: billed, unbilled, non_billable (comma-separated). Needs billing permission. |
company_id | string | One or more client company ids, comma-separated. |
date_from | string | Date as YYYY-MM-DD. |
date_to | string | Date as YYYY-MM-DD. |
owner_member_id | string | Team member ids, comma-separated, or 'me'. |
page | integer | Page to return, starting at 1. |
page_size | integer | Records per page, 1-100 (default 25). |
project_id | string | One or more project ids, comma-separated. |
bonsai_list_invoices List invoices
List invoices by number, project, client company or contact. Bonsai API: GET /public-api/v1/invoices.
| Parameter | Type | Description |
|---|---|---|
company_id | string | One or more client company ids, comma-separated. |
contact_id | string | One or more contact ids, comma-separated. |
invoice_number | string | Exact invoice number(s), comma-separated. |
page | integer | Page to return, starting at 1. |
page_size | integer | Records per page, 1-100 (default 25). |
project_id | string | One or more project ids, comma-separated. |
bonsai_list_notes List notes
List notes, optionally attached to one record (give both record_type and record_id). Bonsai API: GET /public-api/v1/notes.
| Parameter | Type | Description |
|---|---|---|
created_by_member_id | string | Team member ids, comma-separated, or 'me'. |
date_from | string | Date as YYYY-MM-DD. |
date_to | string | Date as YYYY-MM-DD. |
page | integer | Page to return, starting at 1. |
page_size | integer | Records per page, 1-100 (default 25). |
record_id | string | Id of the record named by record_type. |
record_type | string | Kind of record. Needs record_id. |
bonsai_list_docs List documents
List quotes, proposals, agreements and other documents, filtered by status or linked record. Bonsai API: GET /public-api/v1/docs.
| Parameter | Type | Description |
|---|---|---|
archived | string | Only archived (true) or only active (false) documents. |
company_id | string | One or more client company ids, comma-separated. |
contact_id | string | One or more contact ids, comma-separated. |
deal_id | string | One or more deal ids, comma-separated. |
page | integer | Page to return, starting at 1. |
page_size | integer | Records per page, 1-100 (default 25). |
project_id | string | One or more project ids, comma-separated. |
status | string | One or more statuses, comma-separated: draft, sent, completed, expired, awaiting_payment. |
bonsai_get_doc Get a document
Get one document by id. Bonsai API: GET /public-api/v1/docs/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Numeric id. |
bonsai_list_team_members List team members
List team members, optionally filtered by name, user or project. Bonsai API: GET /public-api/v1/team_members.
| Parameter | Type | Description |
|---|---|---|
name | string | Matches member names, ignoring case. |
page | integer | Page to return, starting at 1. |
page_size | integer | Records per page, 1-100 (default 25). |
project_id | string | One or more project ids, comma-separated. |
user_id | string | One or more user ids, comma-separated. |
bonsai_list_task_statuses List task statuses
List the task statuses (board columns) you can set on a task. Bonsai API: GET /public-api/v1/task_statuses.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page to return, starting at 1. |
page_size | integer | Records per page, 1-100 (default 25). |
bonsai_list_time_off List time off
List time off by date range or team member. Bonsai API: GET /public-api/v1/time_off.
| Parameter | Type | Description |
|---|---|---|
date_from | string | Time off that ends on or after this day. |
date_to | string | Time off that starts on or before this day. |
page | integer | Page to return, starting at 1. |
page_size | integer | Records per page, 1-100 (default 25). |
team_member_id | string | Team member ids, comma-separated, or 'me'. |
time_off_category_id | string | One or more time off category ids, comma-separated. |
bonsai_list_tax_rates List tax rates
List the tax rates configured in the account. Bonsai API: GET /public-api/v1/tax_rates.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page to return, starting at 1. |
page_size | integer | Records per page, 1-100 (default 25). |
bonsai_create_company Create a company
Create a client company. Bonsai API: POST /public-api/v1/companies.
| Parameter | Type | Description |
|---|---|---|
name * | string | Company name. |
description | string | null | Free-text description. |
bonsai_create_contact Create a contact
Create a contact, optionally linked to a company. Bonsai API: POST /public-api/v1/contacts.
| Parameter | Type | Description |
|---|---|---|
email * | string | Email address. |
name * | string | Full name. |
company_id | Client company id, if the contact belongs to one. | |
job_title | string | null | |
phone_number | string | null |
bonsai_create_task Create a task
Create a task. It can sit on a project, a deal, both or neither. Bonsai API: POST /public-api/v1/tasks.
| Parameter | Type | Description |
|---|---|---|
title * | string | Task title. |
assignee_member_id | Team member id, or 'me'; null leaves it unassigned. | |
billable | boolean | |
deal_id | ||
description | string | null | |
due_date | ||
priority | ||
project_id | ||
start_date | ||
task_status_id | string | null | Task status id from bonsai_list_task_statuses. |
time_estimate_in_minutes |
bonsai_update_task Update a task
Change fields on a task. Only the fields you pass change. Bonsai API: PATCH /public-api/v1/tasks/{uuid}.
| Parameter | Type | Description |
|---|---|---|
uuid * | string | The record's uuid. |
assignee_member_id | Assign to this member, or 'me'; null unassigns. | |
billable | boolean | |
deal_id | Move to this deal; null takes it off. | |
description | string | null | HTML fragment; null clears it. |
due_date | null clears the due date. | |
priority | string | Cannot be cleared once set. |
project_id | Move to this project; null detaches it. | |
start_date | null clears the start date. | |
tag_ids | array | Tags on the task, replacing the current ones. An empty array removes them all. |
task_status_id | string | |
time_estimate_in_minutes | null clears it. | |
title | string |
bonsai_create_task_comment Comment on a task
Add a written comment to a task. Bonsai API: POST /public-api/v1/tasks/{task_id}/comments.
| Parameter | Type | Description |
|---|---|---|
body * | string | Comment text. |
task_uuid * | string | The record's uuid. |
bonsai_log_time Log time
Log a time entry for a date, optionally on a project or task. Bonsai API: POST /public-api/v1/time_entries.
| Parameter | Type | Description |
|---|---|---|
date * | string | Date as YYYY-MM-DD. |
seconds * | integer | Duration in seconds. |
non_billable | boolean | null | |
notes | string | null | |
owner_member_id | Team member id, or 'me'; defaults to the key's member. | |
project_id | ||
task_uuid |
bonsai_create_note Create a note
Create a note, optionally attached to a company, project, contact or deal. Bonsai API: POST /public-api/v1/notes.
| Parameter | Type | Description |
|---|---|---|
content * | string | Note text. |
date | ||
record_id | Id of the record named by record_type; send with record_type. | |
record_type | Kind of record to attach to; send with record_id. | |
title | string | null | |
visibility |