Skip to content
VS Code

mcp for VS Code

com.tamperlens/mcp

Was this document edited, did its redactions hold, is it safe for a model to read — Tamperlens API.

client:VS Code transport:stdio runtime:npm

Install mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "tamperlens-api-key",
      "description": "TAMPERLENS_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tamperlens-base-url",
      "description": "TAMPERLENS_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tamperlens-allowed-dirs",
      "description": "TAMPERLENS_ALLOWED_DIRS",
      "password": true
    }
  ],
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "tamperlens-mcp"
      ],
      "env": {
        "TAMPERLENS_API_KEY": "${input:tamperlens-api-key}",
        "TAMPERLENS_BASE_URL": "${input:tamperlens-base-url}",
        "TAMPERLENS_ALLOWED_DIRS": "${input:tamperlens-allowed-dirs}"
      }
    }
  }
}

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