@theyahia/amocrm-mcp
@theyahia/amocrm-mcp
프로덕션 등급의 amoCRM API용 MCP 서버입니다. 리드, 연락처, 회사, 파이프라인, 작업, 메모, 검색, 이벤트, 미분류 리드를 다루는 19가지 도구를 제공합니다. 자동 토큰 갱신 기능이 있는 OAuth 2.0. 속도 제한(초당 7회 요청). 지수 백오프를 사용한 재시도.
설치
npx -y @theyahia/amocrm-mcpRelated MCP server: KommoMCP
MCP 구성
Claude Desktop, Cursor 또는 모든 MCP 클라이언트 구성에 추가하세요:
{
"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"
}
}
}
}환경 변수
변수 | 필수 | 설명 |
| 예 | amoCRM 하위 도메인(예: |
| 예 | OAuth 액세스 토큰 |
| 아니요 | OAuth 갱신 토큰(401 발생 시 자동 갱신 활성화) |
| 아니요 | OAuth 클라이언트 ID(토큰 갱신에 필요) |
| 아니요 | OAuth 클라이언트 시크릿(토큰 갱신에 필요) |
AMOCRM_DOMAIN도AMOCRM_SUBDOMAIN의 별칭으로 허용됩니다(하위 호환성).
도구 (19)
리드
도구 | 설명 |
| 필터(파이프라인, 상태, 검색어)로 리드를 검색하고 목록을 표시합니다. 연락처, 손실 사유를 포함합니다. |
| ID로 단일 리드를 가져오고 연결된 연락처 및 카탈로그 요소를 포함합니다. |
| 이름, 금액, 파이프라인, 상태, 사용자 정의 필드로 새 리드를 생성합니다. |
| 리드 필드를 업데이트합니다 — 단계 간 이동, 금액 변경, 담당자 변경. |
연락처
도구 | 설명 |
| 이름, 전화번호, 이메일로 연락처를 검색합니다. |
| 모든 사용자 정의 필드를 포함한 단일 연락처를 가져옵니다. |
| 전화번호, 이메일, 사용자 정의 필드로 연락처를 생성합니다. |
회사
도구 | 설명 |
| 회사를 검색합니다. 연결된 리드와 연락처를 포함합니다. |
| 사용자 정의 필드로 회사를 생성합니다. |
파이프라인
도구 | 설명 |
| 모든 판매 파이프라인과 그 상태(단계)를 나열합니다. |
작업
도구 | 설명 |
| 엔터티, 완료 여부, 담당 사용자로 필터링된 작업을 나열합니다. |
| 리드/연락처/회사에 연결된 작업을 마감일과 함께 생성합니다. |
| 작업을 완료로 표시하고 결과 텍스트를 추가합니다. |
미분류
도구 | 설명 |
| 수신된 미분류 리드(폼, 이메일 파싱)를 나열합니다. |
| 미분류 리드를 파이프라인으로 수락합니다. |
메모
도구 | 설명 |
| 모든 엔터티에 메모(common, call_in, call_out, service_message)를 추가합니다. |
검색
도구 | 설명 |
| 리드, 연락처, 회사에 대한 범용 검색. |
이벤트
도구 | 설명 |
| 활동 로그 — 상태 변경, 통화, 메모, 링크. |
계정
도구 | 설명 |
| 계정 정보, 사용자, 작업 유형, amojo 설정. |
데모 프롬프트
영업 개요:
"'Sales' 파이프라인에서 현재 'Negotiation' 단계에 있는 모든 리드를 보여줘. 연락처 정보도 포함해 줘."
작업 관리:
"리드 #12345에 대한 후속 통화 작업을 만들어 줘. 마감은 내일 오전 10시. 그런 다음 내 미완료 작업을 모두 나열해 줘."
신규 고객 온보딩:
"'Ivan Petrov'라는 연락처를 전화번호 +79001234567로 만들고, 'Petrov Solutions' 회사를 만든 다음, 기본 파이프라인에 150,000 RUB 상당의 'Website Development' 리드를 만들어 줘."
OAuth 2.0 설정 가이드
amoCRM 계정 설정으로 이동합니다:
https://YOUR_SUBDOMAIN.amocrm.ru/settings/widgets/새 통합(외부 통합)을 생성합니다
리디렉션 URI를
https://YOUR_SUBDOMAIN.amocrm.ru로 설정합니다클라이언트 ID와 클라이언트 시크릿을 복사합니다
초기 인증 코드를 얻기 위해 통합을 승인합니다
코드를 토큰으로 교환합니다:
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"
}'응답에서
access_token과refresh_token을 저장합니다AMOCRM_REFRESH_TOKEN,AMOCRM_CLIENT_ID,AMOCRM_CLIENT_SECRET이 설정된 경우 서버는 만료된 토큰을 자동으로 갱신합니다
오류 처리
401 Unauthorized: 갱신 자격 증명이 구성된 경우 토큰을 자동 갱신한 후 재시도합니다
429 Rate Limited:
Retry-After헤더를 존중하고 대기 후 재시도합니다5xx Server Errors: 지수 백오프 재시도(최대 3회)
Rate Limiting: amoCRM 한도 내에서 유지하기 위해 요청 간 150ms 지연이 내장되어 있습니다(초당 약 7회)
개발
git clone https://github.com/theYahia/amocrm-mcp.git
cd amocrm-mcp
npm install
npm run build
npm test라이선스
MIT
Available Tools
19 toolsaccept_unsortedA
Accept an unsorted lead — moves it into a pipeline as a real lead. Optionally specify target pipeline, status, and responsible user.
Inputs: uid (required), user_id, status_id, pipeline_id.
add_noteA
Add a note to a lead, contact, or company. Supports common notes, incoming/outgoing call logs, and service messages.
Inputs: text (required), entity_id (required), entity_type (required), note_type.
complete_taskA
Mark a task as completed and add a result text. The result will appear in the entity's activity feed.
Inputs: task_id (required), result_text (required).
create_companyA
Create a new company in amoCRM. Use custom_fields_values for address, website, etc.
Inputs: name (required), responsible_user_id, custom_fields_values.
create_contactA
Create a new contact in amoCRM. Use custom_fields_values to set phone, email, and other fields.
Inputs: name, last_name, first_name, responsible_user_id, +1 more.
create_leadA
Create a new lead (deal) in amoCRM. Requires a name. Optionally set price, pipeline, status, responsible user, and custom fields.
Inputs: name (required), price, status_id, pipeline_id, +2 more.
create_taskA
Create a task linked to a lead, contact, or company. Set deadline (complete_till as Unix timestamp) and task type (1=Call, 2=Meeting, 3=Email).
Inputs: text (required), entity_id (required), entity_type (required), complete_till (required), +2 more.
get_accountA
Get current amoCRM account info — name, plan, users, task types, etc. Use 'with' to include users_groups, task_types, and amojo_id.
Inputs: with.
get_contactA
Get a single contact by ID with full details including custom fields (phone, email, etc.).
Inputs: contact_id (required), with.
get_leadA
Get a single lead by ID with full details. Use 'with' to include linked contacts and catalog elements.
Inputs: lead_id (required), with.
list_companiesA
Search and list companies in amoCRM. Use 'with' to embed linked leads and contacts.
Inputs: page, with, limit, query.
list_contactsB
Search and list contacts in amoCRM. Supports full-text search across name, phone, and email.
Inputs: page, with, limit, query.
list_eventsA
List events (activity log) in amoCRM. Filter by entity type, entity ID, or event type. Shows status changes, calls, notes, and other activities.
Inputs: page, type, limit, entity, +1 more.
list_leadsA
Search and list deals (leads) in amoCRM. Supports filtering by pipeline, statuses, and full-text search. Use 'with' to embed contacts or loss reasons.
Inputs: page, with, limit, query, +2 more.
list_pipelinesA
List all sales pipelines with their statuses (stages). Essential for understanding the sales funnel structure before creating or filtering leads.
Inputs: no named parameters.
list_tasksA
List tasks in amoCRM. Filter by entity (lead/contact/company), completion status, or responsible user.
Inputs: page, limit, entity_id, entity_type, +2 more.
list_unsortedA
List incoming unsorted leads (from forms, email parsing, etc.) that need to be accepted or declined.
Inputs: page, limit, pipeline_id.
searchA
Universal search across amoCRM — finds leads, contacts, and companies matching the query. Min 3 characters.
Inputs: query (required), limit.
update_leadA
Update an existing lead — change name, price, status, pipeline, responsible user, or custom fields. Useful for moving deals between stages.
Inputs: lead_id (required), name, price, status_id, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
Each tool maps to a distinct resource and action, such as list_leads vs get_lead vs create_lead, and list_unsorted/accept_unsorted are clearly separate from regular lead tools. No two tools appear to do the same job.
Tool names consistently use lowercase snake_case verb_noun patterns like list_leads, create_contact, complete_task, and accept_unsorted. The bare 'search' is a reasonable exception for a universal action and does not break the overall convention.
At 19 tools, the set falls into the heavy 16-25 range and begins to feel borderline bloated, even though the CRM domain covers many entities. The organization by entity helps, but the count is above the ideal 3-15 sweet spot.
Core lead and task workflows are well covered, but contacts and companies lack update/delete operations, there is no get_company, and unsorted leads can only be accepted, not declined. These are notable lifecycle gaps that agents may need to work around.
Maintenance
Related MCP Connectors
Manage projects, tasks, time tracking, and team collaboration through natural language.
Operate Obriym CRM from your AI assistant: leads, deals, orders, catalog, stock, marketplaces.
A CRM you talk to: leads, deals and a pipeline board inside ChatGPT, Grok and other MCP clients.
Ask your Quickbase apps in plain language. Read-only by default; writes need human approval.
Related MCP Servers
- 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
- FlicenseNot gradedqualityDmaintenanceAI-powered CRM assistant for Kommo/amoCRM that provides natural language management via Telegram bot and MCP protocol, enabling analytics, entity operations, and CRM setup.8-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with amoCRM, providing access to deals, contacts, companies, notes, tasks, and custom fields via natural language.MIT
- AlicenseAqualityBmaintenanceManage Kommo CRM leads, contacts, companies, pipelines, tasks, notes, tags and custom fields from natural language. Also packaged as a Kiro Power.3028 PyPI2MIT