加密货币市场数据 MCP 服务器借助整合主要交易所的数据,提供实时和历史的加密货币市场数据。它基于 Model Context Protocol (MCP),能让像 Claude 这样的大语言模型获取当前价格、分析市场趋势以及访问详细的交易信息。
本服务器可通过 Smithery 或手动方式进行安装,以下将详细介绍安装和使用步骤。
# 待实施
pytest tests/
克隆仓库:
git clone [仓库地址]
cd 加密货币-mcp-服务器
安装依赖项:
uv pip install -e .
# 待实施
pytest tests/
拷贝以下代码到终端:
uv pip install crypto-mcp-server
启动服务器:
python3 src/server.py
curl --location 'http://localhost:8080 getPrice' \
--header 'Content-Type: application/json' \
--data-raw '{
"symbol": "BTC/USDT"
}'
pipenv 管理 Python 依赖。Pipfile。叉取仓库:
git clone [repository-url]
cd crypto-mcp-server
创建功能分支:
git checkout -b feature/新特性名称
进行修改并提交:
git add .
git commit -m "添加新功能"
提交拉取请求
本项目采用 MIT License,详情请参阅 LICENSE 文件。