mindbox-mcp
@theyahia/mindbox-mcp
Mindbox CDP API 用のMCPサーバー — 顧客プロフィール、注文、セグメント、商品リスト、および任意の操作。
機能
Mindbox API を操作するための6つのツール
トランスポート: stdio(デフォルト)および Streamable HTTP(
--http)Claude Desktop、Claude Code、Cursor、Smithery との互換性
backoff と冪等性(
transactionId)を備えたリトライ、HTTPトランスポートの保護一般的なシナリオを自動化するためのスキル
Related MCP server: MoySklad MCP Server
インストール
Claude Desktop
{
"mcpServers": {
"mindbox": {
"command": "npx",
"args": ["-y", "@theyahia/mindbox-mcp"],
"env": {
"MINDBOX_API_KEY": "ваш_ключ",
"MINDBOX_ENDPOINT_ID": "ваш_endpoint_id"
}
}
}
}Claude Code
claude mcp add mindbox -e MINDBOX_API_KEY=ваш_ключ -e MINDBOX_ENDPOINT_ID=ваш_endpoint_id -- npx -y @theyahia/mindbox-mcpStreamable HTTP
MINDBOX_API_KEY=ваш_ключ MINDBOX_ENDPOINT_ID=ваш_endpoint_id npx @theyahia/mindbox-mcp --http
# MCP endpoint: http://127.0.0.1:3000/mcp
# Health check: http://127.0.0.1:3000/healthデフォルトではサーバーは 127.0.0.1 をリッスンします(セキュリティ セクションを参照)。ポートは PORT、ホストは HOST で指定します。
Docker(HTTP)
docker build -t mindbox-mcp .
docker run --rm -p 3000:3000 \
-e MINDBOX_API_KEY=ваш_ключ -e MINDBOX_ENDPOINT_ID=ваш_endpoint_id \
-e MINDBOX_HTTP_ALLOWED_HOSTS=ваш-домен:3000 \
mindbox-mcpコンテナは 0.0.0.0:3000 をリッスンします。リバースプロキシの背後に配置する場合は、DNSリバインディング保護のため、MINDBOX_HTTP_ALLOWED_HOSTS に自分のホストを追加してください。
Smithery
smithery.yaml ファイルが含まれています。必須パラメータ: MINDBOX_API_KEY、MINDBOX_ENDPOINT_ID。
認証とエンドポイント
認証ヘッダー: Authorization: Mindbox secretKey="..."。
リクエストは POST https://api.mindbox.ru/v3/operations/{sync|async}?endpointId=…&operation=… に送信されます:
sync — 応答を伴う操作(顧客プロフィール、セグメント、注文作成、商品リスト)。デフォルトで使用されます。
async — fire-and-forget イベント(閲覧、カート追加)。
run_operationでmode: "async"により利用可能です。
操作のシステム名(
operation)は 各 Mindbox プロジェクトで設定 されます — これは汎用的な組み込みメソッドではありません。Website.GetCustomerInfoなどのデフォルトは一般的な慣例に過ぎません。プロジェクト管理者が一致するシステム名で操作を作成する必要があります。そうしないと Mindbox はProtocolErrorを返します。
環境変数
変数 | 必須 | 説明 |
| はい | Mindbox API シークレットキー( |
| はい | 統合ポイントID(endpointId) |
| いいえ | HTTPサーバーのポート(デフォルト: 3000) |
| いいえ | HTTPバインドホスト(デフォルト: 127.0.0.1) |
| いいえ |
|
| いいえ | DNSリバインディング保護用の追加許可 |
| いいえ | 追加許可 |
| いいえ |
|
| いいえ | 429/5xx/タイムアウト時のリトライ回数(デフォルト: 3) |
| いいえ | backoff の基本遅延(ms)(デフォルト: 500) |
| いいえ | 1回の試行のタイムアウト(ms)(デフォルト: 15000) |
ツール(6)
ツール | 説明 |
| email/電話/ID による顧客プロフィールの取得 |
| 顧客への紐付けを伴う注文の作成 |
| 顧客セグメントの取得 |
| 商品リストの取得 |
| 顧客プロフィールの更新 |
| ⚠️ Mindbox API の任意の操作の実行(セキュリティ を参照) |
セキュリティ
run_operationは、あなたのシークレットキーを使用して Mindbox の 任意の 操作を実行し、データを変更する可能性があります。信頼できないエージェントシナリオでは、これはプロンプトインジェクションのベクトルとなります。呼び出しは stderr にログ記録されます。完全に無効化するにはMINDBOX_ALLOW_RAW=0を設定します。HTTPトランスポート には、オプションの
MINDBOX_HTTP_TOKENを除き、組み込みの認証はありません。サーバーはデフォルトで127.0.0.1をリッスンし、DNSリバインディング保護(Host/Originの検証)が有効で、CORS*は/healthでのみ許可されています。リモートアクセスには、認証付きリバースプロキシの背後に配置し、必要がない限りポートを外部に公開しないでください。シークレットキーはサーバー側でのみ使用され、ブラウザに渡してはなりません。
スキル
スキル | 説明 | トリガー |
| Mindbox での顧客検索 | "Mindbox で顧客を検索" |
| セグメント統計 | "セグメント統計" |
リクエスト例
Найди клиента с email user@example.com
Создай заказ для клиента с телефоном +7900...
Какие сегменты у клиента user@example.com?
Покажи список товаров
Обнови имя клиента с ID 12345
Выполни операцию Custom.GetData с телом {"key": "value"}トラブルシューティング
症状 | 原因と解決策 |
|
|
|
|
| 操作のシステム名が Mindbox プロジェクトで設定されていません。一致する |
|
|
HTTP | DNSリバインディング保護が作動しました。 |
開発
npm install # установка + сборка (prepare)
npm run dev # stdio
npm run dev:http # HTTP на порту 3000
npm test # Vitest
npm run typecheck # tsc --noEmit
npm run lint # ESLintCONTRIBUTING.md を参照してください。
ライセンス
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 gradedqualityDmaintenanceProvides a standardized interface for interacting with Coda's tools and services through a unified API, following the MCP specification.3MIT
- AlicenseCqualityBmaintenanceMCP server for MoySklad (МойСклад) warehouse and CRM management API. 21 tools covering the full order lifecycle: products, stock, counterparties, customer orders, shipments, supplies, warehouses, organizations, reports, and webhooks.601215MIT
- AlicenseNot gradedqualityDmaintenanceProvides a standardized MCP interface for interacting with Shopify tools and services, enabling unified API access and compatibility with MCP-compliant clients.1MIT
- FlicenseNot gradedqualityDmaintenanceProvides comprehensive access to the Constant Contact API v3 for email marketing, campaign management, contact management, analytics, and automation through MCP tools.2
Related MCP Connectors
Mailchimp MCP Pack — manage audiences, campaigns, and members via Mailchimp Marketing API.
Monday.com MCP — wraps the Monday.com GraphQL API (BYO API key)
Search, document and execute authenticated API calls across 700+ apps via one MCP server
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/mindbox-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server