Skip to content
VS Code

Usercase for VS Code

io.usercase/mcp

Ask real users on your site and run virtual users in a real browser, then fix what they hit.

client:VS Code transport:stdio runtime:npm

Install Usercase in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "usercase-api-key",
      "description": "USERCASE_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "usercase-diagnostics",
      "description": "USERCASE_DIAGNOSTICS",
      "password": true
    }
  ],
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@usercase/mcp"
      ],
      "env": {
        "USERCASE_API_KEY": "${input:usercase-api-key}",
        "USERCASE_DIAGNOSTICS": "${input:usercase-diagnostics}"
      }
    }
  }
}

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

Usercase in other clients