Skip to content
VS Code

Pokémon TCG API for VS Code

com.pokemontcgapi/mcp

English, Japanese and Chinese Pokémon cards: search, sets, illustrators, prices, photo lookup.

client:VS Code transport:stdio runtime:npm

Install Pokémon TCG API in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "ptcg-api-key",
      "description": "PTCG_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ptcg-base-url",
      "description": "PTCG_BASE_URL",
      "password": true
    }
  ],
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@pokemontcgapi/mcp"
      ],
      "env": {
        "PTCG_API_KEY": "${input:ptcg-api-key}",
        "PTCG_BASE_URL": "${input:ptcg-base-url}"
      }
    }
  }
}

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

Pokémon TCG API in other clients