@theyahia/amocrm-mcp
@theyahia/amocrm-mcp
本番運用グレードのMCPサーバーです。amoCRM API用に、リード、連絡先、企業、パイプライン、タスク、メモ、検索、イベント、未選別リードをカバーする19のツールを提供します。OAuth 2.0による自動トークン更新、レート制限(7 req/sec)、指数バックオフ再試行を備えています。
インストール
npx -y @theyahia/amocrm-mcpRelated MCP server: amocrm-mcp
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:00です。その後、私の未完了タスクをすべて一覧表示してください。
新規クライアントのオンボーディング:
「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に設定Client ID と Client Secret をコピー
インテグレーションを認証して初期のAuthorization Codeを取得
コードをトークンと交換:
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 req/sec)
開発
git clone https://github.com/theYahia/amocrm-mcp.git
cd amocrm-mcp
npm install
npm run build
npm testライセンス
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