okx/agent-trade-kit

OKX trading MCP server — connect AI agents to spot, swap, futures, options & grid bots via the Model Context Protocol.

What it solves

It eliminates the need to manually switch between an AI assistant and a trading exchange interface. By connecting an AI agent directly to an OKX account, users can execute trades, analyze market data, and manage portfolios using natural language descriptions.

How it works

The toolkit provides two primary interfaces: an MCP (Model Context Protocol) server and a CLI. The MCP server allows AI clients like Claude Desktop or Cursor to call specific trading tools, while the CLI allows for terminal-based operations. It runs as a local process, ensuring that API keys remain on the user's machine rather than being sent to a cloud service.

Who it’s for

Traders and developers who use AI assistants to manage their OKX accounts and want a secure, local way to integrate trading capabilities into their AI workflows.

Highlights

  • Extensive Toolset: Includes 167 tools across 11 modules covering spot, swap, futures, options, account management, and trading bots.
  • MCP Standard: Compatible with any MCP-compatible AI client, including Claude and Cursor.
  • Built-in Safety: Features a --read-only flag, rate limiting, and per-module filtering to prevent unauthorized actions.
  • Agent Skills: Provides pre-built skill files that give AI agents specific instructions on how to handle market data, portfolios, and earn products.
  • Local Security: Operates as a local stdio process with no external database or cloud infrastructure required.

Related

  • Project
  • Project
  • Project
  • Project
  • Project