{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.polytest/mcp",
  "slug": "io.polytest.mcp",
  "title": "PolyTest",
  "summary": "Read historical Polymarket crypto Up/Down market data: prices, snapshots, and order books.",
  "version": "0.2.2",
  "serverKey": "mcp",
  "pageUrl": "https://mcpkglabs.com/tool/io.polytest.mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/io.polytest.mcp/install.md",
  "trust": {
    "score": 92,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T14:25:07.523022087Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=@polytest/mcp@0.2.2",
        "polytest-mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add mcp -e 'POLYTEST_KEY=<POLYTEST_KEY>' -- npx -y --package=@polytest/mcp@0.2.2 polytest-mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@polytest/mcp@0.2.2\",\n        \"polytest-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"POLYTEST_KEY\": \"<POLYTEST_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@polytest/mcp@0.2.2\",\n        \"polytest-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"POLYTEST_KEY\": \"<POLYTEST_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"POLYTEST_KEY\",\n      \"id\": \"polytest-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"mcp\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@polytest/mcp@0.2.2\",\n        \"polytest-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"POLYTEST_KEY\": \"${input:polytest-key}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=@polytest/mcp@0.2.2\", \"polytest-mcp\"]\nenv = { \"POLYTEST_KEY\" = \"<POLYTEST_KEY>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    },
    {
      "id": "remote",
      "label": "Remote (hosted)",
      "transport": "streamable-http",
      "url": "https://mcp.polytest.io/mcp",
      "headers": [
        {
          "name": "Authorization",
          "description": "Optional. A PolyTest API key sent as a Bearer value. Leave it out to sign in with a PolyTest account.",
          "value": "Bearer {api_key}",
          "isSecret": true
        }
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add --transport http mcp https://mcp.polytest.io/mcp --header 'Authorization: <Authorization>'"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)",
          "content": "{\n  \"mcpServers\": {\n    \"mcp\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-remote\",\n        \"https://mcp.polytest.io/mcp\",\n        \"--header\",\n        \"Authorization: <Authorization>\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp\": {\n      \"headers\": {\n        \"Authorization\": \"<Authorization>\"\n      },\n      \"url\": \"https://mcp.polytest.io/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"mcp\": {\n      \"headers\": {\n        \"Authorization\": \"<Authorization>\"\n      },\n      \"type\": \"http\",\n      \"url\": \"https://mcp.polytest.io/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"mcp-remote\", \"https://mcp.polytest.io/mcp\", \"--header\", \"Authorization: <Authorization>\"]"
        }
      ]
    }
  ],
  "env": [
    {
      "name": "POLYTEST_KEY",
      "required": true,
      "secret": true,
      "description": "PolyTest API key. Create one at https://www.polytest.io/app/keys.",
      "help": "PolyTest API key. Create one at https://www.polytest.io/app/keys.",
      "placeholder": "<POLYTEST_KEY>"
    }
  ],
  "expectedTools": [
    "polytest_list_markets",
    "polytest_get_market",
    "polytest_get_snapshots",
    "polytest_get_limits",
    "polytest_get_price_series"
  ],
  "agentSteps": [
    "Ask the user for: POLYTEST_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: polytest_list_markets, polytest_get_market, polytest_get_snapshots, polytest_get_limits, polytest_get_price_series.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T14:25:07.523022087Z"
}
