Skip to content
VS Code

Codex CCXT MCP for VS Code

io.github.lucyfox199818-collab/ccxt-mcp

Dry-run-first CCXT MCP with market, account, derivatives, and guarded trading tools.

client:VS Code transport:stdio runtime:oci

Install Codex CCXT MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "binance-api-key",
      "description": "BINANCE_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "binance-api-secret",
      "description": "BINANCE_API_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ccxt-exchange-id",
      "description": "CCXT_EXCHANGE_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ccxt-default-type",
      "description": "CCXT_DEFAULT_TYPE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ccxt-sandbox",
      "description": "CCXT_SANDBOX",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ccxt-enable-trading",
      "description": "CCXT_ENABLE_TRADING",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ccxt-dry-run",
      "description": "CCXT_DRY_RUN",
      "password": true
    }
  ],
  "servers": {
    "ccxt-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/lucyfox199818-collab/ccxt-mcp:0.1.0"
      ],
      "env": {
        "BINANCE_API_KEY": "${input:binance-api-key}",
        "BINANCE_API_SECRET": "${input:binance-api-secret}",
        "CCXT_EXCHANGE_ID": "${input:ccxt-exchange-id}",
        "CCXT_DEFAULT_TYPE": "${input:ccxt-default-type}",
        "CCXT_SANDBOX": "${input:ccxt-sandbox}",
        "CCXT_ENABLE_TRADING": "${input:ccxt-enable-trading}",
        "CCXT_DRY_RUN": "${input:ccxt-dry-run}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Codex CCXT MCP in other clients