← Back to Plugins
MCP Server MCP

io.github.demwick/polymarket-agent-mcp

github By github 👁 1 views ▲ 0 votes

Polymarket trading, market discovery, copy trading and backtesting — 48 MCP tools.

Homepage Verified source GitHub

Install

npx -y [email protected]

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "npm",
      "identifier": "polymarket-agent-mcp",
      "version": "1.7.0",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Execution mode: 'preview' simulates trades in a local SQLite DB (default, safe for inspection); 'live' places real orders on Polymarket and requires all POLY_* credentials.",
          "format": "string",
          "default": "preview",
          "choices": [
            "preview",
            "live"
          ],
          "name": "COPY_MODE"
        },
        {
          "description": "Polygon wallet private key used to sign CLOB orders. Required only when COPY_MODE=live. Never logged, persisted, or transmitted outside signed order bodies.",
          "format": "string",
          "isSecret": true,
          "name": "POLY_PRIVATE_KEY"
        },
        {
          "description": "Polymarket CLOB API key. Required only when COPY_MODE=live.",
          "format": "string",
          "isSecret": true,
          "name": "POLY_API_KEY"
        },
        {
          "description": "Polymarket CLOB API secret. Required only when COPY_MODE=live.",
          "format": "string",
          "isSecret": true,
          "name": "POLY_API_SECRET"
        },
        {
          "description": "Polymarket CLOB API passphrase. Required only when COPY_MODE=live.",
          "format": "string",
          "isSecret": true,
          "name": "POLY_API_PASSPHRASE"
        },
        {
          "description": "Polymarket funder wallet address (proxy wallet) used for live trading.",
          "format": "string",
          "name": "POLY_FUNDER_ADDRESS"
        },
        {
          "description": "Maximum USDC the agent may spend per day. Used by BudgetManager to cap copy-trading exposure.",
          "format": "number",
          "default": "20",
          "name": "DAILY_BUDGET"
        },
        {
          "description": "Minimum conviction score (0–100) required before a copy trade is executed.",
          "format": "number",
          "default": "3",
          "name": "MIN_CONVICTION"
        },
        {
          "description": "EVM chain ID for Polymarket (137 = Polygon mainnet).",
          "format": "number",
          "default": "137",
          "name": "CHAIN_ID"
        },
        {
          "description": "Optional override for the SQLite database path. Defaults to a package-local file.",
          "format": "filepath",
          "name": "DB_PATH"
        }
      ]
    }
  ]
}
mcp model-context-protocol npm

Comments

Sign in to leave a comment

Loading comments...