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

コメント

「その他」の他のコンテンツ