mindbox-mcp
@theyahia/mindbox-mcp
MCP-Server für die Mindbox-CDP-API – Kundenprofile, Bestellungen, Segmente, Produktlisten und beliebige Operationen.
Funktionen
6 Tools für die Arbeit mit der Mindbox-API
Transport: stdio (Standard) und Streamable HTTP (
--http)Kompatibel mit Claude Desktop, Claude Code, Cursor, Smithery
Wiederholungen mit Backoff und Idempotenz (
transactionId), Schutz des HTTP-TransportsSkills zur Automatisierung typischer Szenarien
Related MCP server: Constant Contact MCP Server
Installation
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/healthStandardmäßig lauscht der Server auf 127.0.0.1 (siehe Abschnitt Sicherheit). Der Port wird über PORT, der Host über HOST festgelegt.
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-mcpDer Container lauscht auf 0.0.0.0:3000. Fügen Sie hinter einem Reverse-Proxy Ihren Host zu MINDBOX_HTTP_ALLOWED_HOSTS hinzu (DNS-Rebinding-Schutz).
Smithery
Die Datei smithery.yaml ist enthalten. Erforderliche Parameter: MINDBOX_API_KEY, MINDBOX_ENDPOINT_ID.
Autorisierung und Endpunkte
Autorisierungs-Header: Authorization: Mindbox secretKey="...".
Anfragen gehen an POST https://api.mindbox.ru/v3/operations/{sync|async}?endpointId=…&operation=…:
sync – Operationen mit Antwort (Kundenprofil, Segmente, Bestellungserstellung, Produktliste). Wird standardmäßig verwendet.
async – Fire-and-forget-Ereignisse (Ansichten, Warenkorb-Adds). Verfügbar für
run_operationübermode: "async".
Systemnamen von Operationen (
operation) werden in jedem Mindbox-Projekt konfiguriert – das sind keine universellen eingebauten Methoden. Standardwerte wieWebsite.GetCustomerInfosind nur eine verbreitete Konvention; der Projektadministrator muss Operationen mit übereinstimmenden Systemnamen erstellen, sonst gibt MindboxProtocolErrorzurück.
Umgebungsvariablen
Variable | Erforderlich | Beschreibung |
| ja | Geheimer API-Schlüssel von Mindbox (auch |
| ja | ID des Integrationspunkts (endpointId) |
| nein | Port des HTTP-Servers (Standard: 3000) |
| nein | HTTP-Bindungs-Host (Standard: 127.0.0.1) |
| nein | Bearer-Token zum Schutz von |
| nein | Zusätzlich erlaubte |
| nein | Zusätzlich erlaubte |
| nein |
|
| nein | Anzahl der Wiederholungen bei 429/5xx/Timeout (Standard: 3) |
| nein | Basisverzögerung des Backoffs in ms (Standard: 500) |
| nein | Timeout eines Versuchs in ms (Standard: 15000) |
Tools (6)
Tool | Beschreibung |
| Abrufen des Kundenprofils per E-Mail/Telefon/ID |
| Erstellen einer Bestellung mit Verknüpfung zum Kunden |
| Abrufen der Kundensegmente |
| Abrufen der Produktliste |
| Aktualisieren des Kundenprofils |
| ⚠️ Ausführen einer beliebigen Mindbox-API-Operation (siehe Sicherheit) |
Sicherheit
run_operationführt eine BELIEBIGE Mindbox-Operation unter Ihrem geheimen Schlüssel aus und kann Daten ändern. In nicht vertrauenswürdigen Agentenszenarien ist dies ein Vektor für Prompt-Injection. Aufrufe werden in stderr protokolliert; vollständig deaktivieren –MINDBOX_ALLOW_RAW=0.HTTP-Transport hat keine eingebaute Authentifizierung, außer dem optionalen
MINDBOX_HTTP_TOKEN. Der Server lauscht standardmäßig auf127.0.0.1, DNS-Rebinding-Schutz ist aktiviert (Validierung vonHost/Origin), CORS*ist nur auf/healtherlaubt. Für den Fernzugriff setzen Sie ihn hinter einen authentifizierenden Reverse-Proxy und öffnen Sie den Port nicht unnötig nach außen.Der geheime Schlüssel wird nur serverseitig verwendet und darf niemals in den Browser gelangen.
Skills
Skill | Beschreibung | Auslöser |
| Kundensuche in Mindbox | "Finde den Kunden in Mindbox" |
| Segmentstatistiken | "Segmentstatistiken" |
Beispielanfragen
Найди клиента с email user@example.com
Создай заказ для клиента с телефоном +7900...
Какие сегменты у клиента user@example.com?
Покажи список товаров
Обнови имя клиента с ID 12345
Выполни операцию Custom.GetData с телом {"key": "value"}Fehlerbehebung
Symptom | Ursache und Lösung |
|
|
| Falscher |
| Der Systemname der Operation ist im Mindbox-Projekt nicht konfiguriert. Erstellen Sie eine Operation mit übereinstimmendem |
|
|
HTTP | DNS-Rebinding-Schutz hat ausgelöst. Fügen Sie Ihren Host zu |
Entwicklung
npm install # установка + сборка (prepare)
npm run dev # stdio
npm run dev:http # HTTP на порту 3000
npm test # Vitest
npm run typecheck # tsc --noEmit
npm run lint # ESLintSiehe CONTRIBUTING.md.
Lizenz
MIT
Available Tools
6 toolscreate_orderB
Создание заказа в Mindbox с привязкой к клиенту.
Inputs: lines (required), order_id (required), total_price (required), operation, +3 more.
get_customerA
Получение профиля клиента из Mindbox по email, телефону или ID.
Inputs: email, phone, operation, external_id.
get_product_listC
Получение списка товаров из Mindbox.
Inputs: page, operation, page_size.
get_segmentsC
Получение сегментов клиента в Mindbox.
Inputs: email, phone, operation, external_id.
run_operationA
⚠️ ОПАСНО: выполнение ПРОИЗВОЛЬНОЙ операции Mindbox API под секретным ключом. Может изменять данные. Отключается через MINDBOX_ALLOW_RAW=0.
Inputs: operation (required), body, mode.
update_customerC
Обновление профиля клиента в Mindbox.
Inputs: email, phone, last_name, operation, +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a distinct function: customer profile retrieval/update, order creation, segments lookup, product list, and a raw operation escape hatch. No two tools seem to overlap, and the dangerous run_operation is clearly separated by its warning.
All tools follow a consistent snake_case verb_noun pattern (get_customer, create_order, get_segments, get_product_list, update_customer, run_operation). This is predictable and easy for an agent to parse.
With 6 tools, the set is well-scoped for a CRM/ecommerce integration. It covers core customer and order operations without unnecessary bloat, making it easy to navigate.
The set covers customer retrieval/update, order creation, segments, and products, but lacks explicit order retrieval or listing, and there is no direct customer creation. However, the run_operation tool provides a raw API fallback, mitigating some gaps, though it introduces risk.
Maintenance
Related MCP Connectors
Authenticated MCP access to WebMoney wallets, transactions, messages and invoices.
Mailchimp MCP Pack — manage audiences, campaigns, and members via Mailchimp Marketing API.
Send transactional email and manage domains, audiences, and broadcasts from any MCP client.
Build and run AI workflows, agents, data tables and 1000+ API integrations from any MCP client.
Related MCP Servers
- AlicenseCqualityCmaintenanceMCP 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.6071 npm10MIT
- AlicenseNot gradedqualityDmaintenanceProvides comprehensive access to the Constant Contact API v3 for email marketing, campaign management, contact management, analytics, and automation through MCP tools.2MIT
- AlicenseNot gradedqualityCmaintenanceEnables managing Ozon Seller and Performance APIs through MCP, covering products, stocks, prices, orders, finance, analytics, advertising, reviews, and chat operations.MIT
- AlicenseAqualityDmaintenanceEnables managing Kontur.Elba data through the official Public API, including organizations, bank accounts, counterparties, products, documents, invoices, and public links via MCP tools.48 npmMIT