Skip to content
VS Code

qrcode mcp for VS Code

io.github.xiaobinger/qrcode-mcp

Decode, repair and generate QR codes; safely route QR URLs and run pluggable OCR.

client:VS Code transport:stdio runtime:pypi

Install qrcode mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "qrmcp-output-dir",
      "description": "QRMCP_OUTPUT_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "qrmcp-url-allowlist",
      "description": "QRMCP_URL_ALLOWLIST",
      "password": true
    },
    {
      "type": "promptString",
      "id": "qrmcp-http-token",
      "description": "QRMCP_HTTP_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "qrmcp-allow-remote",
      "description": "QRMCP_ALLOW_REMOTE",
      "password": true
    }
  ],
  "servers": {
    "qrcode-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "qrcode-mcp"
      ],
      "env": {
        "QRMCP_OUTPUT_DIR": "${input:qrmcp-output-dir}",
        "QRMCP_URL_ALLOWLIST": "${input:qrmcp-url-allowlist}",
        "QRMCP_HTTP_TOKEN": "${input:qrmcp-http-token}",
        "QRMCP_ALLOW_REMOTE": "${input:qrmcp-allow-remote}"
      }
    }
  }
}

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

qrcode mcp in other clients