Capsule CRM MCP by usefulapi

v1.2.1
io.usefulapi/capsule-crm Checked 2 days ago Published 1 day ago

Search parties, read deals and tasks; create parties, deals, tasks and notes in Capsule CRM.

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

capsule_get_current_user Get the current user

Show the Capsule user the API token belongs to (name, email, team). Good first call to check the connection. Capsule API: GET /users/current.

capsule_list_users List users

List the users on the Capsule account (owners of parties, opportunities and tasks). Capsule API: GET /users.

ParameterTypeDescription
pageintegerPage of results (default 1).
perPageintegerResults per page, 1 to 100 (default 50).

capsule_list_parties List parties

List parties: people and organisations (contacts and companies) on the account. Use `since` to fetch only recent changes. Capsule API: GET /parties.

ParameterTypeDescription
pageintegerPage of results (default 1).
perPageintegerResults per page, 1 to 100 (default 50).
sincestringOnly records changed after this ISO 8601 date-time.

capsule_search_parties Search parties

Search people and organisations by a name, email, phone number or postcode, as the global Capsule search does. Capsule API: GET /parties/search.

ParameterTypeDescription
q *stringThe text to search for.
pageintegerPage of results (default 1).
perPageintegerResults per page, 1 to 100 (default 50).

capsule_get_party Get a party

Show one party (person or organisation) by id, with its contact details, owner and tags. Capsule API: GET /parties/{partyId}.

ParameterTypeDescription
partyId *integerThe party id (from capsule_list_parties or capsule_search_parties).

capsule_list_party_notes List notes for a party

List notes, emails and completed tasks recorded against one party, newest first. Capsule API: GET /parties/{partyId}/entries.

ParameterTypeDescription
partyId *integerThe party id.
pageintegerPage of results (default 1).
perPageintegerResults per page, 1 to 50 (default 50).

capsule_list_opportunities List opportunities

List sales opportunities (deals) with their value, expected close date, probability and milestone. Capsule API: GET /opportunities.

ParameterTypeDescription
pageintegerPage of results (default 1).
perPageintegerResults per page, 1 to 100 (default 50).
sincestringOnly records changed after this ISO 8601 date-time.

capsule_search_opportunities Search opportunities

Search opportunities by name or other text, as the global Capsule search does. Capsule API: GET /opportunities/search.

ParameterTypeDescription
q *stringThe text to search for.
pageintegerPage of results (default 1).
perPageintegerResults per page, 1 to 100 (default 50).

capsule_get_opportunity Get an opportunity

Show one opportunity by id, with its party, milestone, value and owner. Capsule API: GET /opportunities/{opportunityId}.

ParameterTypeDescription
opportunityId *integerThe opportunity id.

capsule_list_pipelines List pipelines

List the sales pipelines defined on the account. Capsule API: GET /pipelines.

capsule_list_milestones List milestones of a pipeline

List the stages (milestones) of one pipeline, in order. Capsule API: GET /pipelines/{pipelineId}/milestones.

ParameterTypeDescription
pipelineId *integerThe pipeline id (from capsule_list_pipelines).

capsule_list_projects List projects

List projects (called kases in the API) on the account. Capsule API: GET /kases.

ParameterTypeDescription
pageintegerPage of results (default 1).
perPageintegerResults per page, 1 to 100 (default 50).

capsule_list_tasks List tasks

List tasks. By default only open tasks are returned; pass `status` to include completed or pending ones. Capsule API: GET /tasks.

ParameterTypeDescription
pageintegerPage of results (default 1).
perPageintegerResults per page, 1 to 100 (default 50).
statusarrayTask states to include. Default: open only.

capsule_create_party Create a party

Create a person or an organisation. For a person, give firstName and lastName; for an organisation, give name. Capsule API: POST /parties.

ParameterTypeDescription
type *stringWhether the new party is a person or an organisation.
aboutstringFree-text description.
emailstringWork email address.
firstNamestringFirst name (person).
jobTitlestringJob title (person).
lastNamestringLast name (person).
namestringOrganisation name (organisation).
organisationIdintegerId of the organisation a new person belongs to.
phonestringPhone number.

capsule_create_opportunity Create an opportunity

Create a sales opportunity for an existing party. Give a currency with an amount. Capsule API: POST /opportunities.

ParameterTypeDescription
name *stringOpportunity name.
partyId *integerId of the party (customer) the opportunity belongs to.
amountnumberValue of the opportunity.
currencystringISO currency code, e.g. USD.
descriptionstringFree-text description.
expectedCloseOnstringExpected close date, yyyy-mm-dd.
milestoneIdintegerId of the pipeline stage (from capsule_list_milestones).
probabilityintegerChance of winning, 0 to 100 percent.

capsule_create_task Create a task

Create an open task with a due date on a party, an opportunity or a project. Give at least one of partyId, opportunityId or projectId. Capsule API: POST /tasks.

ParameterTypeDescription
description *stringShort task title, e.g. 'Send quarterly invoice'.
detailstringLonger task notes.
dueOnstringDue date, yyyy-mm-dd.
dueTimestringDue time, hh:mm or hh:mm:ss.
opportunityIdintegerOpportunity the task is about.
partyIdintegerParty the task is about.
projectIdintegerProject the task is about.

capsule_add_party_note Add a note to a party

Add a plain-text note to a party's timeline. Notes are only created, never edited or deleted here. Capsule API: POST /entries.

ParameterTypeDescription
content *stringNote text. Line breaks are kept.
partyId *integerThe party the note belongs to.