Crypto Trading MCP (Model Context Protocol)
LocalAbout Crypto Trading MCP (Model Context Protocol)
Crypto Trading MCP is a server for cryptocurrency spot trading and price lookup across Upbit, Gate.io, and Binance. It is for users who need a unified MCP interface to exchange trading and market data.
Key features
- 01Spot trading on three exchanges
- 02Cryptocurrency price lookup
- 03Exchange-specific credentials via environment variables
Use cases
- 01Look up prices across supported exchanges
- 02Carry out spot trades through an MCP client
- 03Monitor market data across supported exchanges
MCP support
The MCP server exposes cryptocurrency price lookup and spot trading across Upbit, Gate.io, and Binance to MCP clients.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMECrypto Trading MCP (Model Context Protocol)
A simple Model Context Protocol (MCP) server for price lookup and trading across multiple cryptocurrency exchanges.
https://github.com/user-attachments/assets/34f3a431-9370-4832-923e-ab89bf1d4913
Requirements
- Python 3.10 or higher
Supported Exchanges
Currently supports spot trading only.
- Upbit
- Gate.io
- Binance
More exchanges will be added in the future.
Environment Setup
Add the authentication information required by each exchange to the environment variables.
For example, Upbit is as follows:
UPBIT_ACCESS_KEY="your-access-key"
UPBIT_SECRET_KEY="your-secret-key"
Development Guide
Adding a New Exchange
- Create a new exchange class inheriting from
CryptoExchangeabstract class - Implement required API methods
- Write test cases
- Register the new exchange in the factory class
Running Tests
# Install test dependencies
uv pip install -e ".[test]"
# Run tests
pytest
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.