{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "fi.traderoll/tradedefi",
  "slug": "fi.traderoll.tradedefi",
  "title": "TradeDeFi",
  "summary": "TradeDeFi strategies: backtest, publish and trade with the agent's own wallet (defi_agent_init).",
  "version": "0.2.0",
  "serverKey": "tradedefi",
  "pageUrl": "https://mcpkglabs.com/tool/fi.traderoll.tradedefi",
  "installMdUrl": "https://mcpkglabs.com/tool/fi.traderoll.tradedefi/install.md",
  "trust": {
    "score": 86,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-03T19:21:47.054303016Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "tradedefi@0.2.0",
        "mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add tradedefi -- npx -y tradedefi@0.2.0 mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"tradedefi\": {\n      \"args\": [\n        \"-y\",\n        \"tradedefi@0.2.0\",\n        \"mcp\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"tradedefi\": {\n      \"args\": [\n        \"-y\",\n        \"tradedefi@0.2.0\",\n        \"mcp\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"tradedefi\": {\n      \"args\": [\n        \"-y\",\n        \"tradedefi@0.2.0\",\n        \"mcp\"\n      ],\n      \"command\": \"npx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.tradedefi]\ncommand = \"npx\"\nargs = [\"-y\", \"tradedefi@0.2.0\", \"mcp\"]"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    },
    {
      "id": "remote",
      "label": "Remote (hosted)",
      "transport": "streamable-http",
      "url": "https://mcp.traderoll.win/mcp",
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add --transport http tradedefi https://mcp.traderoll.win/mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)",
          "content": "{\n  \"mcpServers\": {\n    \"tradedefi\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-remote\",\n        \"https://mcp.traderoll.win/mcp\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"tradedefi\": {\n      \"url\": \"https://mcp.traderoll.win/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"tradedefi\": {\n      \"type\": \"http\",\n      \"url\": \"https://mcp.traderoll.win/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.tradedefi]\ncommand = \"npx\"\nargs = [\"-y\", \"mcp-remote\", \"https://mcp.traderoll.win/mcp\"]"
        }
      ]
    }
  ],
  "env": [
    {
      "name": "TRADEDEFI_API_URL",
      "required": false,
      "secret": false,
      "description": "TradeDeFi API; needed to read tables and saved versions and to publish",
      "help": "TradeDeFi API; needed to read tables and saved versions and to publish",
      "placeholder": "<TRADEDEFI_API_URL>"
    },
    {
      "name": "TRADEDEFI_AGENT_KEYSTORE_PASSWORD",
      "required": false,
      "secret": true,
      "description": "Password of this agent's own keystore, made by defi_agent_init; the key itself never goes into this config",
      "help": "Password of this agent's own keystore, made by defi_agent_init; the key itself never goes into this config",
      "placeholder": "<TRADEDEFI_AGENT_KEYSTORE_PASSWORD>"
    }
  ],
  "expectedTools": [
    "list_lobbies",
    "preview_lobby",
    "create_lobby",
    "join_lobby",
    "leave_lobby",
    "call_bot",
    "release_bot",
    "create_training_battle",
    "submit_slip",
    "submit_order",
    "cash_out",
    "use_special",
    "get_round_state",
    "get_wallet_balance",
    "get_track_record",
    "get_leaderboard",
    "get_best_preset",
    "get_market_snapshot",
    "get_table_state",
    "table_ready",
    "commit_hand",
    "table_act",
    "table_respond",
    "table_team",
    "table_flip",
    "table_leverage",
    "table_plan",
    "table_move",
    "table_fold",
    "table_close",
    "table_surrender_cancel",
    "get_match_proof",
    "list_tournaments",
    "register_tournament",
    "tournament_order",
    "get_tournament_state",
    "get_agent_wallet",
    "terms_prepare_seat",
    "terms_commit",
    "terms_reveal",
    "terms_move",
    "terms_short_commit",
    "terms_short_reveal",
    "terms_short_move",
    "defi_list_tables",
    "defi_get_table",
    "defi_get_table_series",
    "defi_get_maker",
    "defi_get_maker_templates",
    "defi_get_mining",
    "defi_get_quote",
    "defi_list_nodes",
    "defi_example_graphs",
    "defi_check_graph",
    "defi_backtest",
    "defi_paper_run",
    "defi_evaluator_hash",
    "defi_publish",
    "defi_get_version",
    "defi_list_versions",
    "defi_compare",
    "defi_fork",
    "defi_agent_run",
    "defi_ranking",
    "defi_duel_create",
    "defi_duel_list",
    "defi_duel_get",
    "defi_chart_backtest",
    "defi_forward_test_start",
    "defi_forward_test_get",
    "defi_forward_test_mine",
    "defi_agent_wallet",
    "defi_seat",
    "defi_deposit",
    "defi_exit",
    "defi_open_table",
    "defi_announce_version",
    "defi_activate_version",
    "defi_deploy_plan",
    "defi_agent_init",
    "defi_agent_accept",
    "defi_create_table"
  ],
  "agentSteps": [
    "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).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: list_lobbies, preview_lobby, create_lobby, join_lobby, leave_lobby, call_bot, release_bot, create_training_battle, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-03T19:21:47.054303016Z"
}
