Skip to content
VS Code

scope guard for VS Code

io.github.mdfifty50-boop/scope-guard

Hard scope boundaries to prevent AI agent drift

client:VS Code transport:stdio runtime:npm

Install scope guard in VS Code

.vscode/mcp.json

{
  "servers": {
    "scope-guard": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "scope-guard-mcp"
      ]
    }
  }
}

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

scope guard in other clients