Frappe MCP
Frappe MCP
erp.tourscale.com にある TourScale ERPNext / FranOS インスタンス用の読み取り専用 Model Context Protocol サーバーです。エージェントがフランチャイジー、フランチャイズ契約、FBU、資産、COI、および ERPNext の請求書/GLエントリを照会できるようにします。
公開されている機能
ツール | 目的 |
| 接続確認 — APIユーザーのIDを返します |
| オプションのフィルター付きフランチャイジー一覧 |
| 名前によるフランチャイジーの全ドキュメント取得 (例: |
| フランチャイズ契約一覧。コンプライアンス監視用の期限切れウィンドウ指定が可能 |
| 子テーブル(ブランド/ロイヤリティ/テリトリー)を含むFAを1件取得 |
| FBU一覧 |
| 運営住所を含むFBUを1件取得 |
| 車両/船舶一覧 |
| 更新ウィンドウフィルター付きの保険証明書一覧 |
| あらゆるDoctypeに対応する汎用的なエスケープハッチ |
| 名前による汎用的な取得 |
| レコード数のカウント |
| 売上請求書一覧 |
| GL元帳エントリ |
Related MCP server: easypaydirect-mcp
認証の仕組み
APIキーとシークレットを使用して claude-mcp@tourscale.com ユーザーとして ERPNext REST API と通信します(Frappeネイティブの認証スキーム: Authorization: token <key>:<secret>)。
このユーザーは ERPNext 上で System Manager ロールを持っています。MCPレイヤーが信頼境界となります。上記のツールは設計上、読み取り専用です。書き込みツールを安易に追加しないでください。変更が必要なエージェントは、汎用的なCRUDではなく、目的を絞った特定のツールを呼び出すべきです。
キーをローテーションするには、bench --site erp.tourscale.local console で generate_keys フローを再実行し、マスター環境変数で FRAPPE_API_KEY と FRAPPE_API_SECRET を更新してから、ts-frappe-mcp を再起動してください。
デプロイメント
コンテナ:
tourscale-net上のts-frappe-mcpポート:
127.0.0.1:8096にバインド(ループバックのみ — ローカルエージェントクライアントまたはSSHトンネル経由でアクセス)Composeエントリの場所:
/opt/tourscale/docker-compose.services.yml環境ファイル:
/opt/tourscale/frappe-mcp/.env(マスター環境からソース)
ローカル開発
FRAPPE_API_URL=https://erp.tourscale.com \
FRAPPE_API_KEY=... \
FRAPPE_API_SECRET=... \
python3 server.pyその後、任意のMCPクライアント(Claude Code、FastMCPデバッグツールなど)を介してツールを呼び出します。
Related MCP Connectors
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
The HubSpot MCP Server acts as a bridge that enables AI assistants and Large Language Models to securely interact with HubSpot CRM data through natural conversation, without requiring users to understand complex API structures. It provides read-only access to standard CRM objects (contacts, companies, deals, tickets, products, invoices, and more) and their associations, secured via OAuth 2.0, allowing AI agents to perform tasks like summarizing deals, fetching company updates, and looking up record changes.
Token-free MCP server for structured RevoGrid Core, Pro, and Enterprise knowledge retrieval.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceMCP server that enables LLMs to interact with ERPNext/Frappe sites for document CRUD, search, reports, workflows, and analytics, respecting user permissions and logging all actions.316AGPL 3.0
- AlicenseAqualityAmaintenanceRead-only MCP server for Easy Pay Direct / NMI payment gateway, enabling natural language queries of transactions, subscriptions, and customer vault records.7241 npmMIT
- AlicenseNot gradedqualityCmaintenanceMCP server that enables Claude, ChatGPT, and other LLMs to interact with ERPNext sites through natural language, supporting document CRUD, search, reports, workflows, and custom tools, while respecting user permissions and logging all calls.AGPL 3.0
- AlicenseNot gradedqualityDmaintenanceRead-only MCP server for Omie ERP, enabling AI assistants to query financial data, accounts payable/receivable, bank reconciliation, invoices, and movements via natural language.12MIT