crypto-trading-mcp
If you are the rightful owner of crypto-trading-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A simple Model Context Protocol (MCP) server for price lookup and trading across multiple cryptocurrency exchanges.
Crypto 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
CryptoExchange
abstract 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