Back to Home
undiabler icon

polymarket-mcp

Verified Safe

by undiabler

Overview

Provides an in-memory cache and tools for LLM agents to explore, search, and filter Polymarket event data for agentic integrations.

Installation

Run Command
docker run -d -p 8000:8000 --name polymarket-mcp-app -e MCP_BEARER_TOKEN=<your generated key to secure> --volume polycache:/app/data polymarket-mcp

Environment Variables

  • MCP_BEARER_TOKEN
  • MCP_HOST
  • MCP_PORT

Security Notes

The server uses a required `MCP_BEARER_TOKEN` environment variable for authentication, preventing hardcoded secrets. It employs an `ArgumentSanitizerMiddleware` to strip unknown fields from tool arguments, mitigating potential injection risks from MCP clients. External API calls use `httpx` with timeouts and rate limiting, reducing network attack surface. No `eval` or other dangerous dynamic code execution patterns were found. The primary risk is the user choosing a weak `MCP_BEARER_TOKEN`.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens1000
Stars0
Forks0
Last Update2025-12-19

Tags

PolymarketLLM agentsMarket dataData cacheMCP server