Skip to main content
Glama

MCP Server CCXT

by carlosatta
.env.example2.8 kB
# ============================================================================= # MCP CCXT Server - Environment Variables # ============================================================================= # Copy this file to .env and configure your variables # ----------------------------------------------------------------------------- # Server Configuration # ----------------------------------------------------------------------------- # Host to bind the server to (default: 0.0.0.0) HOST=0.0.0.0 # Port the server will listen on (default: 3000) PORT=3000 # Log level (debug, info, warn, error) LOG_LEVEL=info # ----------------------------------------------------------------------------- # Session Management (MCP Protocol) # ----------------------------------------------------------------------------- # Session inactivity timeout in milliseconds (default: 300000 = 5 minutes) SESSION_TIMEOUT_MS=300000 # How often to check for expired sessions in milliseconds (default: 30000 = 30 seconds) SESSION_CLEANUP_INTERVAL_MS=30000 # Allow auto-recreation of unknown sessions (default: true for compatibility) # Set to 'false' for strict MCP standard compliance ALLOW_AUTO_SESSION_RECREATE=true # Maximum errors per session before cleanup (default: 10, set to 0 to disable) MAX_SESSION_ERRORS=10 # ----------------------------------------------------------------------------- # Exchange Configuration # ----------------------------------------------------------------------------- # Default exchange to use when none is specified DEFAULT_EXCHANGE=coinbase # Default market type (spot, future, swap, option, margin) DEFAULT_MARKET_TYPE=spot # ----------------------------------------------------------------------------- # API Limits # ----------------------------------------------------------------------------- # Default limits for requests ORDERBOOK_LIMIT=10 OHLCV_LIMIT=100 MARKETS_LIMIT=50 # ----------------------------------------------------------------------------- # Exchange API Credentials # ----------------------------------------------------------------------------- # IMPORTANT: NEVER commit the .env file with your real keys! # Uncomment and fill in the ones you want to use # Binance # BINANCE_API_KEY=your_api_key # BINANCE_SECRET=your_secret # Coinbase # COINBASE_API_KEY=your_api_key # COINBASE_SECRET=your_secret # Kraken # KRAKEN_API_KEY=your_api_key # KRAKEN_SECRET=your_secret # KuCoin # KUCOIN_API_KEY=your_api_key # KUCOIN_SECRET=your_secret # OKX # OKX_API_KEY=your_api_key # OKX_SECRET=your_secret # Gate.io # GATE_API_KEY=your_api_key # GATE_SECRET=your_secret # Bybit # BYBIT_API_KEY=your_api_key # BYBIT_SECRET=your_secret # MEXC # MEXC_API_KEY=your_api_key # MEXC_SECRET=your_secret # Huobi # HUOBI_API_KEY=your_api_key # HUOBI_SECRET=your_secret

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/carlosatta/mcp-server-ccxt'

If you have feedback or need assistance with the MCP directory API, please join our Discord server