Zebpay MCP Server
OfficialZebpay MCP Server

Produktionsreifer TypeScript-MCP (Model Context Protocol)-Server für Zebpay-Spot- und Futures-APIs, der ausschließlich stdio-Transport verwendet. Das Model Context Protocol (MCP) ist ein Standardweg für KI-Assistenten, um sicher auf Tools und Datenquellen zuzugreifen. Es ist für MCP-Clients wie Cursor, Claude Desktop und MCP Inspector konzipiert, die über lokale Prozessausführung verbunden werden. Der Server bietet sowohl Marktdaten- als auch Handels-Workflows mit strenger Validierung, sicherer Fehlerbehandlung und entwicklerfreundlicher Beobachtbarkeit.
Was dieser Server bietet
Öffentliche Marktdaten-Tools (Spot + Futures)
Private Handels-/Kontotools (erfordert API-Anmeldedaten)
MCP-Ressourcen und Prompts für Agent-Workflows
Anfragevalidierung über Zod
Strukturierte Fehlerbehandlung und optionale Dateiprotokollierung
Related MCP server: Cashfree MCP Server
Funktionen
Nur-Stdio-MCP-Server für sichere lokale Integration mit MCP-Clients
Abdeckung der Spot- und Futures-APIs für öffentliche und authentifizierte Vorgänge
HMAC-basierter authentifizierter Anfragefluss für private Endpunkte
Eingabevalidierung und normalisierte MCP-Fehlerantworten
Wiederholungs- und Timeout-Steuerung für ausgehende Anfragen
Optionale strukturierte Dateiprotokollierung für Debugging und Prüfbarkeit
Unterstützte Tools
Spot (Öffentlich + Privat)
Marktdaten: Ticker, Orderbuch, Trades, Klines, Börseninformationen, Währungen
Handel: Markt-/Limit-Orders platzieren, Orders stornieren, nach Symbol stornieren, alle stornieren
Konto: Guthaben, offene Orders, Orderhistorie, Tradehistorie, Börsengebühr
Beispiel-Toolnamen:
zebpay_public_getTickerzebpay_public_getOrderBookzebpay_spot_placeMarketOrderzebpay_spot_placeLimitOrderzebpay_spot_getBalance
Futures (Öffentlich + Privat)
Marktdaten: Gesundheitsstatus, Märkte, Marktinformationen, Orderbuch, 24h-Ticker, aggregierte Trades
Handel/Konto: Wallet-Guthaben, Order platzieren, Margin hinzufügen/reduzieren, offene Orders, Positionen
Verlauf: Orderhistorie, verknüpfte Orders, Tradehistorie, Transaktionshistorie
Beispiel-Toolnamen:
zebpay_futures_public_getMarketszebpay_futures_public_getOrderBookzebpay_futures_placeOrderzebpay_futures_getWalletBalancezebpay_futures_getPositions
Technologie-Stack
Node.js (ESM)
TypeScript
@modelcontextprotocol/sdkundicizod
Projektstruktur
src/
├── index.ts # Stdio MCP server entrypoint
├── mcp/ # Tools, resources, prompts, MCP errors/logging
├── private/ # Authenticated Zebpay clients
├── public/ # Public market-data clients
├── security/ # Credentials + signing helpers
├── http/ # Shared outbound HTTP client to Zebpay APIs
├── validation/ # Schemas and validation helpers
├── utils/ # Caching, metrics, formatting, file logging
└── types/ # Shared response typesVoraussetzungen
Node.js 20+
npm 9+
Zebpay-API-Anmeldedaten (für private Tools)
Erstellen Sie Ihren API-Schlüssel/Geheimnis über das offizielle ZebPay-API-Portal:
https://api.zebpay.com/
Erstellen eines ZebPay-API-Schlüssels
Öffnen Sie das ZebPay-API-Portal:
https://api.zebpay.com/Melden Sie sich bei Ihrem ZebPay-Konto an.
Gehen Sie zu API Trading und klicken Sie auf Create New API Key.
Geben Sie Schlüsseldetails ein:
Schlüsselname (z. B.
zebpay-mcp-local)erforderliche Berechtigungen (nur Lesen für Markt-/Kontoprüfungen, Handelsberechtigungen nur bei Bedarf)
optionale IP-Whitelist (für bessere Sicherheit empfohlen)
Schließen Sie die OTP-Verifizierung ab.
Kopieren und speichern Sie:
API-Schlüssel
Geheimschlüssel (wird nur einmal angezeigt)
Fügen Sie sie dann zu Ihrer lokalen .env-Datei hinzu:
ZEBPAY_API_KEY=your_api_key
ZEBPAY_API_SECRET=your_api_secretSicherheitshinweise:
Committen Sie API-Schlüssel/Geheimnisse niemals in Git.
Bevorzugen Sie API-Berechtigungen mit geringsten Rechten.
Rotieren Sie Schlüssel sofort, wenn sie offengelegt wurden.
Einrichtung
git clone <your-repo-url>
cd zebpay-mcp-server
npm install
cp env.example .envAktualisieren Sie .env (alle Werte werden aus der Umgebung gelesen; es gibt keine Fallback-Standardwerte im Code):
ZEBPAY_API_KEY=your_api_key # Use the API key from the step above
ZEBPAY_API_SECRET=your_api_secret # Use the Secret key from the step above
ZEBPAY_SPOT_BASE_URL=https://sapi.zebpay.com/api/v2
ZEBPAY_FUTURES_BASE_URL=https://futuresbe.zebpay.com/api/v1
ZEBPAY_MARKET_BASE_URL=https://www.zebapi.com/api/v1/market
MCP_TRANSPORTS=stdio
LOG_LEVEL=info
HTTP_TIMEOUT_MS=15000
HTTP_RETRY_COUNT=2Erstellen und Ausführen
npm run build
npm startOptionale Protokollierung in Datei:
npm run start:logMCP-Client-Konfiguration (Stdio)
Beispiel-MCP-Client-Konfiguration:
{
"mcpServers": {
"zebpay": {
"command": "node",
"args": [
"/absolute/path/to/zebpay-mcp-server/dist/index.js"
],
"env": {
"ZEBPAY_API_KEY": "YOUR_API_KEY_HERE",
"ZEBPAY_API_SECRET": "YOUR_API_SECRET_HERE",
"LOG_LEVEL": "info"
}
}
}
}Siehe auch: mcp-config.json.example.
Umgebungsvariablen
Variable | Erforderlich | Beschreibung | Beispielwert |
| Ja | Zebpay-API-Schlüssel (erforderlich für private Tools) |
|
| Ja | Zebpay-API-Geheimnis (erforderlich für private Tools) |
|
| Ja | Muss |
|
| Ja | Spot-API-Basis-URL |
|
| Ja | Futures-API-Basis-URL |
|
| Ja | Markt-API-Basis-URL |
|
| Ja |
|
|
| Nein | Dateipfad für Protokolle |
|
| Ja | Timeout für ausgehende Anfragen (ms) |
|
| Ja | Wiederholungsanzahl für ausgehende Anfragen |
|
Entwicklerbefehle
npm run build
npm test
npm run test:watch
npm run logs
npm run logs:watch
npm run logs:errors
npm run logs:stats
npm run logs:clearProtokollierung
Tools und Beispiele protokollieren:
scripts/README.mdVollständige Protokollierungsdokumentation:
docs/LOGGING.mdProtokolle aus Git heraushalten (
logs/wird ignoriert)
Probleme
Einen Fehler gefunden oder ein Feature anfragen?
Erstellen Sie ein Issue über den GitHub-Tab Issues für dieses Repository.
Sie können auch direkte Links verwenden, nachdem Sie
<your-org>und<your-repo>ersetzt haben:Fehlerbericht:
https://github.com/<your-org>/<your-repo>/issues/new?template=bug_report.mdFeature-Anfrage:
https://github.com/<your-org>/<your-repo>/issues/new?template=feature_request.md
Fügen Sie diese Details für eine schnellere Bearbeitung hinzu:
Verwendeter MCP-Client (Cursor/Claude Desktop/andere)
Node.js-Version und Betriebssystem
Minimale Reproduktionsschritte
Relevante Protokolle (Geheimnisse schwärzen)
Lizenz
MIT
This server cannot be installed
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 gradedqualityDmaintenanceA Model Context Protocol server that enables AI models to interact with the Zerodha trading platform, allowing users to execute trades, view portfolio holdings, and manage positions through a standardized interface.3MIT

Cashfree MCP Serverofficial
FlicenseNot gradedqualityBmaintenanceEnables AI tools and agents to integrate with Cashfree's payment services (Payment Gateway, Payouts, and SecureID) using the Model Context Protocol, allowing transactions and account management through natural language.5713- AlicenseNot gradedqualityCmaintenanceConnects AI assistants to OKX cryptocurrency exchange for trading, market data, account management, and more via the Model Context Protocol.30MIT

Fireblocks MCP Serverofficial
AlicenseNot gradedqualityCmaintenanceEnables AI assistants to securely interact with Fireblocks services through the Model Context Protocol, supporting transaction management, vault and exchange account queries, network connections, and workspace user management.8010MIT
Related MCP Connectors
No-KYC managed MCP for AI agents: sandboxed TypeScript trading SDK, isolated sub-accounts, futures.
Connect your Necton account to AI via Brazil's Open Finance: balances, statements, cards, investment
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
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/zebpay/zebpay-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server