Zebpay MCP Server
OfficialProvides tools for interacting with the ZebPay API, enabling spot and futures market data retrieval, account balance management, and trading operations such as placing and canceling orders.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Zebpay MCP ServerShow my Bitcoin balance on Zebpay spot"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Zebpay MCP Server

Production-ready TypeScript MCP (Model Context Protocol) server for Zebpay spot and futures APIs, using stdio transport only. Model Context Protocol (MCP) is a standard way for AI assistants to securely call tools and data sources. It is designed for MCP clients like Cursor, Claude Desktop, and MCP Inspector that connect through local process execution. The server provides both market-data and trading workflows with strict validation, safe error handling, and developer-friendly observability.
What This Server Provides
Public market data tools (spot + futures)
Private trading/account tools (requires API credentials)
MCP resources and prompts for agent workflows
Request validation via Zod
Structured error handling and optional file logging
Related MCP server: Cashfree MCP Server
Features
Stdio-only MCP server for secure local integration with MCP clients
Spot and futures API coverage for both public and authenticated operations
HMAC-based authenticated request flow for private endpoints
Input validation and normalized MCP error responses
Outbound request retries and timeout controls
Optional structured file logging for debugging and auditability
Supported Tools
Spot (Public + Private)
Market data: tickers, order book, trades, klines, exchange info, currencies
Trading: place market/limit orders, cancel orders, cancel by symbol, cancel all
Account: balances, open orders, order history, trade history, exchange fee
Example tool names:
zebpay_public_getTickerzebpay_public_getOrderBookzebpay_spot_placeMarketOrderzebpay_spot_placeLimitOrderzebpay_spot_getBalance
Futures (Public + Private)
Market data: health status, markets, market info, order book, 24h ticker, aggregate trades
Trading/account: wallet balance, place order, add/reduce margin, open orders, positions
History: order history, linked orders, trade history, transaction history
Example tool names:
zebpay_futures_public_getMarketszebpay_futures_public_getOrderBookzebpay_futures_placeOrderzebpay_futures_getWalletBalancezebpay_futures_getPositions
Tech Stack
Node.js (ESM)
TypeScript
@modelcontextprotocol/sdkundicizod
Project Structure
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 typesPrerequisites
Node.js 20+
npm 9+
Zebpay API credentials (for private tools)
Create your API key/secret from the official ZebPay API portal:
https://api.zebpay.com/
Creating a ZebPay API Key
Use the steps below to generate API credentials for this MCP server:
Open the ZebPay API portal:
https://api.zebpay.com/Sign in to your ZebPay account.
Go to API Trading and click Create New API Key.
Enter key details:
key name (for example:
zebpay-mcp-local)required permissions (read-only for market/account checks, trading permissions only if needed)
optional IP whitelist (recommended for better security)
Complete OTP verification.
Copy and save:
API Key
Secret Key (shown once)
Then add them to your local .env file:
ZEBPAY_API_KEY=your_api_key
ZEBPAY_API_SECRET=your_api_secretSecurity notes:
Never commit API keys/secrets to git.
Prefer least-privilege API permissions.
Rotate keys immediately if exposed.
Setup
git clone <your-repo-url>
cd zebpay-mcp-server
npm install
cp env.example .envUpdate .env (all values are read from environment; there are no fallback defaults in 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=2Build and Run
npm run build
npm startOptional logging to file:
npm run start:logMCP Client Configuration (Stdio)
Example MCP client config:
{
"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"
}
}
}
}Also see: mcp-config.json.example.
Environment Variables
Variable | Required | Description | Example value |
| Yes | Zebpay API key (required for private tools) |
|
| Yes | Zebpay API secret (required for private tools) |
|
| Yes | Must be |
|
| Yes | Spot API base URL |
|
| Yes | Futures API base URL |
|
| Yes | Market API base URL |
|
| Yes |
|
|
| No | File path for logs |
|
| Yes | Outbound request timeout (ms) |
|
| Yes | Retry count for outbound requests |
|
Developer Commands
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:clearLogging
Log tools and examples:
scripts/README.mdFull logging docs:
docs/LOGGING.mdKeep logs out of git (
logs/is ignored)
Issues
Found a bug or want to request a feature?
Create an issue from the GitHub Issues tab for this repository.
You can also use direct links after replacing
<your-org>and<your-repo>:Bug report:
https://github.com/<your-org>/<your-repo>/issues/new?template=bug_report.mdFeature request:
https://github.com/<your-org>/<your-repo>/issues/new?template=feature_request.md
Include these details for faster triage:
MCP client used (Cursor/Claude Desktop/other)
Node.js version and OS
Minimal reproduction steps
Relevant logs (redact secrets)
License
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