MCP.so
ログイン

OKX MCP Server

@badger3000

基本情報

カテゴリ

その他

トランスポート

stdio

作者

badger3000

OKX MCP Server について

概要はまだありません

OKX MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "okx-mcp-server": {
      "command": "node",
      "args": [
        "build/index.js"
      ]
    }
  }
}

OKX MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is OKX MCP Server?

OKX MCP Server is a Model Context Protocol server that fetches real-time cryptocurrency data from the OKX exchange. It provides AI assistants like Claude with tools to access up-to-date price information, historical candlestick data, and WebSocket live updates with visual formatting.

How to use OKX MCP Server?

Install Node.js (v16+), clone the repository, run npm install, then npm run build. Start the server with npm start or node build/index.js. Integrate with VSCode's Claude extension or Claude Desktop by adding the MCP configuration to the appropriate settings file.

Key features of OKX MCP Server

  • get_price: fetch latest price with visual formatting
  • get_candlesticks: retrieve historical candlestick data with ASCII charts
  • subscribe_ticker: subscribe to real-time WebSocket updates
  • get_live_ticker: retrieve latest live data from WebSocket
  • unsubscribe_ticker: stop receiving updates for a trading pair
  • Multiple output formats: markdown, json, table

Use cases of OKX MCP Server

  • Ask an AI assistant for the current Bitcoin price (BTC-USDT) with a formatted display.
  • Request a candlestick trend of Ethereum over the last hour using 5-minute intervals.
  • Monitor BTC-USDT in real-time and alert if price moves more than 1%.
  • Compare current prices of multiple trading pairs in a single query.
  • Track market volatility as it happens using WebSocket subscriptions.

よくある質問

1

What tools are available in OKX MCP Server?

The server provides five tools: `get_price`, `get_candlesticks`, `subscribe_ticker`, `get_live_ticker`, and `unsubscribe_ticker`.

2

How do I get real-time price updates?

Use `subscribe_ticker` with an instrument ID to start a WebSocket subscription, then `get_live_ticker` to retrieve the latest cached data. Use `unsubscribe_ticker` to stop.

3

Do I need API keys to use this server?

No, the current implementation uses only public OKX API endpoints, so no API keys or authentication are required.

4

What output formats are supported?

- `get_price`: markdown (default) or json - `get_candlesticks`: markdown, table, or json - `get_live_ticker`: markdown or json

5

Where should I configure the MCP server for VSCode?

Edit the file `~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json` and add the server configuration with the path to `build/index.js`.

コメント

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