Skip to content
VS Code

mcp for VS Code

com.parlayx/mcp

Read your ParlayX account and the prediction markets from an MCP client.

client:VS Code transport:stdio runtime:npm

Install mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "parlayx-key-id",
      "description": "PARLAYX_KEY_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "parlayx-private-key-hex",
      "description": "PARLAYX_PRIVATE_KEY_HEX",
      "password": true
    },
    {
      "type": "promptString",
      "id": "parlayx-mcp-allow-trading",
      "description": "PARLAYX_MCP_ALLOW_TRADING",
      "password": true
    }
  ],
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@parlayx/mcp"
      ],
      "env": {
        "PARLAYX_KEY_ID": "${input:parlayx-key-id}",
        "PARLAYX_PRIVATE_KEY_HEX": "${input:parlayx-private-key-hex}",
        "PARLAYX_MCP_ALLOW_TRADING": "${input:parlayx-mcp-allow-trading}"
      }
    }
  }
}

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

mcp in other clients