Finance & commerce / polymarket-agent-mcp
polymarket-agent-mcp
io.github.demwick/polymarket-agent-mcp · v1.7.0
Polymarket trading, market discovery, copy trading and backtesting — 48 MCP tools.
Description supplied by the publisher in the MCP Registry. We have not tested this server.
Ranks #19 of 300 Finance & commerce servers on Socketlist by score, with 19 GitHub stars and a last code push 24d ago.
Install
npx -y polymarket-agent-mcpAssembled from the package metadata in the official MCP Registry (including any subcommand or flag the publisher lists). Some publishers do not list the subcommand that starts MCP mode, so confirm the command in the README, along with any required configuration and credentials, before connecting it to real data.
Connect polymarket-agent-mcp to Claude Code, Cursor or VS Code
Built from what the publisher declared in the official MCP Registry (the launch command above). We have not run this server. Replace anything in <angle brackets>, and keep keys and tokens in your environment, not in a shared file.
Claude Code
Run in a terminal. Adds the server at local scope; add --scope project or --scope user to share it. Secret variables the publisher declares are included; drop any the README says are optional. Claude Code setup guide.
claude mcp add --env POLY_PRIVATE_KEY=<poly_private_key> --env POLY_API_KEY=<poly_api_key> --env POLY_API_SECRET=<poly_api_secret> --env POLY_API_PASSPHRASE=<poly_api_passphrase> --transport stdio polymarket-agent-mcp -- npx -y polymarket-agent-mcp.mcp.json (Claude Code project scope, VS Code with Copilot)
Put this in a .mcp.json file at the project root. ${NAME} reads the value from your environment, so no secret is written to the file. VS Code and .mcp.json guide.
{
"mcpServers": {
"polymarket-agent-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"polymarket-agent-mcp"
],
"env": {
"POLY_PRIVATE_KEY": "${POLY_PRIVATE_KEY}",
"POLY_API_KEY": "${POLY_API_KEY}",
"POLY_API_SECRET": "${POLY_API_SECRET}",
"POLY_API_PASSPHRASE": "${POLY_API_PASSPHRASE}"
}
}
}
}Cursor
Put this in .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project. Cursor mcp.json guide.
{
"mcpServers": {
"polymarket-agent-mcp": {
"command": "npx",
"args": [
"-y",
"polymarket-agent-mcp"
],
"env": {
"POLY_PRIVATE_KEY": "${env:POLY_PRIVATE_KEY}",
"POLY_API_KEY": "${env:POLY_API_KEY}",
"POLY_API_SECRET": "${env:POLY_API_SECRET}",
"POLY_API_PASSPHRASE": "${env:POLY_API_PASSPHRASE}"
}
}
}
} Configuration the publisher declares
| Environment variable | Required | Secret | Publisher's note |
|---|---|---|---|
COPY_MODE | No | No | 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 | No | Yes | 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 | No | Yes | Polymarket CLOB API key. Required only when COPY_MODE=live. |
POLY_API_SECRET | No | Yes | Polymarket CLOB API secret. Required only when COPY_MODE=live. |
POLY_API_PASSPHRASE | No | Yes | Polymarket CLOB API passphrase. Required only when COPY_MODE=live. |
POLY_FUNDER_ADDRESS | No | No | Polymarket funder wallet address (proxy wallet) used for live trading. |
DAILY_BUDGET | No | No | Maximum USDC the agent may spend per day. Used by BudgetManager to cap copy-trading exposure. |
MIN_CONVICTION | No | No | Minimum conviction score (0–100) required before a copy trade is executed. |
CHAIN_ID | No | No | EVM chain ID for Polymarket (137 = Polygon mainnet). |
DB_PATH | No | No | Optional override for the SQLite database path. Defaults to a package-local file. |
"Required" and "secret" are the publisher's own flags in the registry, and many publishers leave them unset, so check the README too.
Allowlist entry
If your organisation restricts MCP servers, this is the entry an admin adds to allowedMcpServers in Claude Code managed settings or a GitHub Copilot enterprise managed-settings.json. A serverCommand entry must match the configured command and arguments exactly, so change both together.
{
"allowedMcpServers": [
{
"serverCommand": [
"npx",
"-y",
"polymarket-agent-mcp"
]
}
]
} How allowlists work in each client: MCP server allowlists for Claude Code, GitHub Copilot and Cursor. Before you connect it to real data: 10 security checks for MCP servers.
Signals
| GitHub stars | 19 |
| npm weekly downloads | 50 |
| Last push | 24d ago |
| Licence | MIT |
| Open issues | 4 |
| SECURITY.md | Yes |
| Language | TypeScript |
| Latest version published | 2026-08-07 |
Signals captured from GitHub, npm and the official MCP Registry on November 11, 2026. See the scoring method.
Similar servers compare all →
eToro Trading MCP
Score 81197 eToro API tools for agents: market data, watchlists, feeds, demo and real trading.
mcp
Score 76Crypto MCP: 105 tools across news, market, on-chain, sentiment, indicators, agent generation.
actually
Score 70Matches news to Polymarket markets and returns the market's probability. Optional capped trading.
Five MCP servers worth your time, every week
The Plug Weekly is a free email picked from these scores. About a 3-minute read. Unsubscribe any time.