Back to Browse

Amocrm MCP Server

Developer ToolsModerate7.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

MCP server for amoCRM API — leads, contacts, pipelines. Auth: Bearer token.

About

MCP server for amoCRM API — leads, contacts, pipelines. Auth: Bearer token.

Security Report

7.0
Moderate7.0Low Risk

Valid MCP server (2 strong, 4 medium validity signals). 3 known CVEs in dependencies (0 critical, 3 high severity) Package registry verified. Imported from the Official MCP Registry.

12 files analyzed · 4 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

env_vars

Check that this permission is expected for this type of plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

What You'll Need

Set these up before or after installing:

API key for the serviceRequired

Environment variable: AMOCRM_DOMAIN

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-theyahia-amocrm-mcp": {
      "env": {
        "AMOCRM_DOMAIN": "your-amocrm-domain-here"
      },
      "args": [
        "-y",
        "@theyahia/amocrm-mcp"
      ],
      "command": "npx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

@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-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

VariableRequiredDescription
AMOCRM_SUBDOMAINYesYour amoCRM subdomain (e.g. mycompany from mycompany.amocrm.ru)
AMOCRM_ACCESS_TOKENYesOAuth access token
AMOCRM_REFRESH_TOKENNoOAuth refresh token (enables auto-refresh on 401)
AMOCRM_CLIENT_IDNoOAuth client ID (required for token refresh)
AMOCRM_CLIENT_SECRETNoOAuth client secret (required for token refresh)

AMOCRM_DOMAIN is also accepted as an alias for AMOCRM_SUBDOMAIN (backwards compatibility).

Tools (19)

Leads

ToolDescription
list_leadsSearch and list deals with filters (pipeline, statuses, query). Embed contacts, loss reasons.
get_leadGet a single lead by ID with linked contacts and catalog elements.
create_leadCreate a new lead with name, price, pipeline, status, custom fields.
update_leadUpdate lead fields — move between stages, change price, reassign.

Contacts

ToolDescription
list_contactsSearch contacts by name, phone, email.
get_contactGet a single contact with all custom fields.
create_contactCreate a contact with phone, email, and custom fields.

Companies

ToolDescription
list_companiesSearch companies. Embed linked leads and contacts.
create_companyCreate a company with custom fields.

Pipelines

ToolDescription
list_pipelinesList all sales pipelines with their statuses (stages).

Tasks

ToolDescription
list_tasksList tasks filtered by entity, completion, responsible user.
create_taskCreate a task linked to a lead/contact/company with deadline.
complete_taskMark task as done and add result text.

Unsorted

ToolDescription
list_unsortedList incoming unsorted leads (forms, email parsing).
accept_unsortedAccept an unsorted lead into a pipeline.

Notes

ToolDescription
add_noteAdd a note (common, call_in, call_out, service_message) to any entity.

Search

ToolDescription
searchUniversal search across leads, contacts, and companies.

Events

ToolDescription
list_eventsActivity log — status changes, calls, notes, links.

Account

ToolDescription
get_accountAccount 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

  1. Go to your amoCRM account settings: https://YOUR_SUBDOMAIN.amocrm.ru/settings/widgets/
  2. Create a new integration (external integration)
  3. Set the redirect URI to https://YOUR_SUBDOMAIN.amocrm.ru
  4. Copy the Client ID and Client Secret
  5. Authorize the integration to get the initial Authorization Code
  6. 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"
  }'
  1. Save the access_token and refresh_token from the response
  2. The server will automatically refresh expired tokens if AMOCRM_REFRESH_TOKEN, AMOCRM_CLIENT_ID, and AMOCRM_CLIENT_SECRET are set

Error Handling

  • 401 Unauthorized: Auto-refreshes token if refresh credentials are configured, then retries
  • 429 Rate Limited: Respects Retry-After header, waits and retries
  • 5xx 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 test

License

MIT

Reviews

No reviews yet

Be the first to review this server!