@theyahia/amocrm-mcp
Click on "Install 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., "@@theyahia/amocrm-mcpShow me all leads in the Negotiation stage with contact info."
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.
@theyahia/amocrm-mcp
Production-grade MCP server for amoCRM API. 19 tools covering leads, contacts, companies, pipelines, tasks, notes, search, events, and unsorted leads. OAuth 2.0 with automatic token refresh. Rate limiting (7 req/sec). Retry with exponential backoff.
Installation
npx -y @theyahia/amocrm-mcpRelated MCP server: amocrm-mcp
MCP Configuration
Add to your Claude Desktop, Cursor, or any MCP client config:
{
"mcpServers": {
"amocrm": {
"command": "npx",
"args": ["-y", "@theyahia/amocrm-mcp"],
"env": {
"AMOCRM_SUBDOMAIN": "mycompany",
"AMOCRM_ACCESS_TOKEN": "your-access-token",
"AMOCRM_REFRESH_TOKEN": "your-refresh-token",
"AMOCRM_CLIENT_ID": "your-client-id",
"AMOCRM_CLIENT_SECRET": "your-client-secret"
}
}
}
}Environment Variables
Variable | Required | Description |
| Yes | Your amoCRM subdomain (e.g. |
| Yes | OAuth access token |
| No | OAuth refresh token (enables auto-refresh on 401) |
| No | OAuth client ID (required for token refresh) |
| No | OAuth client secret (required for token refresh) |
AMOCRM_DOMAINis also accepted as an alias forAMOCRM_SUBDOMAIN(backwards compatibility).
Tools (19)
Leads
Tool | Description |
| Search and list deals with filters (pipeline, statuses, query). Embed contacts, loss reasons. |
| Get a single lead by ID with linked contacts and catalog elements. |
| Create a new lead with name, price, pipeline, status, custom fields. |
| Update lead fields — move between stages, change price, reassign. |
Contacts
Tool | Description |
| Search contacts by name, phone, email. |
| Get a single contact with all custom fields. |
| Create a contact with phone, email, and custom fields. |
Companies
Tool | Description |
| Search companies. Embed linked leads and contacts. |
| Create a company with custom fields. |
Pipelines
Tool | Description |
| List all sales pipelines with their statuses (stages). |
Tasks
Tool | Description |
| List tasks filtered by entity, completion, responsible user. |
| Create a task linked to a lead/contact/company with deadline. |
| Mark task as done and add result text. |
Unsorted
Tool | Description |
| List incoming unsorted leads (forms, email parsing). |
| Accept an unsorted lead into a pipeline. |
Notes
Tool | Description |
| Add a note (common, call_in, call_out, service_message) to any entity. |
Search
Tool | Description |
| Universal search across leads, contacts, and companies. |
Events
Tool | Description |
| Activity log — status changes, calls, notes, links. |
Account
Tool | Description |
| Account info, users, task types, amojo settings. |
Demo Prompts
Sales overview:
"Show me all leads in the 'Sales' pipeline that are currently in the 'Negotiation' stage. Include contact info."
Task management:
"Create a follow-up call task for lead #12345, deadline tomorrow at 10:00 AM. Then list all my incomplete tasks."
New client onboarding:
"Create a contact 'Ivan Petrov' with phone +79001234567, then create a company 'Petrov Solutions' and a lead 'Website Development' for 150,000 RUB in the main pipeline."
OAuth 2.0 Setup Guide
Go to your amoCRM account settings:
https://YOUR_SUBDOMAIN.amocrm.ru/settings/widgets/Create a new integration (external integration)
Set the redirect URI to
https://YOUR_SUBDOMAIN.amocrm.ruCopy the Client ID and Client Secret
Authorize the integration to get the initial Authorization Code
Exchange the code for tokens:
curl -X POST https://YOUR_SUBDOMAIN.amocrm.ru/oauth2/access_token \
-H "Content-Type: application/json" \
-d '{
"client_id": "YOUR_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET",
"grant_type": "authorization_code",
"code": "YOUR_AUTH_CODE",
"redirect_uri": "https://YOUR_SUBDOMAIN.amocrm.ru"
}'Save the
access_tokenandrefresh_tokenfrom the responseThe server will automatically refresh expired tokens if
AMOCRM_REFRESH_TOKEN,AMOCRM_CLIENT_ID, andAMOCRM_CLIENT_SECRETare set
Error Handling
401 Unauthorized: Auto-refreshes token if refresh credentials are configured, then retries
429 Rate Limited: Respects
Retry-Afterheader, waits and retries5xx Server Errors: Exponential backoff retry (up to 3 attempts)
Rate Limiting: Built-in 150ms delay between requests (~7 req/sec) to stay within amoCRM limits
Development
git clone https://github.com/theYahia/amocrm-mcp.git
cd amocrm-mcp
npm install
npm run build
npm testLicense
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Dialpad's tools and services through a unified API, allowing users to manage communications via natural language.MIT
- AlicenseBqualityDmaintenanceEnables users to interact with AmoCRM via Claude Desktop using natural language, with 17 tools for accessing CRM entities like leads, contacts, and pipelines.181MIT
- 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.39151MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for amoCRM integration, enabling AI assistants to manage leads, contacts, companies, tasks, and more via natural language.3MIT
Related MCP Connectors
Manage projects, tasks, time tracking, and team collaboration through natural language.
Streamline your Attio workflows using natural language to search, create, update, and organize com…
An AI-first personal CRM you run in natural language: contacts, reminders, notes, and more.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/theYahia/amocrm-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server