Skip to content
VS Code

QR for Agent for VS Code

io.github.benswel/qr-for-agent

Dynamic QR codes for AI agents — custom styling, scan tracking, webhooks

client:VS Code transport:stdio runtime:npm

Install QR for Agent in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "api-key",
      "description": "API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "base-url",
      "description": "BASE_URL",
      "password": true
    }
  ],
  "servers": {
    "qr-for-agent": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "qr-for-agent"
      ],
      "env": {
        "API_KEY": "${input:api-key}",
        "BASE_URL": "${input: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

QR for Agent in other clients