Trading MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| EXCHANGE | No | The name of the cryptocurrency exchange to connect to (e.g., mexc, binance, bybit, okx). | mexc |
| LOG_LEVEL | No | The level of logging detail (e.g., info, debug, error). | info |
| MAX_PAIRS | No | Maximum number of pairs to scan during market analysis. | 100 |
| MARKET_TYPE | No | The type of market to trade in: 'spot' or 'swap' (perpetual futures). | spot |
| MEXC_SECRET | Yes | Your API secret for the exchange (required for authenticated operations). | |
| MEXC_API_KEY | Yes | Your API key for the exchange (required for authenticated operations). | |
| TRADING_MODE | No | The trading mode: 'demo' for simulated trading (safe for testing) or 'live' for real trading. | demo |
| MIN_CONFIDENCE | No | Minimum Technical Analysis signal confidence (1-100) required for a recommendation. | 50 |
| MIN_VOLUME_USDT | No | Minimum 24h volume in USDT required for a pair to be analyzed by the scanner. | 50000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_balanceA | Get account balance. Returns free, used, and total balance for all currencies or a specific one. |
| get_positionsA | Get open positions with P&L (futures/perpetual only) |
| get_tickerA | Get current price for a trading pair (e.g., BTC/USDT or BTC/USDT:USDT for perpetual) |
| get_multiple_tickersA | Get ticker data for multiple symbols at once (max 50 symbols) |
| get_orderbookC | Get order book depth for a trading pair |
| get_ohlcvC | Get historical candlestick data (OHLCV). Timeframes: 1m, 5m, 15m, 30m, 1h, 4h, 1d, 1w |
| get_spreadC | Get bid-ask spread for a trading pair |
| get_all_pairsC | Get all trading pairs with volume and spread data |
| place_orderA | Place a buy or sell order. Amounts and prices must be strings (e.g., "0.001", "89600.25"). In demo mode, orders are simulated. |
| cancel_orderB | Cancel an open order by order ID |
| get_open_ordersB | Get all open orders, optionally filtered by symbol |
| cancel_all_ordersB | Cancel all open orders, optionally for a specific symbol |
| set_leverageB | Set leverage for perpetual futures trading (e.g., BTC/USDT:USDT with 10x leverage). Supports isolated/cross margin. |
| get_leverageC | Get current leverage for a perpetual futures symbol |
| analyze_symbol_taA | Run full technical analysis on a symbol using RSI, MACD, EMA, Bollinger Bands, and Stochastic. Returns buy/sell/hold recommendation with confidence score. |
| get_indicatorC | Get a specific technical indicator value (rsi, macd, ema, bollinger, stochastic) |
| find_ta_signalsB | Scan trading pairs for technical analysis signals. Returns buy/sell opportunities ranked by confidence. |
| scan_spreadsC | Scan for wide bid-ask spreads across trading pairs. Useful for market-making opportunities. |
| scan_best_opportunitiesC | Comprehensive market scan combining spread, volume, and TA signals. Returns the best trading opportunities. |
| get_modeA | Get current trading mode (demo/live) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TigranPetosyants/trading-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server