amoCRM 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., "@amoCRM MCP Server show me my open leads in the sales pipeline"
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.
amoCRM MCP Server
MCP server for amoCRM (Kommo) API v4. Exposes tools for leads, contacts, companies, tasks, notes, pipelines, associations, analytics, and custom fields.
Built with FastMCP. Works with Claude Desktop, Cursor, and any MCP-compatible client.
Features
39 MCP tools across 11 domains (leads, contacts, companies, tasks, notes, pipelines, associations, account, batch, unsorted, analytics)
OAuth 2.0 token refresh with disk persistence
Long-lived token mode for simpler single-account deployments
Rate limiting — 7 req/s with automatic 429 backoff and jitter
HAL+JSON normalization — strips
_links, flattens_embeddedConsistent response envelopes —
{data, pagination}or{error, status_code, detail}stdio, SSE, and streamable-http transports
Related MCP server: AmoCRM MCP Server
Quick Start
1. Install
pip install -e .2. Configure
Copy .env.example to .env and fill in your amoCRM credentials:
cp .env.example .envYou need at minimum:
AMO_SUBDOMAIN— your amoCRM account subdomainAMO_ACCESS_TOKEN— OAuth access token
For automatic token refresh, also set:
AMO_CLIENT_ID,AMO_CLIENT_SECRET,AMO_REFRESH_TOKEN
3. Run
# stdio (default — for Claude Desktop, Cursor, etc.)
python -m amocrm_mcp
# SSE transport
AMO_TRANSPORT=sse AMO_PORT=8000 python -m amocrm_mcp
# Streamable HTTP transport
AMO_TRANSPORT=streamable-http AMO_PORT=8000 python -m amocrm_mcpClaude Desktop config
Add to claude_desktop_config.json:
{
"mcpServers": {
"amocrm": {
"command": "python",
"args": ["-m", "amocrm_mcp"],
"env": {
"AMO_SUBDOMAIN": "your-subdomain",
"AMO_ACCESS_TOKEN": "your-token"
}
}
}
}Vercel Deployment
Current production deployment for helloevospru:
MCP endpoint:
https://amocrm-mcp-helloevospru.vercel.app/mcpHealthcheck:
https://amocrm-mcp-helloevospru.vercel.app/healthz
This repository is set up for the simplest multi-account operating model:
one Vercel project = one amoCRM account
store amoCRM credentials in Vercel project environment variables
connect Codex to the project-specific
/mcpURL
Deploy a new amoCRM account
Create a new Vercel project from this repository.
Add production environment variables:
AMO_SUBDOMAIN=<your amoCRM subdomain>AMO_ACCESS_TOKEN=<your long-lived token>leave
AMO_CLIENT_ID,AMO_CLIENT_SECRET, andAMO_REFRESH_TOKENempty if you use long-lived token mode
Deploy to production:
npx vercel link --project <new-project-name>
npx vercel env add AMO_SUBDOMAIN production --value <subdomain>
npx vercel env add AMO_ACCESS_TOKEN production --value <long-lived-token>
npx vercel deploy --prod -yUse the project URL in Codex:
[mcp_servers.amocrm_<account_name>]
url = "https://<your-project>.vercel.app/mcp"Recommended naming:
Vercel project:
amocrm-mcp-<account>Codex server key:
amocrm_<account>
Tools
Domain | Tools | Description |
Leads |
| Full lead lifecycle |
Contacts |
| Contact management |
Companies |
| Company management |
Tasks |
| CRM task operations |
Notes |
| Notes on entities |
Pipelines |
| Pipeline & status info |
Associations |
| Entity relationships |
Account |
| Account metadata and custom field management |
Batch |
| Bulk operations |
Analytics |
| CRM analytics |
Unsorted |
| Unsorted inbox |
Getting amoCRM Credentials
Go to your amoCRM account → Settings → Integrations
Create a new integration (or use an existing one)
Copy the access token, client ID, and client secret
Your subdomain is the part before
.amocrm.ruin your account URL
License
MIT
Available Tools
39 toolsaccount_create_custom_fieldAccount Create Custom FieldC
Create a new custom field for leads, contacts, companies, customers, or segments.
Inputs: input (required). Returns: object
account_delete_custom_fieldAccount Delete Custom FieldC
Delete a custom field for leads, contacts, companies, customers, or segments.
Inputs: input (required). Returns: object
account_getAccount GetB
Get account information.
Use with_related to embed additional data: amojo_id, amojo_rights, users_groups, task_types, version, entity_names, datetime_settings.
Inputs: input (required). Returns: object
account_list_custom_fieldsAccount List Custom FieldsB
List custom field definitions for an entity type.
Returns field_id, name, type, and enum values for each custom field.
Inputs: input (required). Returns: object
account_list_usersAccount List UsersB
List all users in the account with pagination.
Inputs: input (required). Returns: object
account_update_custom_fieldAccount Update Custom FieldC
Update an existing custom field for leads, contacts, companies, customers, or segments.
Inputs: input (required). Returns: object
analytics_get_eventsAnalytics Get EventsA
Retrieve account events with optional filters.
Supports filtering by entity type (lead, contact, company, customer, task), entity ID, date range (unix timestamps), and event types. Event entity_type uses singular form (lead, not leads). entity_id requires entity_type to be set.
Filter encoding verified against live amoCRM API:
filter[entity][] for entity type
filter[entity_id][] for entity ID (requires exactly 1 entity type)
filter[created_at][from/to] for date range (unix timestamps)
filter[type][] for event types
Inputs: input (required). Returns: object
analytics_get_pipeline_analyticsAnalytics Get Pipeline AnalyticsA
Computed pipeline analytics: leads grouped by status_id and responsible_user_id (FR-21, ADR-005).
This is a computed aggregation, not a native amoCRM analytics endpoint. Internally fetches all leads for the specified pipeline and date range (paginating as needed), then groups and counts by status_id and responsible_user_id. Latency scales with lead count (~4s per 250 leads).
Inputs: input (required). Returns: object
associations_get_linkedAssociations Get LinkedC
Get all entities linked to a given entity.
Inputs: input (required). Returns: object
associations_link_entitiesAssociations Link EntitiesA
Link two entities together (e.g., lead to contact, contact to company).
Validates that both entity types are linkable before making the API call.
Inputs: input (required). Returns: object
batch_create_contactsBatch Create ContactsA
Create multiple contacts in a single API call (max 50).
Each item is a contact object with optional fields: name, first_name, last_name, responsible_user_id, custom_fields_values. Returns per-item results including both successes and failures.
Inputs: input (required). Returns: object
batch_create_leadsBatch Create LeadsA
Create multiple leads in a single API call (max 50).
Each item is a lead object with optional fields: name, price, status_id, pipeline_id, responsible_user_id, custom_fields_values. Returns per-item results including both successes and failures.
Inputs: input (required). Returns: object
batch_update_leadsBatch Update LeadsA
Update multiple leads in a single API call (max 50).
Each item must include an 'id' field plus fields to update: name, price, status_id, pipeline_id, responsible_user_id, custom_fields_values. Returns per-item results including both successes and failures.
Inputs: input (required). Returns: object
companies_createCompanies CreateC
Create a new company.
Inputs: input (required). Returns: object
companies_getCompanies GetB
Get a single company by ID.
Use with_related to embed related entities.
Inputs: input (required). Returns: object
companies_searchCompanies SearchC
Search companies by query string with pagination.
Inputs: input (required). Returns: object
companies_updateCompanies UpdateC
Update an existing company by ID.
Inputs: input (required). Returns: object
contacts_createContacts CreateC
Create a new contact.
Inputs: input (required). Returns: object
contacts_getContacts GetB
Get a single contact by ID.
Use with_related to embed related entities.
Inputs: input (required). Returns: object
contacts_searchContacts SearchB
Search contacts by query string with pagination.
Inputs: input (required). Returns: object
contacts_updateContacts UpdateC
Update an existing contact by ID.
Inputs: input (required). Returns: object
leads_createLeads CreateC
Create a new lead.
Inputs: input (required). Returns: object
leads_create_complexLeads Create ComplexA
Create a lead with embedded contact and company in one atomic call (FR-20, C-4).
Posts to /api/v4/leads/complex for atomic creation. Constraints enforced via Pydantic validation: max 1 contact, max 1 company, max 40 custom fields per entity.
Inputs: input (required). Returns: object
leads_getLeads GetB
Get a single lead by ID.
Use with_related to embed contacts, companies, or catalog_elements.
Inputs: input (required). Returns: object
leads_listLeads ListC
List leads with optional filters and pagination.
Supports filtering by responsible_user_id, status_id, pipeline_id, created_at/updated_at/closed_at date ranges, and search query. Use with_related to embed contacts, companies, or catalog_elements.
Inputs: input (required). Returns: object
leads_searchLeads SearchC
Search leads by query string with pagination.
Inputs: input (required). Returns: object
leads_updateLeads UpdateC
Update an existing lead by ID.
Inputs: input (required). Returns: object
notes_createNotes CreateC
Create a note on an entity (lead, contact, company, or customer).
Supports different note types: common, call_in, call_out, etc. Use params for type-specific parameters.
Inputs: input (required). Returns: object
notes_listNotes ListA
List notes for an entity with optional note_type filter and pagination.
Inputs: input (required). Returns: object
pipelines_getPipelines GetA
Get a single pipeline by ID, including its statuses.
Inputs: input (required). Returns: object
pipelines_listPipelines ListC
List all pipelines in the account.
Inputs: input (required). Returns: object
pipelines_list_statusesPipelines List StatusesA
List all statuses (stages) within a pipeline.
Inputs: input (required). Returns: object
tasks_createTasks CreateC
Create a new task.
Optionally link to an entity via entity_id and entity_type.
Inputs: input (required). Returns: object
tasks_getTasks GetC
Get a single task by ID.
Inputs: input (required). Returns: object
tasks_listTasks ListB
List tasks with optional filters and pagination.
Supports filtering by entity_type, entity_id, responsible_user_id, and completion status.
Inputs: input (required). Returns: object
tasks_updateTasks UpdateC
Update an existing task by ID.
Inputs: input (required). Returns: object
unsorted_acceptUnsorted AcceptB
Accept an unsorted lead into a pipeline.
Moves the unsorted lead identified by uid into the specified pipeline and status. Optionally assigns to a specific user.
Inputs: input (required). Returns: object
unsorted_listUnsorted ListB
List unsorted (incoming) leads with pagination.
Returns leads from the unsorted inbox that have not yet been accepted into a pipeline or rejected.
Inputs: input (required). Returns: object
unsorted_rejectUnsorted RejectB
Reject (decline) an unsorted lead.
Removes the unsorted lead identified by uid from the inbox. Uses DELETE method on the decline endpoint.
Inputs: input (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 39 tools
Most tools are clearly separated by resource and action (leads, contacts, companies, tasks, notes, pipelines, analytics). A few boundaries are slightly fuzzy, especially leads_create vs. leads_create_complex vs. batch_create_leads, but the descriptions make their intended use distinguishable.
Tool names follow a consistent snake_case resource_action pattern throughout, such as leads_list, leads_get, leads_create, companies_search, and tasks_update. Minor variations like batch_create_leads and leads_create_complex still fit the same predictable naming style.
With 39 tools, the surface is quite large and exceeds the typical well-scoped range, making discovery and selection harder for an agent. The breadth reflects amoCRM's domain, but many CRUD and batch variants could be consolidated or scoped more tightly.
The server covers core CRM workflows across leads, contacts, companies, tasks, notes, pipelines, unsorted items, associations, and analytics. However, lifecycle coverage is incomplete: delete operations are absent for major entities, and notes/pipelines have limited write operations.
Related MCP Connectors
Remote MCP for amoCRM and Kommo: leads, contacts, tasks, pipelines, chats, Salesbot. OAuth.
Remote MCP for Kommo CRM: leads, contacts, tasks, notes, pipelines, chats, Salesbot. OAuth.
List leads, contacts, companies and tasks; create and update leads in Kommo.
API-first CRM for LLMs - contacts, companies, deals and activities over a native MCP server.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides 36 tools for interacting with the amoCRM (Kommo) API v4, covering leads, contacts, companies, and tasks. It supports full entity lifecycles, account analytics, and bulk operations with integrated OAuth 2.0 and rate limiting.2MIT
- FlicenseNot gradedqualityDmaintenanceMinimal MCP server for integrating with amoCRM (API v4): manage deals, contacts, notes, and OAuth2 authentication.12-
- AlicenseCqualityDmaintenanceEnables AI agents to manage Kommo CRM (formerly AmoCRM) entities including leads, contacts, companies, tasks, notes, pipelines, and products through natural language commands via the Model Context Protocol.3916 npm1MIT
- AlicenseBqualityDmaintenanceSelf-hosted MCP server that connects AI assistants to Kommo CRM (API v4), enabling real-time CRM actions such as creating/managing leads, tasks, notes, and more through 29 tools.291MIT