Skip to content
VS Code

MCPSentinel for VS Code

io.github.gentaarnezzi/mcpsentinel

Precision-first security scanning for Model Context Protocol servers.

client:VS Code transport:stdio runtime:pypi

Install MCPSentinel in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mcpsentinel-allowed-hosts",
      "description": "MCPSENTINEL_ALLOWED_HOSTS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcpsentinel-allow-private-http-targets",
      "description": "MCPSENTINEL_ALLOW_PRIVATE_HTTP_TARGETS",
      "password": true
    }
  ],
  "servers": {
    "mcpsentinel": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-guardian-scan"
      ],
      "env": {
        "MCPSENTINEL_ALLOWED_HOSTS": "${input:mcpsentinel-allowed-hosts}",
        "MCPSENTINEL_ALLOW_PRIVATE_HTTP_TARGETS": "${input:mcpsentinel-allow-private-http-targets}"
      }
    }
  }
}

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

MCPSentinel in other clients