https://github.com/vkdnjznd/crypto-trading-mcp
A Model Context Protocol (MCP) server for cryptocurrency trading that provides a unified interface for trading and market data monitoring across multiple exchanges.
https://github.com/vkdnjznd/crypto-trading-mcp
Last synced: 4 months ago
JSON representation
A Model Context Protocol (MCP) server for cryptocurrency trading that provides a unified interface for trading and market data monitoring across multiple exchanges.
- Host: GitHub
- URL: https://github.com/vkdnjznd/crypto-trading-mcp
- Owner: vkdnjznd
- License: mit
- Created: 2025-04-19T18:46:44.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-04-19T19:00:08.000Z (6 months ago)
- Last Synced: 2025-04-19T21:10:38.669Z (6 months ago)
- Language: Python
- Size: 4.06 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Crypto Trading MCP (Model Context Protocol)
[](https://opensource.org/licenses/MIT)
[](https://github.com/psf/black)
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:
```bash
UPBIT_ACCESS_KEY="your-access-key"
UPBIT_SECRET_KEY="your-secret-key"
```
## Development Guide
### Adding a New Exchange
1. Create a new exchange class inheriting from `CryptoExchange` abstract class
2. Implement required API methods
3. Write test cases
4. Register the new exchange in the factory class
### Running Tests
```bash
# Install test dependencies
uv pip install -e ".[test]"
# Run tests
pytest
```