list-exchanges
Retrieve a comprehensive list of cryptocurrency exchanges supported by the Cryptocurrency Market Data MCP Server for accessing real-time market data and trading information.
Instructions
List all supported cryptocurrency exchanges
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/server.py:229-236 (handler)Handler logic for the 'list-exchanges' tool: checks the tool name and returns a formatted list of all supported exchanges from SUPPORTED_EXCHANGES.if name == "list-exchanges": exchange_list = "\n".join([f"- {ex.upper()}" for ex in SUPPORTED_EXCHANGES.keys()]) return [ types.TextContent( type="text", text=f"Supported exchanges:\n\n{exchange_list}" ) ]
- src/server.py:149-156 (registration)Registration of the 'list-exchanges' tool in the handle_list_tools function, including its name, description, and empty input schema.types.Tool( name="list-exchanges", description="List all supported cryptocurrency exchanges", inputSchema={ "type": "object", "properties": {} }, ),
- src/server.py:152-155 (schema)Input schema for the 'list-exchanges' tool, which requires no parameters.inputSchema={ "type": "object", "properties": {} },
- src/server.py:14-25 (helper)Global dictionary defining all supported exchanges, directly used by the list-exchanges handler to generate the exchange list.SUPPORTED_EXCHANGES = { 'binance': ccxt.binance, 'coinbase': ccxt.coinbase, 'kraken': ccxt.kraken, 'kucoin': ccxt.kucoin, 'hyperliquid': ccxt.hyperliquid, 'huobi': ccxt.huobi, 'bitfinex': ccxt.bitfinex, 'bybit': ccxt.bybit, 'okx': ccxt.okx, 'mexc': ccxt.mexc }