Best for
- Traders using AI assistants like Claude or Cursor
- Traders needing automation and algorithmic orders
- Users who prefer local execution and no cloud dependency
- Analysts needing unauthenticated market data and indicators
This MCP server provides comprehensive trading functionality across multiple modules, runs locally for privacy, and is suitable for technical users. However, caution is needed when dealing with real funds.
DEX Agent Trade Kit is an AI-powered trading toolkit with two standalone packages: dex-trade-mcp (an MCP server for Claude, Cursor, and any MCP-compatible AI client) and dex-trade-cli (a CLI for operating several exchanges from the terminal). It connects AI assistants directly to your OKX account via the Model Context Protocol (MCP). It runs as a local process with API keys stored only on your machine, no cloud services. Features 145 tools across 11 modules: market data, spot, swap, futures, options, account management, event contracts, earn, trading bots, news, and smart money signals. Includes built-in algo orders (conditional, OCO take-profit/stop-loss, trailing stop), safety controls (--read-only flag, per-module filtering, built-in rate limiter), zero infrastructure (local stdio process), and pre-built agent skills.
npm install -g @okx_ai/okx-trade-mcp @okx_ai/okx-trade-cli. 3. Configure OKX API credentials: run okx config init and follow the interactive wizard. 4. Register the MCP server with your AI client using okx-trade-mcp setup --client claude-desktop or other clients (cursor, claude-code, vscode). Alternatively, use the one-line install script that handles Node.js check, installation, and client detection automatically.{
"mcpServers": {
"okx-trade-mcp": {
"command": "okx-trade-mcp",
"args": [
"--modules",
"all"
]
}
}
}