Capsule CRM MCP by usefulapi
Search parties, read deals and tasks; create parties, deals, tasks and notes in Capsule CRM.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"capsule-crm": {
"url": "https://capsule-crm.usefulapi.io/mcp"
}
}
}Puntos de conexión remotos
https://capsule-crm.usefulapi.io/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (17)
🟢capsule_get_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.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢capsule_list_users(page, perPage)
List the users on the Capsule account (owners of parties, opportunities and tasks). Capsule API: GET /users.
Esquema de entrada
{
"type": "object",
"properties": {
"page": {
"description": "Page of results (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"perPage": {
"description": "Results per page, 1 to 100 (default 50).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢capsule_list_parties(since, page, perPage)
List parties: people and organisations (contacts and companies) on the account. Use `since` to fetch only recent changes. Capsule API: GET /parties.
Esquema de entrada
{
"type": "object",
"properties": {
"since": {
"description": "Only records changed after this ISO 8601 date-time.",
"type": "string"
},
"page": {
"description": "Page of results (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"perPage": {
"description": "Results per page, 1 to 100 (default 50).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢capsule_search_parties(q, page, perPage)
Search people and organisations by a name, email, phone number or postcode, as the global Capsule search does. Capsule API: GET /parties/search.
Esquema de entrada
{
"type": "object",
"properties": {
"q": {
"type": "string",
"minLength": 1,
"description": "The text to search for."
},
"page": {
"description": "Page of results (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"perPage": {
"description": "Results per page, 1 to 100 (default 50).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"q"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢capsule_get_party(partyId)
Show one party (person or organisation) by id, with its contact details, owner and tags. Capsule API: GET /parties/{partyId}.
Esquema de entrada
{
"type": "object",
"properties": {
"partyId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The party id (from capsule_list_parties or capsule_search_parties)."
}
},
"required": [
"partyId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢capsule_list_party_notes(partyId, page, perPage)
List notes, emails and completed tasks recorded against one party, newest first. Capsule API: GET /parties/{partyId}/entries.
Esquema de entrada
{
"type": "object",
"properties": {
"partyId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The party id."
},
"page": {
"description": "Page of results (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"perPage": {
"description": "Results per page, 1 to 50 (default 50).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 50
}
},
"required": [
"partyId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢capsule_list_opportunities(since, page, perPage)
List sales opportunities (deals) with their value, expected close date, probability and milestone. Capsule API: GET /opportunities.
Esquema de entrada
{
"type": "object",
"properties": {
"since": {
"description": "Only records changed after this ISO 8601 date-time.",
"type": "string"
},
"page": {
"description": "Page of results (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"perPage": {
"description": "Results per page, 1 to 100 (default 50).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢capsule_search_opportunities(q, page, perPage)
Search opportunities by name or other text, as the global Capsule search does. Capsule API: GET /opportunities/search.
Esquema de entrada
{
"type": "object",
"properties": {
"q": {
"type": "string",
"minLength": 1,
"description": "The text to search for."
},
"page": {
"description": "Page of results (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"perPage": {
"description": "Results per page, 1 to 100 (default 50).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"q"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢capsule_get_opportunity(opportunityId)
Show one opportunity by id, with its party, milestone, value and owner. Capsule API: GET /opportunities/{opportunityId}.
Esquema de entrada
{
"type": "object",
"properties": {
"opportunityId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The opportunity id."
}
},
"required": [
"opportunityId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢capsule_list_pipelines
List the sales pipelines defined on the account. Capsule API: GET /pipelines.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢capsule_list_milestones(pipelineId)
List the stages (milestones) of one pipeline, in order. Capsule API: GET /pipelines/{pipelineId}/milestones.
Esquema de entrada
{
"type": "object",
"properties": {
"pipelineId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The pipeline id (from capsule_list_pipelines)."
}
},
"required": [
"pipelineId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢capsule_list_projects(page, perPage)
List projects (called kases in the API) on the account. Capsule API: GET /kases.
Esquema de entrada
{
"type": "object",
"properties": {
"page": {
"description": "Page of results (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"perPage": {
"description": "Results per page, 1 to 100 (default 50).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢capsule_list_tasks(status, page, perPage)
List tasks. By default only open tasks are returned; pass `status` to include completed or pending ones. Capsule API: GET /tasks.
Esquema de entrada
{
"type": "object",
"properties": {
"status": {
"description": "Task states to include. Default: open only.",
"type": "array",
"items": {
"type": "string",
"enum": [
"open",
"completed",
"pending"
]
}
},
"page": {
"description": "Page of results (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"perPage": {
"description": "Results per page, 1 to 100 (default 50).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴capsule_create_party(type, firstName, lastName, name, jobTitle, ...)
Create a person or an organisation. For a person, give firstName and lastName; for an organisation, give name. Capsule API: POST /parties.
Esquema de entrada
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"person",
"organisation"
],
"description": "Whether the new party is a person or an organisation."
},
"firstName": {
"description": "First name (person).",
"type": "string"
},
"lastName": {
"description": "Last name (person).",
"type": "string"
},
"name": {
"description": "Organisation name (organisation).",
"type": "string"
},
"jobTitle": {
"description": "Job title (person).",
"type": "string"
},
"email": {
"description": "Work email address.",
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
},
"phone": {
"description": "Phone number.",
"type": "string"
},
"organisationId": {
"description": "Id of the organisation a new person belongs to.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"about": {
"description": "Free-text description.",
"type": "string"
}
},
"required": [
"type"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴capsule_create_opportunity(name, partyId, description, amount, currency, ...)
Create a sales opportunity for an existing party. Give a currency with an amount. Capsule API: POST /opportunities.
Esquema de entrada
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Opportunity name."
},
"partyId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Id of the party (customer) the opportunity belongs to."
},
"description": {
"description": "Free-text description.",
"type": "string"
},
"amount": {
"description": "Value of the opportunity.",
"type": "number",
"minimum": 0
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "ISO currency code, e.g. USD."
},
"expectedCloseOn": {
"description": "Expected close date, yyyy-mm-dd.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"probability": {
"description": "Chance of winning, 0 to 100 percent.",
"type": "integer",
"minimum": 0,
"maximum": 100
},
"milestoneId": {
"description": "Id of the pipeline stage (from capsule_list_milestones).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"name",
"partyId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴capsule_create_task(description, detail, dueOn, dueTime, partyId, ...)
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.
Esquema de entrada
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"description": "Short task title, e.g. 'Send quarterly invoice'."
},
"detail": {
"description": "Longer task notes.",
"type": "string"
},
"dueOn": {
"description": "Due date, yyyy-mm-dd.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"dueTime": {
"description": "Due time, hh:mm or hh:mm:ss.",
"type": "string",
"pattern": "^\\d{2}:\\d{2}(:\\d{2})?$"
},
"partyId": {
"description": "Party the task is about.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"opportunityId": {
"description": "Opportunity the task is about.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"projectId": {
"description": "Project the task is about.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"description"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴capsule_add_party_note(partyId, content)
Add a plain-text note to a party's timeline. Notes are only created, never edited or deleted here. Capsule API: POST /entries.
Esquema de entrada
{
"type": "object",
"properties": {
"partyId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The party the note belongs to."
},
"content": {
"type": "string",
"minLength": 1,
"description": "Note text. Line breaks are kept."
}
},
"required": [
"partyId",
"content"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Comunidad
Evidencia