Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | HTTP port when using MCP_TRANSPORT=http (default 8080) | 8080 |
| MCP_TRANSPORT | No | stdio (default) or http | stdio |
| BINANCE_API_KEY | No | Required for account/trade tools (public tools work without) | |
| BINANCE_BASE_URL | No | Defaults to https://api.binance.com (override for testnet) | https://api.binance.com |
| BINANCE_API_SECRET | No | Required for account/trade tools | |
| BINANCE_RECV_WINDOW | No | RecvWindow in ms (default 5000) | 5000 |
| BINANCE_TRADE_ENABLED | No | Set to false to disable trade tools entirely | false |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| binance.market.price | Get the latest price for a symbol (e.g. BTCUSDT). |
| binance.market.klines | Get historical klines/candles for a symbol and interval. |
| binance.market.exchangeInfo | Get exchange information including filters per symbol. |
| binance.account.balances | Get account balances (requires API key & secret). |
| binance.account.openOrders | List open orders for a symbol. |
| binance.trade.placeOrder | Place a spot order. Example: {symbol:'BTCUSDT', side:'BUY', type:'MARKET', quoteOrderQty:'50'} |
| binance.trade.cancelOrder | Cancel a spot order by symbol and orderId. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |