BloFin MCP Server
A Model Context Protocol (MCP) server for the BloFin cryptocurrency exchange API. Provides tools for market data, account management, and trading operations.
接入你的智能体
從發布者安裝。不是 PlugMCP 端點。
遠端 URL 還是本機指令? 兩種安裝方式的差異
來自發布者
A Model Context Protocol (MCP) server for the BloFin cryptocurrency exchange API. Provides tools for market data, account management, and trading operations.
A Model Context Protocol (MCP) server for the BloFin exchange API. Provides tools for market data, account management, and trading operations.
get_instruments - Get available trading instruments and contract specsget_tickers - Get latest prices, bid/ask, 24h volumeget_orderbook - Get order book depthget_trades - Get recent tradesget_mark_price - Get mark/index pricesget_candlesticks - Get OHLCV candlestick dataget_funding_rate - Get current funding ratesget_funding_rate_history - Get historical funding ratesget_balance - Get futures account balanceget_positions - Get open positionsget_leverage_info - Get leverage info for an instrumentset_leverage - Set leverage for an instrumentget_margin_mode - Get current margin mode for an instrumentset_margin_mode - Set margin mode for an instrumentget_position_mode - Get current position modeset_position_mode - Set position modeget_account_config - Get account configurationplace_order - Place a new order (market, limit, post_only, fok, ioc)cancel_order - Cancel an orderbatch_orders - Place multiple orders at oncecancel_batch_orders - Cancel multiple orders at onceclose_position - Close a positionget_open_orders - Get pending ordersget_order_history - Get order historyget_order_detail - Get specific order detailsget_fills_history - Get trade fill historyplace_tpsl - Place take-profit/stop-loss ordercancel_tpsl - Cancel a take-profit/stop-loss orderget_pending_tpsl - Get pending TP/SL ordersget_tpsl_history - Get TP/SL order historyplace_algo_order - Place an algo order (trigger/conditional)cancel_algo_order - Cancel algo ordersget_pending_algo_orders - Get pending algo ordersget_algo_order_history - Get algo order historyget_asset_balances - Get balances across account typesfund_transfer - Transfer funds between accountsget_fund_transfer_history - Get transfer historyget_deposit_history - Get deposit historyget_withdrawal_history - Get withdrawal historyget_apikey_info - Get API key informationCurrent implementation registers 40 tools in total:
https://demo-trading-openapi.blofin.com (default)https://openapi.blofin.comnpm install
npm run typecheck
npm run build
Download the latest blofin-mcp.mcpb from GitHub Releases and double-click to install. Claude Desktop will prompt you to enter your API Key, API Secret, and Passphrase.
Add to your Claude Desktop config (Settings → Developer → Edit Config):
{
"mcpServers": {
"blofin": {
"command": "npx",
"args": ["-y", "blofin-mcp"],
"env": {
"BLOFIN_API_KEY": "your-api-key",
"BLOFIN_API_SECRET": "your-api-secret",
"BLOFIN_PASSPHRASE": "your-passphrase",
"BLOFIN_BASE_URL": "https://openapi.blofin.com"
}
}
}
}
claude mcp add blofin -- npx -y blofin-mcp
Then set environment variables in your shell profile or .env file:
export BLOFIN_API_KEY="your-api-key"
export BLOFIN_API_SECRET="your-api-secret"
export BLOFIN_PASSPHRASE="your-passphrase"
export BLOFIN_BASE_URL="https://openapi.blofin.com"
Add to .cursor/mcp.json in your project root (or global config at ~/.cursor/mcp.json):
{
"mcpServers": {
"blofin": {
"command": "npx",
"args": ["-y", "blofin-mcp"],
"env": {
"BLOFIN_API_KEY": "your-api-key",
"BLOFIN_API_SECRET": "your-api-secret",
"BLOFIN_PASSPHRASE": "your-passphrase",
"BLOFIN_BASE_URL": "https://openapi.blofin.com"
}
}
}
}
Add to your Windsurf MCP config (~/.codeium/windsurf/mcp_config.json):
{
"mcpServers": {
"blofin": {
"command": "npx",
"args": ["-y", "blofin-mcp"],
"env": {
"BLOFIN_API_KEY": "your-api-key",
"BLOFIN_API_SECRET": "your-api-secret",
"BLOFIN_PASSPHRASE": "your-passphrase",
"BLOFIN_BASE_URL": "https://openapi.blofin.com"
}
}
}
}
Open Cline MCP settings (Cline → MCP Servers → Configure) and add:
{
"mcpServers": {
"blofin": {
"command": "npx",
"args": ["-y", "blofin-mcp"],
"env": {
"BLOFIN_API_KEY": "your-api-key",
"BLOFIN_API_SECRET": "your-api-secret",
"BLOFIN_PASSPHRASE": "your-passphrase",
"BLOFIN_BASE_URL": "https://openapi.blofin.com"
}
}
}
}
Add "mcpServers" to your ~/.openclaw/openclaw.json (top-level field, alongside identity, agent, etc.):
{
"identity": { "name": "Clawd", "emoji": "🦞" },
"agent": { "workspace": "~/.openclaw/workspace" },
// Add this section ↓
"mcpServers": {
"blofin": {
"command": "npx",
"args": ["-y", "blofin-mcp"],
"env": {
"BLOFIN_API_KEY": "your-api-key",
"BLOFIN_API_SECRET": "your-api-secret",
"BLOFIN_PASSPHRASE": "your-passphrase",
"BLOFIN_BASE_URL": "https://openapi.blofin.com"
}
}
}
}
If your openclaw.json already has a "mcpServers" section with other servers, just add "blofin": { ... } inside it.
Restart OpenClaw after saving. The agent will automatically discover the 40 BloFin tools.
LICENSECONTRIBUTING.mdSECURITY.mdCODE_OF_CONDUCT.mdCHANGELOG.mdSECURITY.mdA Model Context Protocol (MCP) server for the BloFin exchange API. Provides tools for market data, account management, and trading operations.
工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
這筆記錄未列出必要的環境變數。
Blofin 透過 stdio 在本機執行。
上次檢查時間:2026-10-27。 A Model Context Protocol (MCP) server for the BloFin exchange API. Provides tools for market data, account management, and trading operations.