Live survey304 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Polymarket MCP server

by caiovicentino/polymarket-mcp-serverMIT licenceAudited 28 Sep 2026 · source e670de3259e8

PyPI polymarket-mcpstdio★ 679
!CAUTIONGrade C · 71/100 · 28 Sep 2026 · e670de3
679GitHub stars

Is it safe? With care — CAUTION, grade C (71/100). It exposes 24 tools: 20 read, 4 write and 0 destructive. The audit recorded 28 findings (0 critical, 0 high, 5 medium, 23 low). Maintainer's description: 🤖 AI-Powered MCP Server for Polymarket - Enable Claude to trade prediction markets with 45 tools, real-time monitoring, and enterprise-grade safety features

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Polymarket MCP server (caiovicentino/polymarket-mcp-server)”. Retrieved 28 Sep 2026. https://modelsatlas.com/mcp/caiovicentino/polymarket-6

2 MCP servers are called Polymarket. You are viewing caiovicentino/polymarket-mcp-server. Compare all 2 →

Trust audit

Audit 0.4.1 · full source read 28 Sep 2026

Trust score71/100!CAUTION C
0 critical0 high5 medium23 low0 info

28 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared2 observations
  • NetworkDeclared3 observations
  • ShellNone observedNothing seen in the source
  • DependenciesPinnedNothing floats
  • SecretsFoundSee the findings

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 3 findings
L1 Static sourceSecrets, path traversal, supply chainWARN 15 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 7 findings
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner caiovicentinoUser accountAccount type recorded when we read the repository.
  • PackagePublished on PyPIpolymarket-mcp, no version recorded
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push7 days agoActivity of the repository when we read it.
  • Source commit reade670de3259e8The audit covers exactly this commit, read on 28 Sep 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory24 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (28)

Sorted by severity · the 25 most severe of 28 are listed

MEDIUMInformation disclosuredisclose.log_secret · src/polymarket_mcp/auth/client.py:164
F-12 Information disclosureCWE-209 · CWE-532Layer L1
logger.info(f"API credentials created: {creds.api_key[:8]}...")
Why
No further detail recorded for this rule.
Fix
—
MEDIUMInformation disclosuredisclose.log_secret · src/polymarket_mcp/server.py:696
F-12 Information disclosureCWE-209 · CWE-532Layer L1
logger.debug(f"POLYMARKET_API_KEY={api_key[:8]}...")
Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · tests/test_client_auth_offline.py:57
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · tests/test_error_log_sanitization_r2_offline.py:279
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · tests/test_server_lifecycle_offline.py:265
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenanceinv.hidden_file · .codecov.yml
F-13 Inventory / provenanceCWE-1104Layer L0
.codecov.yml
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .pre-commit-config.yaml
F-13 Inventory / provenanceCWE-1104Layer L0
.pre-commit-config.yaml
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .secrets.baseline
F-13 Inventory / provenanceCWE-1104Layer L0
.secrets.baseline
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWCode injectioncode.dynamic_import · test_web_dashboard.py:105
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
__import__(module)
Why
No further detail recorded for this rule.
Fix
—
LOWCode injectioncode.dynamic_import · tests/test_console_entry_offline.py:131
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
module = importlib.import_module(mod)
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.env_exfil · tests/test_web_app_offline.py:74
F-04 Network egressCWE-200 · CWE-319Layer L1
".env" ... Websocket
Why
reads secrets in the same file that sends data out
Fix
—
LOWNetwork egressnet.raw_ip · tests/test_api_url_config_contract.py:52
F-04 Network egressCWE-200 · CWE-319Layer L1
GAMMA_OVERRIDE = "http://127.0.0.1:9999"
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/test_api_url_config_contract.py:53
F-04 Network egressCWE-200 · CWE-319Layer L1
CLOB_OVERRIDE = "http://127.0.0.1:8443"
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/test_mcp_conformance_e2e_offline.py:121
F-04 Network egressCWE-200 · CWE-319Layer L1
_INOPERATIVE_PROXY = "http://127.0.0.1:1"
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/test_mcp_stdio_e2e_offline.py:121
F-04 Network egressCWE-200 · CWE-319Layer L1
_INOPERATIVE_PROXY = "http://127.0.0.1:1"
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.homoglyph · tests/test_safety_adversarial.py:303
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
result = await tools.create_limit_order("m1", "ВUY", 0.5, 10.0)
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.homoglyph · tests/test_safety_adversarial.py:306
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
assert result["error"] == "Side must be BUY or SELL, got ВUY"
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.homoglyph · tests/test_safety_adversarial.py:695
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
{"token_id": "t1", "outcome": "Вuy"},
Why
No further detail recorded for this rule.
Fix
—
LOWPrompt injectionprompt.credential_read · FAQ.md:445
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
2. Variable is set: `cat .env | grep POLYGON`
Why
asks the agent to read credentials
Fix
—
LOWPrompt injectionprompt.credential_read · INSTALLATION.md:418
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
cat .env | grep DEMO_MODE
Why
asks the agent to read credentials
Fix
—
LOWPrompt injectionprompt.credential_read · TEST_INSTALLATION.md:49
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
cat .env | grep DEMO  # DEMO_MODE=true present
Why
asks the agent to read credentials
Fix
—
LOWPrompt injectionprompt.credential_read · TEST_INSTALLATION.md:92
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
cat .env | grep -E "POLYGON_PRIVATE_KEY|POLYGON_ADDRESS"
Why
asks the agent to read credentials
Fix
—
LOWPrompt injectionprompt.credential_read · TEST_INSTALLATION.md:96
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
cat .env | grep DEMO
Why
asks the agent to read credentials
Fix
—
LOWSupply chainprompt.pipe_to_shell · INSTALLATION.md:40
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -sSL https://raw.githubusercontent.com/caiovicentino/polymarket-mcp-server/main/quickstart.sh | bash
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainprompt.pipe_to_shell · INSTALLATION_SUMMARY.md:107
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -sSL https://raw.githubusercontent.com/.../quickstart.sh | bash
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

