Skip to main content
Glama

list-exchanges

Retrieve a complete list of supported cryptocurrency exchanges from the CCXT MCP Server for integration and trading purposes.

Instructions

List all available cryptocurrency exchanges

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": {}, "type": "object" }

Implementation Reference

  • The handler function for the 'list-exchanges' tool, which returns the list of supported exchanges (SUPPORTED_EXCHANGES) as a formatted JSON string in the MCP response format.
    server.tool("list-exchanges", "List all available cryptocurrency exchanges", {}, async () => { return { content: [{ type: "text", text: JSON.stringify(SUPPORTED_EXCHANGES, null, 2) }] }; } );
  • Constant array listing all supported cryptocurrency exchanges, which is used by the list-exchanges tool handler.
    export const SUPPORTED_EXCHANGES = [ // 原有交易所 'binance', 'coinbase', 'kraken', 'kucoin', 'okx', 'gate', 'bybit', 'mexc', 'huobi', // 新增主流交易所 'bitget', 'coinex', 'cryptocom', 'hashkey', 'hyperliquid', // 延伸现有交易所的衍生品市场 'binanceusdm', 'binancecoinm', 'kucoinfutures', 'bitfinex', 'bitmex', 'gateio', 'woo', 'deribit', 'phemex', 'bingx' ];
  • Registration of the 'list-exchanges' tool using server.tool, including description, empty schema (no params), and inline handler.
    server.tool("list-exchanges", "List all available cryptocurrency exchanges", {}, async () => { return { content: [{ type: "text", text: JSON.stringify(SUPPORTED_EXCHANGES, null, 2) }] }; } );

Latest Blog Posts

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

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