Skip to content
VS Code

Opami Protect for VS Code

io.github.opamiai/opami-protect-mcp

Hide private and sensitive data in text and local text files with Opami Protect pseudonymisation.

client:VS Code transport:stdio runtime:npm

Install Opami Protect in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "opami-api-key",
      "description": "OPAMI_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "opami-protect-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "opami-protect-mcp"
      ],
      "env": {
        "OPAMI_API_KEY": "${input:opami-api-key}"
      }
    }
  }
}

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

Opami Protect in other clients