Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
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 |
|---|---|
| getPrice | Get current price for a trading pair (spot or futures) |
| getTicker | Get full ticker information for a trading pair |
| getOrderBook | Get order book (market depth) for a trading pair |
| getCandles | Get historical candlestick/OHLCV data |
| getBalance | Get account balance information |
| placeOrder | Place a new buy or sell order (automatically detects spot vs futures) |
| cancelOrder | Cancel an existing order |
| getOrders | Get current open orders |
| getPositions | Get current futures positions |
| setLeverage | Set leverage for futures trading |
| getMarginInfo | Get margin account information |
| connectWebSocket | Connect to WebSocket for real-time data |
| disconnectWebSocket | Disconnect from WebSocket |
| subscribeToTicker | Subscribe to real-time ticker updates |
| subscribeToOrderBook | Subscribe to real-time order book updates |
| unsubscribeFromChannel | Unsubscribe from a WebSocket channel |
| getWebSocketStatus | Get WebSocket connection status |