What is Bitkub Trading MCP?
Bitkub Trading MCP is an MCP server that exposes Bitkub’s REST and WebSocket endpoints as tools, built with Bun + TypeScript and the official @modelcontextprotocol/sdk, served over stdio. It is read-only by design — it never places orders, cancels orders, generates addresses, or initiates withdrawals. It is intended for users who want to query Bitkub exchange data (market data, account balances, order history, etc.) via an AI assistant (e.g., Claude) without risking fund movement.
How to use Bitkub Trading MCP?
Install via npx with an MCP client. The quickest method is using the Claude Code CLI: claude mcp add bitkub-trading-mcp -- npx -y bitkub-trading-mcp. For full features, add environment variables BITKUB_API_KEY and BITKUB_API_SECRET. Manual configuration is also supported by editing the client’s mcpServers JSON block. Requires Node.js 20+. Public tools work without an API key; secure tools require the key and secret in the env block (never as tool arguments).
Key features of Bitkub Trading MCP
- Provides 9 public REST tools (market data, status, ticker, etc.)
- Offers 12 secure read-only REST tools (balances, orders, history)
- Includes one public WebSocket ticker snapshot tool
- Exposes two private WebSocket tools (order updates, match updates)
- WebSocket tools are snapshot‑based, stateless, with configurable duration
- Auth signing uses HMAC‑SHA256 (v3 and v4)
- Concurrency cap of 5 private WebSocket connections per API key
Use cases of Bitkub Trading MCP
- Check current market prices, order books, and recent trades
- View wallet balances (crypto and fiat) without exposing private keys
- Review open orders, order history, and individual order details
- Monitor real‑time ticker data for a specific trading pair
- Observe order and match update events for active trading sessions
评论