MCP.so
登录

Toobit Mcp Service

@xuxizhen

关于 Toobit Mcp Service

暂无概览

基本信息

分类

其他

运行时

shell

传输方式

stdio

发布者

xuxizhen

提交者

xizhen

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Toobit Mcp Service?

Toobit Mcp Service wraps the core market data endpoints of the Toobit spot API and provides a unified MCP (Multi-Channel Platform) service interface. It is designed for developers and traders who need to access Toobit exchange market data via RESTful APIs or real-time SSE streams.

How to use Toobit Mcp Service?

Install dependencies with npm install, configure your Toobit API key and secret in a .env file, then start the server with npm run dev. Invoke the RESTful endpoints at /mcp/spot/... or subscribe to SSE streams by appending /stream to the same path.

Key features of Toobit Mcp Service

  • Wraps core Toobit spot market data API endpoints
  • Provides a unified RESTful API with standardized response format
  • Supports real-time data push via Server-Sent Events (SSE)
  • Offers 8 market data endpoints including depth, klines, trades, and ticker
  • Easy to extend and customize for secondary development
  • All responses follow a consistent {code, msg, data} structure

Use cases of Toobit Mcp Service

  • Retrieve exchange info (supported trading pairs, precision) for strategy setup
  • Fetch order book depth for market making or trading algorithms
  • Monitor real-time trades and candlestick data for technical analysis
  • Get 24-hour price statistics to evaluate market volatility
  • Build real-time dashboards using SSE streams for price, depth, and trades

FAQ from Toobit Mcp Service

How do I start the service?

Run npm install, configure your Toobit API key and secret in .env, then run npm run dev.

What is the response format of all endpoints?

All endpoints return a JSON object: {"code": 0, "msg": "success", "data": {...}} on success, or {"code": -1, "msg": "error message", "data": null} on error.

How do SSE streams work?

SSE streams are available at the same REST endpoint path with /stream appended. They push updated data every 2 seconds. Use EventSource in the frontend to receive pushes, and call es.close() to stop.

Do I need a Toobit API key?

Yes. You must provide a valid Toob

评论

其他 分类下的更多 MCP 服务器