Skip to content
VS Code

PerspectiveGraph for VS Code

io.github.luiacuaniello/perspectivegraph

Read-only attack-path tools: reachable routes to sensitive assets, and what a fix would cut.

client:VS Code transport:stdio runtime:oci

Install PerspectiveGraph in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "api-token",
      "description": "API_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "perspectivegraph": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/luiacuaniello/perspectivegraph:v1.19.0"
      ],
      "env": {
        "API_TOKEN": "${input:api-token}"
      }
    }
  }
}

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

PerspectiveGraph in other clients