Repository navigation
v0.7 — MCP server for AI agents
The toolkit's read-only CLI is now available as Model Context Protocol tools: mcp/ · docs/mcp.md
- 10 read-only tools for Claude / Codex / Cursor / any MCP client:
pm_profile,pm_activity,pm_brier,pm_pnl_check,pm_scan,pm_updown,pm_leaderboard,pm_redeem_watchdog,pm_v2_check,pm_rate_limits - The CLI is the contract: every tool shells out to
pm(argv array, no shell) — the server can do exactly what the read-only CLI can do, nothing more - Hardened: allowlist input validation (SDK layer + independent handler re-validation), pinned activity paging, 2MB subprocess output cap, spawn concurrency limit, 60s timeout
- No trading over MCP — order placement stays in the separate opt-in
executor/package, human-wired only - npm packaging:
npx -y polymarket-toolkit-mcpone-liner (bundled dist, Node >=20) — npm listing goes live once published
Setup:
claude mcp add polymarket-toolkit -- npx -y polymarket-toolkit-mcp(or from source: cd mcp && npm install && npm start)