Skip to content
VS Code

polymarket guard for VS Code

io.github.evidai/polymarket-guard

Polymarket prediction markets — buy/sell positions in USDC. LemonCake pay-per-call billing.

client:VS Code transport:stdio runtime:npm

Install polymarket guard in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "polymarket-private-key",
      "description": "POLYMARKET_PRIVATE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "lemon-cake-buyer-jwt",
      "description": "LEMON_CAKE_BUYER_JWT",
      "password": true
    }
  ],
  "servers": {
    "polymarket-guard": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "polymarket-guard-mcp"
      ],
      "env": {
        "POLYMARKET_PRIVATE_KEY": "${input:polymarket-private-key}",
        "LEMON_CAKE_BUYER_JWT": "${input:lemon-cake-buyer-jwt}"
      }
    }
  }
}

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

polymarket guard in other clients