weex-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WEEX_MCP_BIND_HOST | No | The host address to bind to. Defaults to '127.0.0.1'. | 127.0.0.1 |
| WEEX_SPOT_BASE_URL | No | The base URL for spot API calls. Must be an HTTPS origin without credentials, paths, query strings, or fragments. | |
| WEEX_TRADE_ENABLED | No | Whether trade operations are enabled. Defaults to 'false'. | false |
| WEEX_AUDIT_LOG_FILE | No | Path to a local audit log file (JSON Lines). If not set, audit events are logged via the weex_mcp.audit Python logger. | |
| WEEX_FUTURES_BASE_URL | No | The base URL for futures API calls. Must be an HTTPS origin without credentials, paths, query strings, or fragments. | |
| WEEX_SERVICE_AUTH_TOKEN | No | The service bearer token for HTTP requests. Required for cloud mode (serve). Must be at least 32 random ASCII characters. | |
| WEEX_APPROVAL_TOKEN_SECRET | No | The approval-token signing secret. Required for cloud mode (serve). Must be at least 32 random bytes. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
WEEX MCP tools for public market data, read-only account queries, and stateless preview/confirm trading.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| account_get_balanceC | Get account balances using a request-level credential context. |
| account_get_billsC | Get account bill/income records using a request-level credential context. |
| account_get_commission_rateC | Get futures maker and taker commission rates. |
| account_get_conditional_ordersC | Get open or historical futures conditional orders. |
| account_get_configB | Get read-only account configuration and capabilities. |
| account_get_ordersB | Get open, historical, or single order information using a request-level credential context. |
| account_get_positionsB | Get futures positions using a request-level credential context. |
| account_get_symbol_configC | Get futures account symbol configuration. |
| account_get_tradesB | Get user trade fills using a request-level credential context. |
| account_get_transfer_recordsC | Get read-only Spot account transfer history. |
| market_get_advanced_klinesB | Get futures historical, index-price, or mark-price K-lines. |
| market_get_book_tickerC | Get WEEX best bid and ask quotes. |
| market_get_catalogB | Get WEEX coin metadata or API-tradable symbol catalogs. |
| market_get_depthB | Get WEEX order book depth. Public endpoint; no credential required. |
| market_get_exchange_infoA | Get WEEX trading rules/exchange info. Public endpoint; no credential required. |
| market_get_funding_rateC | Get current or historical futures funding rates. |
| market_get_klinesA | Get WEEX candlestick/K-line data. Public endpoint; no credential required. |
| market_get_open_interestC | Get current futures open interest. |
| market_get_recent_tradesC | Get recent public WEEX trades. |
| market_get_symbol_priceA | Get a WEEX market symbol price. Public endpoint; no credential required. |
| market_get_ticker_24hC | Get WEEX 24-hour ticker statistics. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 21 tools
The account_* vs market_* split is clear, and most tools target distinct resources. A few boundaries are fuzzy: market_get_klines vs market_get_advanced_klines, and market_get_exchange_info vs market_get_symbol_config vs market_get_catalog could be confused without reading descriptions closely.
Every tool follows the same readable pattern: category_get_resource, with consistent snake_case throughout. The account_get_* and market_get_* prefixes make scanning predictable.
Twenty-one tools is slightly heavy but reasonable for a crypto exchange surface covering both market data and account queries. Each tool maps to a distinct endpoint rather than duplicating functionality.
The read-only coverage is broad across market data and account queries. However, the surface has no order placement, cancellation, transfer, leverage, or position-mode operations, which are notable gaps for an exchange MCP if trading workflows are expected.