crm-mcp
crm-mcp
Claude CodeとRowan Rose CRMを接続するMCP(Model Context Protocol)サーバーです。ClaudeのMCPツール呼び出しと、CRMバックエンドの既存の /api/crm/* RESTエンドポイントとの間の軽量な変換レイヤーとして機能します。
アーキテクチャ
Claude Code ──HTTPS+Bearer──▶ mcp.rowanroseclaims.co.uk ──HTTPS+x-api-key──▶ crm.rowanroseclaims.co.uk/api/crm/*
(this server, EC2) (existing CRM, EC2)3つの独立した認証境界。このサーバーはDBやS3の認証情報を保持しません。
Related MCP server: MCP ERPNext Plugin
ツール(フェーズ1、読み取り専用)
ツール | 目的 |
| リファレンス、メールアドレス、または名前で連絡先を検索 |
| 連絡先の詳細情報とすべての関連案件を取得 |
| 案件の全状態(貸し手、ステータス、日付、拡張フィールド)を取得 |
| 連絡先のS3ドキュメントを一覧表示(案件/貸し手/カテゴリでフィルタリング) |
| PDF/DOCXからテキストを抽出 |
| 連絡先と案件を横断検索 |
| 連絡先のコミュニケーション/アクションのタイムラインを取得 |
| 既知の貸し手ディレクトリ(正式名称 + エイリアス) |
ローカル開発
cp .env.example .env
# fill in CRM_API_KEY (from CRM .env) and MCP_API_KEY (generate)
npm install
npm run build
npm start # HTTP transport on :5050
npm run start:stdio # stdio transport (for direct Claude Code stdio use)ヘルスチェック:
curl http://127.0.0.1:5050/healthz本番環境へのデプロイ
専用のEC2(CRMサーバーとは別)上でPM2を使用して実行されます。
git pull
npm ci
npm run build
pm2 reload ecosystem.config.cjs
pm2 saveNginxが mcp.rowanroseclaims.co.uk のTLSを終端し、127.0.0.1:5050 にプロキシします。
Claude Codeへの登録
claude mcp add --transport http crm \
https://mcp.rowanroseclaims.co.uk/mcp \
--header "Authorization: Bearer <MCP_API_KEY>" \
--scope user環境変数
.env.example を参照してください。.env は決してコミットしないでください。
監査ログ
すべてのツール呼び出しは pino を介して構造化されたログ行として書き込まれます。ログは /home/ubuntu/crm-mcp/logs/ に保存されます。フェーズ3では、これらをPostgresの mcp_audit_log テーブルに移行する予定です。
ライセンス
社内用 — Rowan Rose / Fast Action Claims
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
API-first CRM for LLMs - contacts, companies, deals and activities over a native MCP server.
LeadConnector / GoHighLevel MCP Pack — wraps the GoHighLevel CRM for AI agents.
Marketo MCP server for AI. 130 tools to operate Marketo from Claude, Cursor, or ChatGPT.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables Claude to manage GoHighLevel CRM contacts, pipelines, and workflows through natural language commands.34 npmMIT
- AlicenseNot gradedqualityDmaintenanceIntegrates Claude with ERPNext v16, enabling CRUD operations, queries, and method calls through a secure MCP interface.MIT
- AlicenseNot gradedqualityDmaintenanceConnects Claude Code with GoHighLevel CRM to manage contacts, pipelines, calendars, conversations, workflows, funnels, and forms via natural language.MIT

theLeadRouter MCPofficial
AlicenseNot gradedqualityDmaintenanceConnects Claude Code to the theLeadRouter lead routing platform, enabling lead management, routing, and reporting via API.111 npmMIT