OKX MCP Server logo

OKX MCP Server

by PJ-TST-238819

The OKX MCP Server provides real-time cryptocurrency price data from the OKX exchange. It connects to the OKX API and offers a simple tool interface for accessing this data.

View on GitHub

Last updated: N/A

What is OKX MCP Server?

The OKX MCP Server is a Model Context Protocol server designed to retrieve and provide cryptocurrency price information from the OKX exchange. It acts as an interface between the OKX API and applications requiring real-time market data.

How to use OKX MCP Server?

To use the server, you need to install it and configure your MCP settings in Claude Desktop or VSCode to point to the server's executable. Once configured, you can use the get_candlesticks and get_price tools by providing the required input parameters, such as the instrument ID.

Key features of OKX MCP Server

  • Real-time cryptocurrency price data from OKX

  • Comprehensive error handling

  • Request logging

  • Rate limiting via OKX's API

Use cases of OKX MCP Server

  • Real-time price monitoring

  • Algorithmic trading

  • Market analysis

  • Integration with trading bots

FAQ from OKX MCP Server

What is an instrument ID?

An instrument ID is a unique identifier for a trading pair on the OKX exchange (e.g., BTC-USDT).

What time intervals are supported for candlestick data?

The get_candlesticks tool supports various time intervals, including 1m, 5m, 1H, and 1D.

What is the maximum number of candlesticks I can retrieve at once?

The maximum number of candlesticks you can retrieve with a single request is 100.

How does the server handle API rate limits?

The server respects OKX's API rate limits through axios timeout configuration.

Where can I find the server configuration files?

The server configuration files are located in the cline_mcp_settings.json file for VSCode and the claude_desktop_config.json file for Claude Desktop, in the specified directories for macOS and Windows.