CoinRithm Agent Trading

v0.7.21
io.github.CoinRithm/mcp-trading Checked 3 hours ago Published 13 days ago

Keyless prediction-market data across 12 venues plus paper-trading of crypto spot, futures, and PM.

Values you need

VariableWhat it is
COINRITHM_API_KEYoptional secret Optional personal CoinRithm API key (crk_live_…) from Settings -> API Keys. Without it the server runs keyless data tools only; add a key (start read-only) to paper-trade.
COINRITHM_API_URLoptional CoinRithm API base URL. Defaults to https://api.coinrithm.com.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp-trading -- npx -y --package=@coinrithm/mcp-trading@0.7.21 coinrithm-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-trading": {
      "args": [
        "-y",
        "--package=@coinrithm/mcp-trading@0.7.21",
        "coinrithm-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-trading": {
      "args": [
        "-y",
        "--package=@coinrithm/mcp-trading@0.7.21",
        "coinrithm-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-trading": {
      "args": [
        "-y",
        "--package=@coinrithm/mcp-trading@0.7.21",
        "coinrithm-mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-trading]
command = "npx"
args = ["-y", "--package=@coinrithm/mcp-trading@0.7.21", "coinrithm-mcp"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http mcp-trading https://mcp.coinrithm.com/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "mcp-trading": {
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.coinrithm.com/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-trading": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://mcp.coinrithm.com/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-trading": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://mcp.coinrithm.com/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-trading]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.coinrithm.com/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: whoami, get_portfolio, get_wallet, list_open_orders, get_positions, resolve_symbol, get_equity_curve, get_my_trades, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json