Skip to content

v0.7 — MCP server for AI agents

Latest

Choose a tag to compare

@runesleo runesleo released this 15 Jul 20:17
· 20 commits to main since this release

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-mcp one-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)