A Model Context Protocol (MCP) server for Polymarket's Gamma Markets API.
A Model Context Protocol (MCP) server for Polymarket's Gamma Markets API. Exposed over MCP by the polymarket mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.
Everything the assistant can do here goes through one of these:
get_markets — Market Dataget_market_by_id — Market Dataget_order_book — Market Dataget_recent_trades — Market Dataget_market_history — Market Datasearch_markets — Market Dataget_events — Event Dataget_event_by_id — Event DataTesting — The project includes a comprehensive test suite that ensures functionality and helps prevent regressionsYou will need 2 environment variables: GAMMA_API_URL, GAMMA_REQUIRES_AUTH. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
This sits in the cloud and infrastructure group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Polymarket's toolset — get_markets, get_market_by_id, get_order_book and 6 more — is a fair guide to whether it matches your workflow. It is maintained by pab1it0; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| get_markets | Market Data |
| get_market_by_id | Market Data |
| get_order_book | Market Data |
| get_recent_trades | Market Data |
| get_market_history | Market Data |
| search_markets | Market Data |
| get_events | Event Data |
| get_event_by_id | Event Data |
| Testing | The project includes a comprehensive test suite that ensures functionality and helps prevent regressions. |
{
"mcpServers": {
"polymarket": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-e", "GAMMA_API_URL",
"-e", "GAMMA_REQUIRES_AUTH",
"polymarket-mcp-server"
],
"env": {
"GAMMA_API_URL": "https://gamma-api.polymarket.com",
"GAMMA_REQUIRES_AUTH": "false"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| GAMMA_API_URL | Endpoint or connection string the server talks to. | Yes |
| GAMMA_REQUIRES_AUTH | Configuration value read at startup. | Optional |
Manage your whole Supabase project in conversation — database, auth, storage, Edge Functions and branches.
Stop letting your assistant hallucinate n8n node parameters — this server hands it the real schemas, templates and validation.
AWS Labs' official server suite — current AWS docs, CDK guidance, cost analysis and service tools.
Cloud browsers for AI agents — automation sessions that run in Browserbase's fleet, not on your machine.
Workers, KV, R2 and D1 by conversation — Cloudflare's official remote servers for building and observability.
Dashboards, Prometheus and Loki queries, incidents and alerts — observability by conversation.