Integrations
Supports cryptocurrency spot trading on Binance, allowing price lookup and trading operations through the Binance exchange API.
加密交易 MCP(模型上下文协议)
一个简单的模型上下文协议 (MCP) 服务器,用于跨多个加密货币交易所进行价格查找和交易。
https://github.com/user-attachments/assets/34f3a431-9370-4832-923e-ab89bf1d4913
要求
- Python 3.10 或更高版本
支持的交易所
目前仅支持现货交易。
- Upbit
- Gate.io
- 币安
未来将增加更多的交易所。
环境设置
将每个交易所需要的认证信息添加到环境变量中。
例如,Upbit 如下:
Copy
开发指南
添加新的交易所
- 创建一个新的交易所类,继承自
CryptoExchange
抽象类 - 实现所需的 API 方法
- 编写测试用例
- 在工厂类中注册新的交易所
运行测试
Copy
This server cannot be installed
模型上下文协议服务器,支持跨多个加密货币交易所(包括 Upbit、Gate.io 和 Binance)进行价格查询和交易。