24 declared in source · 0 destructive

20 read4 write0 destructive
ToolRiskWhat it does
cancel_orderwriteCancel a specific open order by ID.
get_order_historywriteGet historical orders with optional filters for market and date range.
get_order_statuswriteCheck status and fill details of a specific order.
get_orderbookwriteGet complete order book with bids and asks arrays.
analyze_market_opportunityreadAI-powered market analysis with trading recommendation, risk assessment, and confidence score.
cancel_all_ordersreadCancel all open orders across all markets. Use with caution.
cancel_market_ordersreadCancel all open orders in a specific market.
compare_marketsreadCompare multiple markets side-by-side with key metrics (volume, liquidity, etc.).
filter_markets_by_categoryreadFilter markets by category or tag (e.g., Politics, Sports, Crypto). Returns markets in the specified category.
get_closing_soon_marketsreadGet markets closing within specified timeframe. Returns markets sorted by closing time.
get_crypto_marketsreadGet cryptocurrency-related markets. Optionally filter by specific crypto symbol.
get_current_pricereadGet current bid/ask prices for a token. Returns PriceData with bid, ask, and mid prices.
get_event_marketsreadGet all markets for a specific event. Returns all markets belonging to the event.
get_featured_marketsreadGet featured or promoted markets. Returns curated list of important markets.
get_liquidityreadGet available liquidity in USD for a market.
get_market_detailsreadGet complete market information including metadata, tokens, volume, and liquidity.
get_market_holdersreadGet top position holders for a market. Note: Requires authenticated access.
get_market_volumereadGet volume statistics for different timeframes (24h, 7d, 30d, all-time).
get_open_ordersreadGet all active/open orders, optionally filtered by market.
get_price_historyreadGet historical price data (OHLC). Note: Limited availability via public API.
get_sports_marketsreadGet sports betting markets. Optionally filter by specific sport type.
get_spreadreadGet current spread (difference between bid and ask prices).
get_trending_marketsreadGet markets with highest trading volume in specified timeframe. Returns top markets sorted by volume.
search_marketsreadSearch markets by text query, slug, or keywords. Returns markets matching the search criteria.

Install

audited commit e670de3

Read the findings first. The most severe is Information disclosure (medium) at src/polymarket_mcp/auth/client.py.

One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit e670de3 only.

claude mcp add polymarket-mcp --env POLYGON_PRIVATE_KEY=${POLYGON_PRIVATE_KEY} --env POLYMARKET_API_KEY=${POLYMARKET_API_KEY} --env POLYMARKET_PASSPHRASE=${POLYMARKET_PASSPHRASE} -- uvx polymarket-mcp

The command does not pin a version; the audit covers commit e670de3259e8. Transport: stdio. Reads these environment variables: POLYGON_PRIVATE_KEY, POLYMARKET_API_KEY, POLYMARKET_PASSPHRASE. Give it the narrowest token it needs.

Audit history

  1. !CAUTION C 71 / 100

    First audit · e670de3259e8

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION CMODELSATLASCAUTION · C
[![ModelsAtlas: CAUTION C](https://modelsatlas.com/mcp/caiovicentino/polymarket-6/badge.svg)](https://modelsatlas.com/mcp/caiovicentino/polymarket-6/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Polymarket MCP server

What is the Polymarket MCP server?
🤖 AI-Powered MCP Server for Polymarket - Enable Claude to trade prediction markets with 45 tools, real-time monitoring, and enterprise-grade safety features
What tools does Polymarket expose?
24 in total: 20 read-only, 4 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Polymarket safe to connect to an agent?
With care. The audit graded it C (71/100) and found 25 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does Polymarket need?
It reads POLYGON_PRIVATE_KEY, POLYMARKET_API_KEY and POLYMARKET_PASSPHRASE from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Polymarket run?
It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as polymarket-mcp.
How current is this page?
The grade is for one exact copy of the source (e670de3259e8), read on 2026-09-28. The repository is watched and re-audited when it changes.
Which Polymarket MCP server is the right one?
berlinbra/polymarket-mcp. 2 servers share the name; see the side-by-side comparison.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.