Upbit MCP 服务器是一个基于模型上下文协议(MCP)实现的 Upbit 加密货币交易所 OpenAPI 服务端。它为用户提供了一系列与 Upbit 交易所服务交互的工具,可用于检索市场数据、查询账户信息、创建和取消订单、管理资金存入与取出,还能执行技术分析。
在使用 Upbit MCP 服务器之前,您需要完成以下准备工作:
get_ticker)get_orderbook)get_trades)get_market_summary)get_accounts)get_orders)get_order)get_deposits_withdrawals)create_order)create_order)cancel_order)下面是实际聊天示例的图片。
git clone https://github.com/yourusername/upbit-mcp-server.git
cd upbit-mcp-server
python -m venv .venv
source .venv/bin/activate # 在 Unix/MacOS 中
pip install -r requirements.txt
编辑 config.py 文件,添加以下内容:
API_KEY = "your_api_key"
SECRET_KEY = "your_secret_key"
SIGNATURE_KEY = "your_signature_key"
uv run python main.py
本项目采用 MIT 许可证。