Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
LOG_LEVEL | No | Logging level | info |
BINANCE_API_KEY | Yes | Your Binance API key | |
BINANCE_TESTNET | No | Enable testnet mode | false |
MCP_SERVER_NAME | No | Server name | binance-mcp-server |
BINANCE_API_SECRET | Yes | Your Binance API secret | |
MCP_SERVER_VERSION | No | Server version | 1.0.0 |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
get_price | 获取指定交易对的当前价格 |
get_orderbook | 获取订单簿深度数据 |
get_klines | 获取K线历史数据 |
get_24hr_ticker | 获取24小时价格变动统计 |
get_account_info | 获取账户信息和余额 |
get_open_orders | 获取当前挂单 |
get_order_history | 获取历史订单记录 |
place_order | 下单交易 - 支持主网和测试网(主网将使用真实资金) |
cancel_order | 取消指定订单 - 支持主网和测试网 |
cancel_all_orders | 取消指定交易对所有挂单 - 支持主网和测试网 |