Skip to content
VS Code

pmq (Polymarket CLOB V2) for VS Code

io.github.crp4222/pmq

Production-proven Polymarket CLOB V2 trading and data. Fail-closed fills; keys stay local.

client:VS Code transport:stdio runtime:pypi

Install pmq (Polymarket CLOB V2) in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "pmq-mcp-live",
      "description": "PMQ_MCP_LIVE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "pmq-mcp-paper",
      "description": "PMQ_MCP_PAPER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "pmq-mcp-paper-usd",
      "description": "PMQ_MCP_PAPER_USD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "pmq-mcp-max-usd",
      "description": "PMQ_MCP_MAX_USD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "pmq-mcp-daily-usd",
      "description": "PMQ_MCP_DAILY_USD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "pmq-mcp-state-file",
      "description": "PMQ_MCP_STATE_FILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "poly-private-key",
      "description": "POLY_PRIVATE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "poly-funder",
      "description": "POLY_FUNDER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "poly-sig-type",
      "description": "POLY_SIG_TYPE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "poly-order-log",
      "description": "POLY_ORDER_LOG",
      "password": true
    },
    {
      "type": "promptString",
      "id": "poly-foreign-order-logs",
      "description": "POLY_FOREIGN_ORDER_LOGS",
      "password": true
    }
  ],
  "servers": {
    "pmq": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "pmquant"
      ],
      "env": {
        "PMQ_MCP_LIVE": "${input:pmq-mcp-live}",
        "PMQ_MCP_PAPER": "${input:pmq-mcp-paper}",
        "PMQ_MCP_PAPER_USD": "${input:pmq-mcp-paper-usd}",
        "PMQ_MCP_MAX_USD": "${input:pmq-mcp-max-usd}",
        "PMQ_MCP_DAILY_USD": "${input:pmq-mcp-daily-usd}",
        "PMQ_MCP_STATE_FILE": "${input:pmq-mcp-state-file}",
        "POLY_PRIVATE_KEY": "${input:poly-private-key}",
        "POLY_FUNDER": "${input:poly-funder}",
        "POLY_SIG_TYPE": "${input:poly-sig-type}",
        "POLY_ORDER_LOG": "${input:poly-order-log}",
        "POLY_FOREIGN_ORDER_LOGS": "${input:poly-foreign-order-logs}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

pmq (Polymarket CLOB V2) in other clients