Capsule CRM MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Capsule CRM MCP Server Find all contacts at Acme Corp and list their open opportunities"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Capsule CRM MCP Server
A comprehensive Model Context Protocol (MCP) server for integrating with Capsule CRM. This server provides tools for managing contacts, organizations, opportunities, projects, tasks, and more through the Capsule CRM API.
Features
Complete Capsule CRM Integration: Full support for all major Capsule CRM entities
Party Management: Create, read, update, and delete contacts and organizations
Opportunity Tracking: Manage sales opportunities with milestones and pipelines
Project Management: Handle projects with stages and assignments
Task Management: Create and track tasks with due dates and completion status
Search Capabilities: Search across parties, opportunities, and projects
Custom Fields & Tags: Support for custom fields and tag management
User & Team Management: List users and manage team assignments
Notes & History: Create entries to track interactions and notes
Related MCP server: capsulecrm-mcp
Installation
Prerequisites
Node.js 18.0.0 or higher
A Capsule CRM account with API access
Install Dependencies
npm installGet Your Capsule CRM API Token
Log in to your Capsule CRM account
Go to My Preferences > API Authentication Tokens
Create a new token or use an existing one
Save the token securely - you'll need it to authenticate
Usage
Running the Server
Start the MCP server:
npm startFor development with auto-reload:
npm run devConfiguration with MCP Clients
Step 1: Get Your Capsule CRM API Token
Log into your Capsule CRM account
Go to Account Settings > API Tokens
Create a new API token or copy an existing one
Keep this token secure - you'll add it to your MCP configuration
Step 2: Find Your Absolute Path
You need the absolute path to your index.js file. In your project directory, run:
pwd && echo "$(pwd)/src/index.js"This will show something like: /Users/your-username/src/capsule-mcp-dom/src/index.js
Step 3A: Configure Claude Desktop
Find your Claude Desktop config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%/Claude/claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Option A: If you have NO existing MCP servers, create/edit the file with:
{
"mcpServers": {
"capsule-crm": {
"command": "node",
"args": ["/Users/your-username/src/capsule-mcp-dom/src/index.js"],
"env": {
"CAPSULE_API_TOKEN": "your-capsule-api-token-here"
}
}
}
}Option B: If you ALREADY have MCP servers, add capsule-crm to your existing configuration:
{
"mcpServers": {
"firecrawl-mcp": {
"command": "npx",
"args": ["-y", "firecrawl-mcp"],
"env": {
"FIRECRAWL_API_KEY": "your-api-key"
}
},
"capsule-crm": {
"command": "node",
"args": ["/Users/your-username/src/capsule-mcp-dom/src/index.js"],
"env": {
"CAPSULE_API_TOKEN": "your-capsule-api-token-here"
}
}
}
}Then restart Claude Desktop completely for the changes to take effect.
Step 3B: Configure Cursor
Find your Cursor MCP config file:
macOS:
~/.cursor/mcp.jsonWindows:
%USERPROFILE%/.cursor/mcp.jsonLinux:
~/.cursor/mcp.json
Option A: If you have NO existing MCP servers, create/edit the file with:
{
"mcpServers": {
"capsule-crm": {
"command": "node",
"args": ["/Users/your-username/src/capsule-mcp-dom/src/index.js"],
"env": {
"CAPSULE_API_TOKEN": "your-capsule-api-token-here"
}
}
}
}Option B: If you ALREADY have MCP servers (like firecrawl-mcp), add capsule-crm to your existing configuration:
{
"mcpServers": {
"firecrawl-mcp": {
"command": "npx",
"args": ["-y", "firecrawl-mcp"],
"env": {
"FIRECRAWL_API_KEY": "your-api-key"
}
},
"capsule-crm": {
"command": "node",
"args": ["/Users/your-username/src/capsule-mcp-dom/src/index.js"],
"env": {
"CAPSULE_API_TOKEN": "your-capsule-api-token-here"
}
}
}
}Then restart Cursor completely for the changes to take effect.
Step 3: Verify the Server is Connected
In Claude Desktop: You should see the Capsule CRM tools available in the tool list.
In Cursor: Open the Command Palette (Cmd+Shift+P / Ctrl+Shift+P) and look for MCP-related commands, or use the AI chat and you should see Capsule CRM tools available.
Test the connection with:
capsule_set_api_tokento authenticatecapsule_test_connectionto verify it's working
Authentication
Recommended: Set your API token in the MCP configuration (see configuration steps above). The server will automatically initialize with your token.
Alternative: If you didn't set the token in configuration, you can set it manually:
// Use the capsule_set_api_token tool
{
"name": "capsule_set_api_token",
"arguments": {
"apiToken": "your-capsule-api-token-here"
}
}Test your connection:
// Use the capsule_test_connection tool
{
"name": "capsule_test_connection",
"arguments": {}
}Available Tools
Authentication & Connection
capsule_set_api_token- Set your Capsule CRM API tokencapsule_test_connection- Test API connection
Party Management (Contacts & Organizations)
capsule_list_parties- List all parties with pagination and filteringcapsule_get_party- Get specific party by IDcapsule_search_parties- Search parties by name, email, phone, etc.capsule_create_person- Create a new contact/personcapsule_create_organization- Create a new organizationcapsule_update_party- Update existing party detailscapsule_delete_party- Delete a partycapsule_list_employees- List employees of an organization
Opportunity Management
capsule_list_opportunities- List all opportunitiescapsule_get_opportunity- Get specific opportunity by IDcapsule_list_opportunities_by_party- List opportunities for a partycapsule_search_opportunities- Search opportunitiescapsule_create_opportunity- Create new opportunitycapsule_update_opportunity- Update existing opportunitycapsule_delete_opportunity- Delete an opportunitycapsule_list_opportunity_parties- List additional parties on opportunitycapsule_add_party_to_opportunity- Add party to opportunitycapsule_remove_party_from_opportunity- Remove party from opportunitycapsule_list_pipelines- List sales pipelinescapsule_list_milestones- List opportunity milestones/stages
Project Management
capsule_list_projects- List all projectscapsule_get_project- Get specific project by IDcapsule_list_projects_by_party- List projects for a partycapsule_search_projects- Search projectscapsule_create_project- Create new projectcapsule_update_project- Update existing projectcapsule_delete_project- Delete a project
Task Management
capsule_list_tasks- List all taskscapsule_get_task- Get specific task by IDcapsule_create_task- Create new taskcapsule_update_task- Update existing taskcapsule_delete_task- Delete a taskcapsule_mark_task_complete- Mark task as completedcapsule_mark_task_incomplete- Mark task as incomplete
Utilities & Metadata
capsule_list_tag_definitions- List all available tagscapsule_list_custom_fields- List custom field definitionscapsule_list_users- List users in the accountcapsule_create_entry- Create notes/history entriescapsule_list_entries- List notes/history entries
Examples
Create a New Contact
{
"name": "capsule_create_person",
"arguments": {
"firstName": "John",
"lastName": "Doe",
"jobTitle": "Software Engineer",
"organizationName": "Tech Company Inc",
"emailAddresses": [
{
"type": "Work",
"address": "john.doe@techcompany.com"
}
],
"phoneNumbers": [
{
"type": "Mobile",
"number": "+1-555-123-4567"
}
]
}
}Create an Opportunity
{
"name": "capsule_create_opportunity",
"arguments": {
"name": "Website Redesign Project",
"description": "Complete redesign of company website",
"partyId": 12345,
"milestoneId": 67890,
"value": {
"amount": 15000,
"currency": "USD"
},
"expectedCloseOn": "2024-03-15",
"probability": 75
}
}Search for Parties
{
"name": "capsule_search_parties",
"arguments": {
"query": "john@example.com",
"embed": ["tags", "fields"]
}
}Create a Task
{
"name": "capsule_create_task",
"arguments": {
"description": "Follow up on proposal",
"detail": "Call client to discuss the website proposal we sent last week",
"dueOn": "2024-02-15",
"partyId": 12345,
"opportunityId": 67890
}
}API Reference
Data Embedding
Many tools support the embed parameter to include additional data:
tags- Include tags assigned to the entityfields- Include custom field valuesorganisation- Include extended organization details (for people)party- Include party details (for opportunities/projects/tasks)milestone- Include milestone details (for opportunities)opportunity- Include opportunity details (for projects)missingImportantFields- Indicate missing important custom fields
Pagination
List endpoints support pagination:
page- Page number (default: 1)perPage- Results per page (1-100, default: 50)
Filtering
Many list endpoints support filtering:
since- ISO8601 date to filter items changed after this date
Error Handling
The server provides detailed error messages for common issues:
401 Unauthorized - Invalid or expired API token
403 Forbidden - Insufficient permissions
404 Not Found - Entity not found
400 Bad Request - Invalid request parameters
429 Too Many Requests - Rate limit exceeded
Troubleshooting
Server Not Appearing in Claude Desktop
Check the config file path: Make sure you're editing the right file
Verify JSON syntax: Use a JSON validator to check your config
Check file permissions: Ensure Claude can read the config file
Restart Claude Desktop: Completely quit and restart the app
Check logs: Look for error messages in Claude Desktop's console
Common Configuration Issues
Wrong path: The path must be absolute, not relative:
❌
./src/index.js(relative)✅
/Users/dom.briggs/src/capsule-mcp-dom/src/index.js(absolute)
JSON syntax errors: Make sure commas and brackets are correct:
{
"mcpServers": {
"server1": { ... },
"server2": { ... } // No comma after last item
}
}File not executable: Ensure Node.js can run the file:
node /path/to/your/src/index.js # Should start without errorsGetting Help
If the server doesn't start:
Test it manually:
node /path/to/your/src/index.jsCheck Node.js version:
node --version(needs 18.0.0+)Verify dependencies:
npm installin the project directory
Development
Project Structure
capsule-crm-mcp-server/
├── src/
│ ├── index.js # Main server entry point
│ ├── capsule-client.js # Capsule API client
│ └── tools/
│ ├── party-tools.js # Party management tools
│ ├── opportunity-tools.js # Opportunity tools
│ ├── project-tools.js # Project management tools
│ └── task-tools.js # Task management tools
├── package.json
└── README.mdContributing
Fork the repository
Create a feature branch
Make your changes
Add tests if applicable
Submit a pull request
Running Tests
npm testLinting
npm run lintSecurity
API tokens are not stored persistently
All API communication uses HTTPS
Rate limiting is handled automatically
No sensitive data is logged
License
MIT License - see LICENSE file for details
Support
For issues and questions:
Check the Capsule CRM API documentation
Review the Model Context Protocol specification
Open an issue in this repository
Related Links
Available Tools
41 toolscapsule_add_party_to_opportunityB
Add an additional party (contact) to an opportunity
Inputs: partyId (required), opportunityId (required).
capsule_create_entryC
Create a new entry (note/history) in Capsule CRM
Inputs: content (required), type, kaseId, partyId, +1 more.
capsule_create_opportunityC
Create a new opportunity in Capsule CRM
Inputs: name (required), partyId (required), milestoneId (required), tags, +11 more.
capsule_create_organizationC
Create a new organization in Capsule CRM
Inputs: name (required), tags, about, teamId, +5 more.
capsule_create_personC
Create a new person (contact) in Capsule CRM
Inputs: lastName (required), firstName (required), tags, about, +10 more.
capsule_create_projectC
Create a new project in Capsule CRM
Inputs: name (required), partyId (required), tags, status, +8 more.
capsule_create_taskC
Create a new task in Capsule CRM
Inputs: description (required), tags, dueOn, detail, +8 more.
capsule_delete_opportunityC
Delete an opportunity from Capsule CRM
Inputs: opportunityId (required).
capsule_delete_partyC
Delete a party (contact or organization) from Capsule CRM
Inputs: partyId (required).
capsule_delete_projectC
Delete a project from Capsule CRM
Inputs: projectId (required).
capsule_delete_taskC
Delete a task from Capsule CRM
Inputs: taskId (required).
capsule_get_opportunityB
Get a specific opportunity by ID
Inputs: opportunityId (required), embed.
capsule_get_partyC
Get a specific party (contact or organization) by ID
Inputs: partyId (required), embed.
capsule_get_projectC
Get a specific project by ID
Inputs: projectId (required), embed.
capsule_get_taskB
Get a specific task by ID
Inputs: taskId (required), embed.
capsule_list_custom_fieldsB
List all custom field definitions in Capsule CRM
Inputs: no named parameters.
capsule_list_employeesC
List employees (people) of a specific organization
Inputs: organizationId (required), page, embed, perPage.
capsule_list_entriesC
List entries (notes/history) from Capsule CRM
Inputs: page, since, perPage.
capsule_list_milestonesB
List all opportunity milestones/stages
Inputs: pipelineId.
capsule_list_opportunitiesC
List opportunities from Capsule CRM
Inputs: page, embed, since, perPage.
capsule_list_opportunities_by_partyA
List opportunities associated with a specific party (contact or organization)
Inputs: partyId (required), page, embed, perPage.
capsule_list_opportunity_partiesC
List additional parties (contacts) associated with an opportunity
Inputs: opportunityId (required), page, embed, perPage.
capsule_list_partiesC
List parties (contacts and organizations) from Capsule CRM
Inputs: page, embed, since, perPage.
capsule_list_pipelinesB
List all sales pipelines in Capsule CRM
Inputs: no named parameters.
capsule_list_projectsC
List projects from Capsule CRM
Inputs: page, embed, since, perPage.
capsule_list_projects_by_partyB
List projects associated with a specific party (contact or organization)
Inputs: partyId (required), page, embed, perPage.
capsule_list_tag_definitionsB
List all tag definitions in Capsule CRM
Inputs: no named parameters.
capsule_list_tasksC
List tasks from Capsule CRM
Inputs: page, embed, since, perPage.
capsule_list_usersC
List all users in Capsule CRM
Inputs: page, perPage.
capsule_mark_task_completeB
Mark a task as completed
Inputs: taskId (required).
capsule_mark_task_incompleteC
Mark a task as incomplete
Inputs: taskId (required).
capsule_remove_party_from_opportunityC
Remove an additional party (contact) from an opportunity
Inputs: partyId (required), opportunityId (required).
capsule_search_opportunitiesC
Search for opportunities using a query string
Inputs: query (required), page, embed, perPage.
capsule_search_partiesC
Search for parties using a query string
Inputs: query (required), page, embed, perPage.
capsule_search_projectsC
Search for projects using a query string
Inputs: query (required), page, embed, perPage.
capsule_set_api_tokenC
Set the Capsule CRM API token for authentication
Inputs: apiToken (required).
capsule_test_connectionC
Test the connection to Capsule CRM API
Inputs: random_string (required).
capsule_update_opportunityC
Update an existing opportunity
Inputs: opportunityId (required), name, tags, value, +11 more.
capsule_update_partyC
Update an existing party (contact or organization)
Inputs: partyId (required), name, about, title, +9 more.
capsule_update_projectD
Update an existing project
Inputs: projectId (required), name, tags, status, +9 more.
capsule_update_taskC
Update an existing task
Inputs: taskId (required), tags, dueOn, detail, +9 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 41 tools
Most tools target a clearly distinct resource and action, and descriptions help separate list, search, and by-party variants. Some confusion remains around party operations being split between get/update/delete_party and create_person/create_organization, plus multiple list/search variants for the same resources.
All tools use a consistent capsule_ prefix followed by snake_case verb_noun naming. Even auth, test, and task-state tools follow the same predictable convention without mixed casing or vague verbs.
At 41 tools, the surface is well past the typical 3-15 range and into heavy territory for a single CRM server. Many tools are read-only list/definition helpers, so the set feels over-expanded even though each has some role.
Core CRM entities such as parties, opportunities, projects, and tasks have good CRUD and lifecycle coverage. There are notable gaps in ancillary areas: entries only support create/list, while tags, custom fields, users, pipelines, and milestones are read-only, and tag assignment is absent.
Maintenance
Related MCP Connectors
Search parties, read deals and tasks; create parties, deals, tasks and notes in Capsule CRM.
1Connect AI to your Attio CRM. Manage contacts, companies, deals, and sales pipelines. Create tasks…
Operate the Plixana CRM from any AI: contacts, deals, quotes, WhatsApp and metrics.
AI-native CRM: records, pipelines, tasks, calendar and the email, LinkedIn and WhatsApp inbox.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to manage ActiveCampaign CRM, marketing automation, and contact data via 33 tools including contacts, deals, tags, automations, pipelines, custom fields, campaigns, accounts, and webhooks.6520 PyPI1MIT
- AlicenseNot gradedqualityCmaintenanceEnables natural language customer and sales management by connecting AI assistants directly to CapsuleCRM, allowing users to search, create, and update CRM data via plain English commands.2MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to access and query Capsule CRM data (contacts, opportunities, support cases, tasks, projects, products) through natural language, with read-only security.4MIT
- AlicenseCqualityCmaintenanceEnables AI agents to interact with the GoHighLevel (GHL) CRM and marketing automation platform through 576 tools covering contacts, opportunities, conversations, calendars, invoices, payments, campaigns, and other business operations.50018 npmMIT