Skip to content
VS Code

MCP Shield for VS Code

io.github.sophiacave/mcp-shield

Security scanner for MCP servers. SSRF, path traversal, injection, auth, secrets. Grade A-F.

client:VS Code transport:stdio runtime:npm

Install MCP Shield in VS Code

.vscode/mcp.json

{
  "servers": {
    "mcp-shield": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@sophiacave/mcp-shield"
      ]
    }
  }
}

Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs

MCP Shield in other clients