MCP server
Connect Claude Code, Cursor, Claude Desktop, Codex, or OpenClaw to 115 WhiteBIT trading tools. Place orders, check balances, manage positions, and query market data using natural language.
CLI
Trade and manage the account directly from the terminal. 110+ commands with JSON output, multi-profile support, dry-run mode, and shell completion. Built for scripting and CI/CD pipelines.
Docs search via MCP
Configure Cursor, VS Code, or Claude Desktop to search the full WhiteBIT API documentation via MCP. The AI client gains direct access to all endpoint reference pages.
Docs page AI menu
Copy any documentation page for AI consumption, open pages in ChatGPT, Claude, Perplexity, or Grok, and access MCP connection options — from the dropdown on every documentation page.
Trading tools
The MCP server and CLI connect directly to the WhiteBIT exchange API. Both tools require a WhiteBIT account and API key for authenticated operations. Public market data tools (prices, order book, market info) require no authentication.| Tool | Best for | Authentication |
|---|---|---|
| MCP server | Natural language trading in an AI client | API key for private tools; "public" for market data |
| CLI | Terminal-based trading, scripting, automation | API key or environment variables |
What the trading tools support
Market data (no API key required)- Current prices, tickers, and 24-hour statistics
- Order book depth and recent trades
- Funding rate history and platform status
- Place, cancel, and modify limit, market, and stop orders
- Bulk order operations
- Open order listing and order history
- Open and close leveraged positions
- Manage leverage and position mode
- Conditional orders: OCO, stop-limit, trigger-market
- Deposit addresses for crypto and fiat
- Withdrawal requests
- Transfer between main, spot, and collateral accounts
- WhiteBIT codes (create, apply, list)
- Fixed and flexible staking plans
- Interest payment history
- Sub-account listing and balance queries
- Transfers to and from sub-accounts
Documentation tools
The docs search MCP and docs page AI menu help developers access API reference content inside AI tools without switching context.The documentation search MCP (
https://docs.whitebit.com/mcp) and the trading MCP (http://localhost:8080/mcp) are separate integrations. The documentation MCP searches API reference pages. The trading MCP executes API calls against the WhiteBIT exchange.Supported AI clients
| AI client | Trading MCP | Documentation MCP | Contextual menu |
|---|---|---|---|
| Claude Code | ✓ | — | — |
| Cursor | ✓ | ✓ | ✓ |
| Claude Desktop | ✓ | ✓ | — |
| Codex | ✓ | — | — |
| OpenClaw | ✓ | — | — |
| VS Code | — | ✓ | ✓ |
| ChatGPT, Claude, Perplexity, Grok | — | — | ✓ |
Related resources
- MCP server — Setup guide and client configuration for the WhiteBIT trading MCP
- CLI — Installation, authentication, command reference, and examples
- AI tools FAQ — Common questions about API key safety, supported clients, and account practices
- Authentication — How to generate and manage WhiteBIT API keys