mcp -ccxt
MCP server from carlosatta/mcp-server-ccxt
claude mcp add --transport stdio carlosatta-mcp-server-ccxt node index.js \ --env HOST="0.0.0.0" \ --env PORT="3000" \ --env LOG_LEVEL="info" \ --env SAFE_MODE="false (set to true to disable all trading operations; read-only access remains available)" \ --env KRAKEN_SECRET="your_kraken_secret" \ --env BINANCE_SECRET="your_binance_secret" \ --env KRAKEN_API_KEY="your_kraken_api_key" \ --env BINANCE_API_KEY="your_binance_api_key" \ --env COINBASE_SECRET="your_coinbase_secret" \ --env COINBASE_API_KEY="your_coinbase_api_key" \ --env DEFAULT_EXCHANGE="coinbase"
How to use
This MCP server exposes CCXT-powered exchange APIs over Server-Sent Events (SSE). It provides a set of public tools (read-only) for market data and public information, plus private tools when you supply credentials. You can connect via SSE to receive tool results in real-time, or you can send MCP messages to request specific tool executions. Use the provided examples to understand the structure of tool calls, such as get_ticker or batch_get_tickers, or to perform trading operations if SAFE_MODE is disabled and you have valid API keys.
How to install
Prerequisites:
- Node.js installed (LTS version)
- npm or yarn
- Access to exchange API keys if you intend to use private tools
installation steps:
- Clone the repository git clone https://github.com/slug/carlosatta-mcp-server-ccxt.git
- Install dependencies cd carlosatta-mcp-server-ccxt npm install
- Create an environment file or set environment variables as described in the README For example, create a .env with SAFE_MODE=false, HOST=0.0.0.0, PORT=3000, and API keys
- Start the server npm start
- Verify the server is running by visiting http://0.0.0.0:3000/ or by using the health endpoint
Additional notes
Tips and common issues:
- Security: Enable SAFE_MODE in production to disable all trading operations. Use separate API keys for read-only vs trading actions and restrict IPs on keys.
- If tools don’t appear, restart the server after code changes and check logs for errors.
- Ensure .env (or equivalent environment variables) exists before starting the server to avoid startup failures.
- When using private tools, ensure API credentials are correctly configured in the environment.
- The server supports multiple exchanges via CCXT; ensure you have credentials for the exchanges you want to access.
Related MCP Servers
zen
Selfhosted notes app. Single golang binary, notes stored as markdown within SQLite, full-text search, very low resource usage
MCP -Deepseek_R1
A Model Context Protocol (MCP) server implementation connecting Claude Desktop with DeepSeek's language models (R1/V3)
mcp-fhir
A Model Context Protocol implementation for FHIR
mcp
Inkdrop Model Context Protocol Server
mcp-appium-gestures
This is a Model Context Protocol (MCP) server providing resources and tools for Appium mobile gestures using Actions API..
dubco -npm
The (Unofficial) dubco-mcp-server enables AI assistants to manage Dub.co short links via the Model Context Protocol. It provides three MCP tools: create_link for generating new short URLs, update_link for modifying existing links, and delete_link for removing short links.