Official

Agent Trade Kit MCP Server

Execute OKX trades and analyze market data directly from your AI agent.

Data last scanned yesterday · Reviewed 3 weeks ago

68401TypeScriptMIT

Overview

Agent Trade Kit provides a dedicated MCP server for interacting with the OKX exchange. By running as a local process, it allows AI models to execute trades, manage account data, and perform complex trading tasks without your API keys ever leaving your machine. The toolkit features 167 tools across 11 modules, covering the entire trading lifecycle including market analysis, order execution, algo orders, and account management. It also supports technical indicators and market screening, providing an end-to-end interface for automated trading strategies.

Our verdict

This project holds a high risk level with a security score of 35/100. It is a community-maintained repository that has not yet undergone editorial review, and it suffers from a bus-factor risk due to having only a single contributor. Users should exercise caution; we recommend this tool only for those comfortable with managing their own API security and who have independently verified the code, as the security implications of automated trading via MCP remain complex and unvetted.

  • Supports 167 diverse tools across 11 trading modules
  • Zero direct dependencies reduces supply-chain surface area
  • Runs as a local process for improved key isolation
  • Provides built-in safety features including a read-only flag
  • Security score of 35/100 indicates significant unreviewed risk
  • Single contributor presents a long-term maintenance bus-factor risk
  • OAuth and read-only implementation details remain unreviewed

Setup

Claude Desktop
{
  "mcpServers": {
    "agent-trade-kit": {
      "args": [
        "-y",
        "okx-hub"
      ],
      "command": "npx"
    }
  }
}

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows), then restart Claude Desktop. Some servers require API keys or tokens as environment variables — check the project's README and add an "env" object if needed.

  • No read-only mode — running this grants full read/write access.
  • No built-in authentication — anyone with access to this config can invoke every tool it exposes.

Compatibility

ClientLocalDockerRemoteRead-only
ChatGPT
Claude Desktop
Cursor
VS Code
Windsurf

Frequently asked questions

What are the system requirements for running the OKX Agent Trade Kit?

You must have Node.js version 18 or higher installed on your machine to use the toolkit.

Where are my OKX API keys stored?

The server runs as a local process and your API keys are stored exclusively on your local machine; no data leaves your device.

Does this MCP server support safety restrictions for trading?

Yes, you can enable a read-only flag, configure per-module filtering, and utilize the built-in rate limiter to manage safety.

Can I use this server without authentication?

Some market data tools, specifically the 70+ technical indicators such as MA, RSI, and MACD, do not require authentication.

How do I set up the server for an MCP client like Claude or Cursor?

After installing the package and running the configuration wizard with 'okx config init', you can use the 'okx-trade-mcp setup --client <client-name>' command to automatically register it.

Alternatives

Badge

Agent Trade Kit MCP Server security score, rated on RepoAI

Maintain this server? Add the live badge to your README.