Skip to content
← All MCP servers

Is the Polymarket MCP server safe? What it can reach

What the Polymarket MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.

Community serverChecked

This covers IQAI’s mcp-polymarket, a community server run locally with npx. We found no Polymarket-run server. Without a private key it only reads market data. With POLYMARKET_PRIVATE_KEY it can place orders and approve token spending from your wallet. Set the spending limits it documents.

Who maintains it

ImplementationKindStatus
mcp-polymarket, npm @iqai/mcp-polymarket (community, repo BrainDAO/mcp-polymarket)Communityactive
caiovicentino/polymarket-mcp-server (community, 755 stars; README lists no tool names, not covered below)Communityactive

It runs as a local process on your machine.

How it signs in

None for market data. For trading it takes a wallet private key in POLYMARKET_PRIVATE_KEY and signs orders with it, so the server acts with the wallet’s funds.

What its tools can do

KindTools
Readget_all_tags, get_balance_allowance, get_event_by_slug, get_market_by_slug, get_markets_by_tag, get_open_orders, get_order, get_order_book, get_positions, get_trade_history, list_active_markets, search_markets
Writecancel_order, cancel_all_orders, update_balance_allowance
Can’t be undoneplace_order, place_market_order, approve_allowances, redeem_positions

The README says trading tools carry the MCP destructiveHint annotation. Trading tools need the private key. Without it the server is read-only.

Built-in limits

OptionWhat it does
Leave out POLYMARKET_PRIVATE_KEYThe README’s minimal configuration has no key and is read-only.
POLYMARKET_MAX_ORDER_USDMaximum pUSD notional for one order. Larger orders return ORDER_LIMIT_EXCEEDED and are never signed. No limit by default.
POLYMARKET_MAX_SESSION_USDMaximum total pUSD across all orders while the server runs. No limit by default.

The risks

  • With a key set, an injected instruction in a market description or page could make the agent call place_market_order and spend wallet funds.
  • Without the two limit variables, nothing but the wallet balance stops an order of any size, and the README warns that auto-approve hosts make this worse.
  • approve_allowances grants on-chain approvals for pUSD and conditional tokens. The README says they are revocable in your wallet.
  • The private key sits in the MCP client config and the server process, so use a dedicated wallet holding only what you can lose.

Limit it in Claude Code

Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:

claude mcp add --env POLYMARKET_PRIVATE_KEY=... --env POLYMARKET_MAX_ORDER_USD=... --env POLYMARKET_MAX_SESSION_USD=... polymarket -- npx -y @iqai/mcp-polymarket

Claude Code names MCP tools mcp__polymarket__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:

{
  "permissions": {
    "deny": [
      "mcp__polymarket__place_order",
      "mcp__polymarket__place_market_order",
      "mcp__polymarket__approve_allowances"
    ],
    "ask": [
      "mcp__polymarket__redeem_positions",
      "mcp__polymarket__cancel_all_orders",
      "mcp__polymarket__cancel_order",
      "mcp__polymarket__update_balance_allowance"
    ]
  }
}

Limit it in Codex

Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:

[mcp_servers.polymarket]
command = "npx"
args = ["-y", "@iqai/mcp-polymarket"]
env_vars = ["POLYMARKET_PRIVATE_KEY", "POLYMARKET_MAX_ORDER_USD", "POLYMARKET_MAX_SESSION_USD"]
disabled_tools = ["place_order", "place_market_order", "approve_allowances"]

Checklist

  • Start with no private key to get read-only market data.
  • If you trade, use a separate wallet with a small balance.
  • Set POLYMARKET_MAX_ORDER_USD and POLYMARKET_MAX_SESSION_USD.
  • Deny the order and approval tools unless you are actively trading.
  • Review and revoke token approvals in your wallet afterward.

Checked against the vendor documentation on November 25, 2026. mcp-polymarket README · mcp-polymarket repository · caiovicentino/polymarket-mcp-server README

What Excellent covers

Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server

Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing