使用说明
Bybit公告MCP
MCP服务器,使AI代理能够高效地获取、跟踪Bybit公告并对其采取行动。
特性
- 丰富的查询:按地区过滤公告(例如。,
en-US,zh-TW)类型(例如。,new_crypto)标签(例如。,Spot)、页和限制(最多50个结果)。 - 格式化输出:返回干净、可读的Markdown,包括标题、时间戳、事件范围、描述和URL——没有原始的JSON混乱。
安装
-
先决条件:
- Python 3.10+
- 紫外线 (建议用于依赖关系管理)或pip。
-
克隆和安装:
git clone https://github.com/kukapay/bybit-announcements-mcp.git cd bybit-announcements-mcp uv sync -
安装到Claude桌面:
将服务器安装为Claude Desktop应用程序:
uv run mcp install main.py --name "Bybit Announcements"配置文件作为参考:
{ "mcpServers": { "Bybit Announcements": { "command": "uv", "args": [ "--directory", "/path/to/bybit-announcements-mcp", "run", "main.py" ] } } }将/path/to/bybit公告mcp替换为您的实际安装路径。
用法
服务器公开了一个核心工具: get_announcements。从MCP客户端调用它以获取和格式化数据。
工具: get_announcements
- 描述:使用可自定义的筛选器检索Bybit公告。
- 参数:
locale(str,默认值:"en-US"):语言(例如。,"en-US","zh-TW").type_(str,可选):公告类型(例如。,"new_crypto","latest_activities").tag(str,可选):标签过滤器(例如。,"Spot","Derivatives").page(int,默认值:1):分页页面。limit(int,默认值:20,最大值:50):每页结果。
- 退货:Markdown格式的字符串,如:
Bybit Announcements (Page 1, Limit 20): ### New Listing: Arbitrum (ARB) — Deposit, Trade and Stake ARB to Share a 400,000 USDT Prize Pool! - 2023-03-17 10:00 2023-03-17 10:00 ~ 2023-03-24 10:00 Bybit is excited to announce the listing of ARB on our trading platform! https://announcements.bybit.com/en-US/article/new-listing-arbitrum-arb-deposit-trade-and-stake-arb-to-share-a-400-000-usdt-prize-pool--bltf662314c211a8616/ --- ### 🔥 Listing of PIEVERSE on Convert & Bybit Savings - 2025-11-14 21:17 2025-11-14 16:53 ~ 2025-11-14 16:53 Bybit will be listing PIEVERSE on Convert on Nov 14, 2025, 1:30PM UTC and Bybit Savings at the respective dates and timings listed below. https://announcements.bybit.com/en-US/article/-listing-of-pieverse-on-convert-blt7a4a65a0b5cce7c2/ ---
许可证
MIT许可证。看 许可证 了解详情。
