npm · polymarket-agent-mcp
$npx -y polymarket-agent-mcp@1.7.0 COPY_MODE — 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.
POLY_PRIVATE_KEY · secret — Polygon wallet private key used to sign CLOB orders. Required only when COPY_MODE=live. Never logged, persisted, or transmitted outside signed order bodies.
POLY_API_KEY · secret — Polymarket CLOB API key. Required only when COPY_MODE=live.
POLY_API_SECRET · secret — Polymarket CLOB API secret. Required only when COPY_MODE=live.
POLY_API_PASSPHRASE · secret — Polymarket CLOB API passphrase. Required only when COPY_MODE=live.
POLY_FUNDER_ADDRESS — Polymarket funder wallet address (proxy wallet) used for live trading.
DAILY_BUDGET — Maximum USDC the agent may spend per day. Used by BudgetManager to cap copy-trading exposure.
MIN_CONVICTION — Minimum conviction score (0–100) required before a copy trade is executed.
CHAIN_ID — EVM chain ID for Polymarket (137 = Polygon mainnet).
DB_PATH — Optional override for the SQLite database path. Defaults to a package-local file.