WhiteBit MCP Server
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
WhiteBit MCP Server is a Model Context Protocol server for the WhiteBit cryptocurrency exchange. It exposes 100+ trading and account tools — auto-generated from the official WhiteBit Python SDK — that any MCP-compatible AI assistant can call through natural language. Check prices, manage orders, query balances, handle withdrawals, and more.
Works with Claude Code, Claude Desktop, Cursor, and any other MCP-compatible client.
Credentials are supplied at connection time, not as tool parameters. HTTP/Docker transport: pass
X-WB-Api-KeyandX-WB-Secret-Keyrequest headers. stdio/uvx transport: setWHITEBIT_API_KEYandWHITEBIT_SECRET_KEYenvironment variables.
Prerequisites
Before you start, make sure you have the following:
Requirement | Details |
Docker & Docker Compose | To run the server — install Docker |
WhiteBit account | Sign up at whitebit.com |
WhiteBit API key | Profile → API keys → Create key (Read and/or Trade permissions) |
MCP-compatible AI client | Claude Code, Claude Desktop, Cursor, or any other MCP client |
Python 3.11+ | Only if running without Docker |
Related MCP server: bybit-mcp
Quick Start
1. Get your WhiteBit API credentials
Log in to whitebit.com → Profile → API keys
Create a new key — choose Read and/or Trade permissions as needed
Copy your API Key and Secret Key
Public endpoints (market data, tickers, order book) work without credentials. Private endpoints (account, trading) require both.
2. Start the server
git clone https://github.com/whitebit-exchange/whitebit-mcp.git
cd whitebit-mcp
docker compose up -dThe server starts at http://localhost:8080.
3. Add to your AI client
Claude Code (project-level)
Create or update .mcp.json in your project root:
{
"mcpServers": {
"whitebit-mcp": {
"type": "http",
"url": "http://localhost:8080/mcp",
"headers": {
"X-WB-Api-Key": "YOUR_API_KEY",
"X-WB-Secret-Key": "YOUR_SECRET_KEY"
}
}
}
}Or via CLI:
claude mcp add whitebit-mcp "http://localhost:8080/mcp" \
-t http -s user \
-H "X-WB-Api-Key: YOUR_API_KEY" \
-H "X-WB-Secret-Key: YOUR_SECRET_KEY"That's it. Your AI can now trade on WhiteBit.
Integrations
VS Code (Claude Extension)
Install the Claude extension for VS Code, then add the server via CLI:
claude mcp add whitebit-mcp "http://localhost:8080/mcp" \
-t http -s user \
-H "X-WB-Api-Key: YOUR_API_KEY" \
-H "X-WB-Secret-Key: YOUR_SECRET_KEY"Or create .mcp.json in your project root to share the config with your team:
{
"mcpServers": {
"whitebit-mcp": {
"type": "http",
"url": "http://localhost:8080/mcp",
"headers": {
"X-WB-Api-Key": "YOUR_API_KEY",
"X-WB-Secret-Key": "YOUR_SECRET_KEY"
}
}
}
}Once added, use /mcp in the Claude chat panel to enable, disable, or reconnect the server.
.mcp.jsonis in.gitignoreby default — if you want to share it with your team, remove it from.gitignorefirst.
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"whitebit-mcp": {
"type": "http",
"url": "http://localhost:8080/mcp",
"headers": {
"X-WB-Api-Key": "YOUR_API_KEY",
"X-WB-Secret-Key": "YOUR_SECRET_KEY"
}
}
}
}Cursor
Add to your Cursor MCP settings (~/.cursor/mcp.json):
{
"mcpServers": {
"whitebit-mcp": {
"type": "http",
"url": "http://localhost:8080/mcp",
"headers": {
"X-WB-Api-Key": "YOUR_API_KEY",
"X-WB-Secret-Key": "YOUR_SECRET_KEY"
}
}
}
}Codex
Add to your Codex MCP settings (~/.codex/config.toml):
[mcp_servers.whitebit-mcp]
type = "http"
url = "http://localhost:8080/mcp"
[mcp_servers.whitebit-mcp.headers]
"X-WB-Api-Key" = "YOUR_API_KEY"
"X-WB-Secret-Key" = "YOUR_SECRET_KEY"
### OpenClaw
Add via CLI:
```bash
openclaw mcp set whitebit-mcp '{"url":"http://localhost:8080/mcp","headers":{"X-WB-Api-Key":"YOUR_API_KEY","X-WB-Secret-Key":"YOUR_SECRET_KEY"}}'Or add to your OpenClaw config under mcp.servers:
{
"mcp": {
"servers": {
"whitebit-mcp": {
"url": "http://localhost:8080/mcp",
"headers": {
"X-WB-Api-Key": "YOUR_API_KEY",
"X-WB-Secret-Key": "YOUR_SECRET_KEY"
}
}
}
}
}Any MCP-compatible client
The server uses standard Streamable HTTP transport on http://localhost:8080/mcp. Pass your API credentials in X-WB-Api-Key and X-WB-Secret-Key request headers — the server never stores them.
Usage Examples
Once connected, talk to your AI naturally:
"What's the current BTC/USDT price?"
"Show me my spot account balance"
"Place a limit buy order for 0.01 BTC at $95,000"
"Cancel all my open orders on ETH/USDT"
"What are the trading fees for BTC/USDT?"
"Transfer 100 USDT from my main account to my trade account"
"Show my open collateral positions"
"Withdraw 500 USDT to address 0x..."Skills
The server ships a set of skills — curated, step-by-step playbooks for common
tasks. Each is exposed as a skill_<name> tool, and the server routes your request
to the right one by intent, so you just ask naturally.
Skill | Use it for |
| Placing, cancelling, or modifying orders |
| Prices, order book, candles |
| Balances, positions, history |
| Technical analysis on a pair |
| Reviewing past trading performance |
| Recurring buys (DCA) |
| OCO / TWAP / algorithmic orders |
| Whale activity / volume spikes |
| News & sentiment for a coin |
| Checking the MCP server is healthy |
| End-user how-to / support questions, from the official Help Center |
Help Center assistant
skill_user_support answers end-user questions about how WhiteBit works (deposits,
withdrawals, KYC, fees, 2FA, networks, codes, Earn) in plain language, grounded in
the official Help Center and docs, with links to the relevant articles:
"How do I withdraw USDT, and which networks are supported?"
"Why hasn't my deposit arrived yet?"
"How do I enable 2FA?"How Credentials Work
Credentials are supplied at connection time — not as tool parameters. The server reads them once per request and applies them to every API call automatically.
Transport | How to supply credentials |
HTTP / Docker |
|
stdio / uvx |
|
Endpoint type | What is needed |
Public (market data) | No credentials required |
Private (trading, account) | API key + secret key — every request is HMAC-SHA512 signed automatically |
Use get_credentials_status to verify that credentials are configured correctly.
Configuration
Copy .env.example to .env and adjust as needed:
# WhiteBit API base URL
WHITEBIT_BASE_URL=https://whitebit.com
# Server port (default: 8000)
PORT=8000
# Log level: debug | info | warn | error
LOG_LEVEL=infoAvailable Tools
100+ tools auto-generated from the official WhiteBit Python SDK across 15 categories:
Category | Tool prefix |
Public API v4 |
|
Main account |
|
Deposit |
|
Withdraw |
|
Transfer |
|
Codes |
|
Spot trading |
|
Collateral trading |
|
Market fee |
|
Fees |
|
Convert |
|
Travel rule |
|
Sub-account |
|
Sub-account API keys |
|
Credit line |
|
Credentials |
|
Tools are named {category}__{method} (e.g. spot_trading__create_limit_order). All tool names and parameters are derived directly from the SDK — no manual mapping.
Security
Credentials are read from headers/env vars — never stored in server memory or logs, never passed as tool parameters to the AI
Use read-only API keys if you only need market data or account queries
For trading, create a dedicated API key with only the permissions you need
Consider IP whitelisting on your WhiteBit API key for additional protection
Running without Docker
Requirements: Python 3.11+
pip install -r requirements.txt
# Run
python server.pyThe server listens on PORT (default 8000). When running via Docker the host port is 8080 (mapped in docker-compose.yml).
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Trade 16 crypto exchanges + MetaTrader 5 from your AI assistant via one MCP connection.
Warden MCP lets AI agents find tokens, quote swaps and trade onchain on Base, BNB Chain, Robinhood Chain, Arc and Solana, within limits you set. Market tools need no credential: list_chains, search_tokens, trending_tokens, price_history, quote_swap and swap_status. Search by name, ticker or contract address, read USD price candles, and price a swap before committing to it, including cross-chain swaps. Wallet tools act for the wallet whose owner connected the agent, by OAuth sign-in or a wk_ key. agent_permissions shows what the agent may do and its daily limits. prepare_swap builds a trade and hands the owner a review link to sign. With request_session the owner turns on hands-free trading in one tap, and execute_swap then trades within the limits they set. swap_status tracks gasless and cross-chain trades. get_wallet shows holdings on every chain. Gasless trading is available on Base, BNB Chain and Robinhood Chain. Built by Warden Protocol, the team behind Warden Token Terminal.
OpenFinance gives any AI agent easy trading across every major market through one hosted MCP server. Trade crypto spot and perpetuals on Hyperliquid with market, limit and TWAP orders, leverage and margin control. Trade stocks, indices, commodities, forex and pre-IPO names as Hyperliquid HIP-3 perps. Trade Polymarket prediction markets with odds, order books, positions, PnL and trader leaderboards. Swap and bridge across 40+ EVM chains and Solana with Relay and Jupiter, find memecoins across 200+ chains, launch tokens on Robinhood Chain and Solana, and buy crypto with card, bank or UPI. Write actions are designed to ask for your confirmation first. Connect with OAuth (sign in to OpenFinance and approve) or an API key. Works with Claude, ChatGPT, Cursor, VS Code, Codex and any MCP client. No install. Home: https://openfinance.tech/agents · Docs: https://docs.openfinance.tech · GitHub: https://github.com/openfinance-tech/mcp
Create and manage trading strategies, bots, webhooks and signals from any MCP client.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI tools to execute trades and fetch market data across six crypto exchanges via natural language or API, with dual Telegram and MCP interfaces.2-
- AlicenseBqualityCmaintenanceProvides a set of MCP tools to interact with the Bybit cryptocurrency exchange API, enabling market data queries, account management, trading operations, and futures grid strategy analysis via natural language.1937 npmMIT

Wikicious MCP Serverofficial
FlicenseNot gradedqualityDmaintenanceConnects MCP-compatible AI assistants to the Wikicious V6 protocol on Arbitrum One, enabling queries on perp markets, positions, staking, and revenue, as well as executing trades, deposits, withdrawals, and staking actions via natural language.1-
Gogi MCP Serverofficial
AlicenseNot gradedqualityCmaintenanceEnables AI assistants in MCP clients to query real-time market data, inspect portfolio and Web3 wallet balances across brokers, place protected equity/ETF, crypto, forex, options, DeFi swap, and prediction market orders, and run backtests.MIT