SolidInvoice
Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.
Polymarket predictions and perps: market data, accounts and gated trading. Unofficial.
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 0/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 12/100 |
Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install Polymarket (unofficial). Follow https://mcp.popnx.com/i/tukorama-mcp-server-polymarket.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 19, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
You need a Polymarket (unofficial) key (create it on the maker’s site) · 1 setting(s) to fill in (POLYMARKET_WALLET_ADDRESS) · Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Polymarket (unofficial) for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "polymarket": { "command": "uvx", "args": [ "mcp-server-polymarket" ], "env": { "POLYMARKET_API_KEY": "your-value", "POLYMARKET_API_SECRET": "your-value", "POLYMARKET_API_PASSPHRASE": "your-value", "POLYMARKET_WALLET_ADDRESS": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For POLYMARKET_API_KEY, POLYMARKET_API_SECRET, POLYMARKET_API_PASSPHRASE, POLYMARKET_WALLET_ADDRESS, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Polymarket (unofficial) tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
uv --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version
Install once; it works for everything that needs uv
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
POLYMARKET_WALLET_ADDRESS Your Polymarket wallet (the address shown in your profile). Required for signing.Descriptions are as written by the maker.
SettingsDeveloperEdit Config
{
"mcpServers": {
"polymarket": {
"command": "uvx",
"args": [
"mcp-server-polymarket"
],
"env": {
"POLYMARKET_API_KEY": "your-value",
"POLYMARKET_API_SECRET": "your-value",
"POLYMARKET_API_PASSPHRASE": "your-value",
"POLYMARKET_WALLET_ADDRESS": "your-value"
}
}
}
}Paste the key only into the app’s field, never into a chat or to anyone
Use Polymarket (unofficial) and tell me what you can do for me, then show me one thing✓ If Claude says it is using Polymarket (unofficial) or shows a Polymarket (unofficial) tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
POLYMARKET_TOOLSETS Tool groups to expose, e.g. auto, all, predictions, perps, or auto,+sports,-docs.POLYMARKET_ADDRESS Signer address the CLOB API credentials belong to.POLYMARKET_PRIVATE_KEY_FILE File holding the signing key. Signing needs the `signing` extra.POLYMARKET_ALLOW_TRADING Set to true to expose order placement and cancellation tools.POLYMARKET_ALLOW_TRANSFERS Set to true to expose deposit, withdrawal and transfer tools.POLYMARKET_MAX_ORDER_USD Largest order value in USD a single tool call may place (default 100).Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect Polymarket (unofficial) yet
Polymarket (unofficial) runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect Polymarket (unofficial)
B · Others in Accounting, finance & tax that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
Works with Claude Code, with some setup first
You need a Polymarket (unofficial) key (create it on the maker’s site) · 1 setting(s) to fill in (POLYMARKET_WALLET_ADDRESS) · Install Python (uv) on your computer first (one time)
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Polymarket (unofficial) for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user polymarket --env POLYMARKET_API_KEY=your-value --env POLYMARKET_API_SECRET=your-value --env POLYMARKET_API_PASSPHRASE=your-value --env POLYMARKET_WALLET_ADDRESS=your-value -- uvx mcp-server-polymarket 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For POLYMARKET_API_KEY, POLYMARKET_API_SECRET, POLYMARKET_API_PASSPHRASE, POLYMARKET_WALLET_ADDRESS, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Polymarket (unofficial) tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
uv --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version
Install once; it works for everything that needs uv
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
POLYMARKET_WALLET_ADDRESS Your Polymarket wallet (the address shown in your profile). Required for signing.Descriptions are as written by the maker.
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --scope user polymarket --env POLYMARKET_API_KEY=your-value --env POLYMARKET_API_SECRET=your-value --env POLYMARKET_API_PASSPHRASE=your-value --env POLYMARKET_WALLET_ADDRESS=your-value -- uvx mcp-server-polymarketReplace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
You should see Polymarket (unofficial) listed as connected
Use Polymarket (unofficial) and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using Polymarket (unofficial) or shows a Polymarket (unofficial) tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
POLYMARKET_TOOLSETS Tool groups to expose, e.g. auto, all, predictions, perps, or auto,+sports,-docs.POLYMARKET_ADDRESS Signer address the CLOB API credentials belong to.POLYMARKET_PRIVATE_KEY_FILE File holding the signing key. Signing needs the `signing` extra.POLYMARKET_ALLOW_TRADING Set to true to expose order placement and cancellation tools.POLYMARKET_ALLOW_TRANSFERS Set to true to expose deposit, withdrawal and transfer tools.POLYMARKET_MAX_ORDER_USD Largest order value in USD a single tool call may place (default 100).Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
You need a Polymarket (unofficial) key (create it on the maker’s site) · 1 setting(s) to fill in (POLYMARKET_WALLET_ADDRESS) · Install Python (uv) on your computer first (one time)
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Polymarket (unofficial) for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "polymarket": { "command": "uvx", "args": [ "mcp-server-polymarket" ], "env": { "POLYMARKET_API_KEY": "your-value", "POLYMARKET_API_SECRET": "your-value", "POLYMARKET_API_PASSPHRASE": "your-value", "POLYMARKET_WALLET_ADDRESS": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For POLYMARKET_API_KEY, POLYMARKET_API_SECRET, POLYMARKET_API_PASSPHRASE, POLYMARKET_WALLET_ADDRESS, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Polymarket (unofficial) tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
uv --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version
Install once; it works for everything that needs uv
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
POLYMARKET_WALLET_ADDRESS Your Polymarket wallet (the address shown in your profile). Required for signing.Descriptions are as written by the maker.
In the Polymarket (unofficial) settings, POLYMARKET_API_KEY, POLYMARKET_API_SECRET, POLYMARKET_API_PASSPHRASE, POLYMARKET_WALLET_ADDRESS is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use Polymarket (unofficial) and tell me what you can do for me, then show me one thing✓ If Cursor says it is using Polymarket (unofficial) or shows a Polymarket (unofficial) tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
POLYMARKET_TOOLSETS Tool groups to expose, e.g. auto, all, predictions, perps, or auto,+sports,-docs.POLYMARKET_ADDRESS Signer address the CLOB API credentials belong to.POLYMARKET_PRIVATE_KEY_FILE File holding the signing key. Signing needs the `signing` extra.POLYMARKET_ALLOW_TRADING Set to true to expose order placement and cancellation tools.POLYMARKET_ALLOW_TRANSFERS Set to true to expose deposit, withdrawal and transfer tools.POLYMARKET_MAX_ORDER_USD Largest order value in USD a single tool call may place (default 100).Descriptions are as written by the maker.
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
You need a Polymarket (unofficial) key (create it on the maker’s site) · 1 setting(s) to fill in (POLYMARKET_WALLET_ADDRESS) · Install Python (uv) on your computer first (one time)
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Polymarket (unofficial) for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "polymarket": { "type": "stdio", "command": "uvx", "args": [ "mcp-server-polymarket" ], "env": { "POLYMARKET_API_KEY": "your-value", "POLYMARKET_API_SECRET": "your-value", "POLYMARKET_API_PASSPHRASE": "your-value", "POLYMARKET_WALLET_ADDRESS": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For POLYMARKET_API_KEY, POLYMARKET_API_SECRET, POLYMARKET_API_PASSPHRASE, POLYMARKET_WALLET_ADDRESS, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Polymarket (unofficial) tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
uv --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version
Install once; it works for everything that needs uv
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
POLYMARKET_WALLET_ADDRESS Your Polymarket wallet (the address shown in your profile). Required for signing.Descriptions are as written by the maker.
In the Polymarket (unofficial) settings, POLYMARKET_API_KEY, POLYMARKET_API_SECRET, POLYMARKET_API_PASSPHRASE, POLYMARKET_WALLET_ADDRESS is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use Polymarket (unofficial) and tell me what you can do for me, then show me one thing✓ If VS Code says it is using Polymarket (unofficial) or shows a Polymarket (unofficial) tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
POLYMARKET_TOOLSETS Tool groups to expose, e.g. auto, all, predictions, perps, or auto,+sports,-docs.POLYMARKET_ADDRESS Signer address the CLOB API credentials belong to.POLYMARKET_PRIVATE_KEY_FILE File holding the signing key. Signing needs the `signing` extra.POLYMARKET_ALLOW_TRADING Set to true to expose order placement and cancellation tools.POLYMARKET_ALLOW_TRANSFERS Set to true to expose deposit, withdrawal and transfer tools.POLYMARKET_MAX_ORDER_USD Largest order value in USD a single tool call may place (default 100).Descriptions are as written by the maker.
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Claude Code
claude mcp add --scope user polymarket --env POLYMARKET_API_KEY=your-value --env POLYMARKET_API_SECRET=your-value --env POLYMARKET_API_PASSPHRASE=your-value --env POLYMARKET_WALLET_ADDRESS=your-value -- uvx mcp-server-polymarketClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"polymarket": {
"command": "uvx",
"args": [
"mcp-server-polymarket"
],
"env": {
"POLYMARKET_API_KEY": "your-value",
"POLYMARKET_API_SECRET": "your-value",
"POLYMARKET_API_PASSPHRASE": "your-value",
"POLYMARKET_WALLET_ADDRESS": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"polymarket": {
"command": "uvx",
"args": [
"mcp-server-polymarket"
],
"env": {
"POLYMARKET_API_KEY": "your-value",
"POLYMARKET_API_SECRET": "your-value",
"POLYMARKET_API_PASSPHRASE": "your-value",
"POLYMARKET_WALLET_ADDRESS": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"polymarket": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-server-polymarket"
],
"env": {
"POLYMARKET_API_KEY": "your-value",
"POLYMARKET_API_SECRET": "your-value",
"POLYMARKET_API_PASSPHRASE": "your-value",
"POLYMARKET_WALLET_ADDRESS": "your-value"
}
}
}
}POLYMARKET_TOOLSETS envPOLYMARKET_API_KEY secret required envPOLYMARKET_API_SECRET secret required envPOLYMARKET_API_PASSPHRASE secret required envPOLYMARKET_ADDRESS envPOLYMARKET_PRIVATE_KEY_FILE envPOLYMARKET_WALLET_ADDRESS required envPOLYMARKET_ALLOW_TRADING envPOLYMARKET_ALLOW_TRANSFERS envPOLYMARKET_MAX_ORDER_USD envDescriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 20, 2026
The registry name was verified with the GitHub account tukorama, which owns the repo
Code last changed yesterday
Uses MIT
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
No entries on OSV.dev for mcp-server-polymarket@0.1.0
Checks only this package version, not every dependency · checked Nov 19, 2026
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/tukorama-mcp-server-polymarket)Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: POLYMARKET_API_KEY, POLYMARKET_API_SECRET, POLYMARKET_API_PASSPHRASE
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed yesterday, and the latest version (0.1.0) reached the registry yesterday.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.
In the same category: SolidInvoice, Journalit, Beancount.io, Tapetide - Indian Stock Market MCP, Twelve Data
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.
Trading journal in Obsidian. Ask Claude or ChatGPT about your trades; edits are previewed first.
Query, edit, and reconcile a hosted Beancount ledger: BQL, reports, files, and bank imports.
48 tools for ~8,000 NSE & BSE stocks: quotes, screener, financials, filings, FII/DII, options
Real-time and historical market data: stocks, forex, crypto, ETFs, fundamentals and 60+ indicators.
| This one Polymarket (unofficial) | SolidInvoice | Journalit | Beancount.io | Tapetide - Indian Stock Market MCP | Twelve Data | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Cloud or install on your computer | Runs in the cloud, nothing to install |
| Needs a key | Yes | No | No | No | Yes | No |
| Add with + in Claude | No | No | No | No | No | Yes |
| Basic checks | 3/3 | 4/6 | 4/4 | 4/4 | 5/5 | 4/4 |
| License | MIT | MIT | NOASSERTION | MIT | MIT | – |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
mcp-server-polymarket is a Model Context Protocol (MCP) server for the Polymarket APIs, covering both Predictions (Gamma, CLOB, Data API, Relayer, Bridge, Combos and the WebSocket feeds) and Perps (perpetual futures, HTTP and WebSocket). The same tools are packaged for LangGraph and LangChain. Reading needs no account. Trading and transfers exist too, switched off until you turn them on.
[!WARNING]
Unofficial, and not affiliated with Polymarket. Orders and transfers move real money and cannot
be undone, and an agent can misread a market. Polymarket restricts trading in some countries and
regions; check that you are allowed to trade where you are. Start with
dry_runand small
limits. This software comes with no warranty (see the license).
Pointing an agent at the Polymarket APIs goes wrong in a few predictable ways, and each one shaped this package.
get_quotes reads best bid, ask, midpoint, spread, tick size and minimum size for any number of tokens in one request) and toolsets keep rarely needed areas out of the context.resend_write resends the exact signed bytes, which Polymarket deduplicates. Nothing that moves money is ever retried automatically.Reading markets, books, prices, positions and Perps data needs nothing but uv and the server.
claude mcp add polymarket -- uvx mcp-server-polymarket
Add to .cursor/mcp.json (or ~/.cursor/mcp.json globally):
{
"mcpServers": { "polymarket": { "command": "uvx", "args": ["mcp-server-polymarket"] } } }
{
"mcpServers": { "polymarket": { "command": "uvx", "args": ["mcp-server-polymarket"] } } }
Add to .vscode/mcp.json:
{
"servers": { "polymarket": { "type": "stdio", "command": "uvx", "args": ["mcp-server-polymarket"] } } }
Start the server over Streamable HTTP with bearer-token protection and tunnel or host it over HTTPS before pasting the endpoint URL into ChatGPT's Developer Mode connector settings:
POLYMARKET_HTTP_BEARER_TOKEN=change-me uvx mcp-server-polymarket serve --transport streamable-http --host 0.0.0.0 --port 8000
Now ask for something like "What does Polymarket give for a Fed cut in December, and how deep is the book?" or "Show me BTC perp funding over the last week."
Trading needs the signing extra, your wallet's address and a signing key.
uvx --from "mcp-server-polymarket[signing]" mcp-server-polymarket wherever the examples say uvx mcp-server-polymarket.POLYMARKET_PRIVATE_KEY_FILE to its path, and POLYMARKET_WALLET_ADDRESS to your Polymarket wallet (the address shown on polymarket.com, not the key's own address). The server works out the wallet type from the two and refuses a mismatch. uvx --from "mcp-server-polymarket[signing]" mcp-server-polymarket auth
They are saved to ~/.config/mcp-server-polymarket/session.json, readable only by you. The private key is never written to disk by this package.
POLYMARKET_ALLOW_TRADING=true. Optionally lower POLYMARKET_MAX_ORDER_USD (100 by default) and POLYMARKET_MAX_DAILY_USD (1000).mcp-server-polymarket status, which lists what is configured and every hidden tool with the step that would show it.{
"mcpServers": { "polymarket": { "command": "uvx", "args": ["--from", "mcp-server-polymarket[signing]", "mcp-server-polymarket"], "env": { "POLYMARKET_PRIVATE_KEY_FILE": "/Users/me/.config/polymarket/key", "POLYMARKET_WALLET_ADDRESS": "0x...", "POLYMARKET_ALLOW_TRADING": "true", "POLYMARKET_MAX_ORDER_USD": "20" } } } }
Your MCP client must support elicitation (asking the user a question mid-call), because every order is confirmed there. A client without it gets a refusal, not a silent order.
Use a session key for day-to-day trading. On a Deposit Wallet, the owner key can do anything, including withdrawing. A session key can trade but cannot move funds out. Authorise one with the owner key, then run the server with the session key instead:
mcp-server-polymarket auth --session-key 0xSESSION_KEY_ADDRESS
and set POLYMARKET_PRIVATE_KEY_FILE to the session key and POLYMARKET_SIGNER_ROLE=session_key. The wallet and transfer tools need the owner key and stay hidden.
On-chain actions (setup_trading_approvals, split_position, merge_positions, redeem_positions, deposit_to_perps) go through Polymarket's gasless Relayer and need a Relayer API key from your Polymarket account: POLYMARKET_RELAYER_API_KEY and POLYMARKET_RELAYER_API_KEY_ADDRESS.
Perps need a separate session, created once:
mcp-server-polymarket auth --perps # a trading key that cannot withdraw
mcp-server-polymarket auth --perps --read-only
Moving funds (Perps deposits and withdrawals, bridge withdrawals) needs POLYMARKET_ALLOW_TRANSFERS=true as well, is capped by POLYMARKET_MAX_TRANSFER_USD, and is always confirmed, whatever POLYMARKET_CONFIRM says.
A safe first run: preview an order with dry_run, place a post-only order at the minimum size far from the market and cancel it, and on Perps set the leverage you already have.
mcp-server-polymarket logout forgets stored credentials; logout --revoke also deletes the CLOB API key on Polymarket, logout --builder-key revokes the builder key, and logout --perps revokes and forgets the Perps session.
The langgraph extra gives you plain LangChain tools in the same process, with no MCP server to run. It also has a prebuilt agent.
uv add "mcp-server-polymarket[langgraph,signing]"
from mcp_server_polymarket.integrations.langgraph import (
create_polymarket_agent, get_polymarket_tools, )
agent = create_polymarket_agent("anthropic:claude-sonnet-5-5") config = {"configurable": {"thread_id": "1"}} result = await agent.ainvoke({"messages": [("user", "How likely is a Fed cut?")]}, config=config)
tools = get_polymarket_tools(toolsets="auto,+sports", prefix="pm_")
The tools work from sync and async graphs. When trading is enabled, every order or transfer pauses the graph with interrupt(), carrying the same confirmation text the MCP server would show. Resume with Command(resume=True) to go ahead; any other value declines. Interrupts need a checkpointer, which the prebuilt agent creates in memory (pass your own, or checkpointer=None on LangGraph Platform). get_polymarket_tools() leaves those tools out unless you pass include_gated=True, because they only work inside a graph with a checkpointer. See examples/langgraph_agent.py and the LangGraph Platform app in examples/langgraph_app.
To keep Polymarket in a separate process, connect over MCP instead. This route needs langchain[mcp], which LangChain still marks as beta.
from langchain.agents import create_agent
from langchain.mcp import MCPAdapter
config = {"mcpServers": {"polymarket": {"command": "uvx", "args": ["mcp-server-polymarket"]}}} async with MCPAdapter(config) as adapter: agent = create_agent("anthropic:claude-sonnet-5-5", await adapter.list_tools())
draw_mermaid(agent) draws a graph with its Polymarket tools grouped by toolset and colored by what they can change. The prebuilt agent without credentials:
---
config: flowchart: nodeSpacing: 24 rankSpacing: 12 padding: 8
flowchart TB subgraph agent["Agent graph"] direction LR n0([start]) n1["model"] n2["tools"] n3([end]) n0 --> n1 n1 -.-> n3 n1 -.-> n2 n2 -.-> n1 end subgraph tools["Tools"] direction TB subgraph tools_row0[" "] direction LR subgraph tools_analytics["analytics"] direction LR tools_analytics_read["list_positions list_combo_positions get_user_overview get_user_pnl list_trades list_activity list_combo_activity list_market_holders get_open_interest get_event_live_volume get_resolutions lookup_tokens get_leaderboard list_biggest_wins get_wallet_approvals"]:::read end subgraph tools_perps_market["perps-market"] direction LR tools_perps_market_read["get_perps_exchange_info list_perps_instruments get_perps_tickers get_perps_book get_perps_candles get_perps_index list_perps_trades get_perps_funding_history get_perps_exchange_stats get_perps_public_account list_perps_public_fills check_perps_invite_code"]:::read end subgraph tools_discovery["discovery"] direction LR tools_discovery_read["search list_events get_event list_markets get_market list_tags get_tag list_series get_series list_comments get_profile list_event_creators"]:::read end tools_analytics ~~~ tools_perps_market ~~~ tools_discovery end subgraph tools_row1[" "] direction LR subgraph tools_docs["docs"] direction LR tools_docs_read["search_docs read_doc"]:::read end subgraph tools_market_data["market-data"] direction LR tools_market_data_read["get_order_books get_quotes get_price_history get_market_trading_info list_order_book_markets get_live_activity"]:::read end subgraph tools_system["system"] direction LR tools_system_read