prompt-protection for VS Code
io.github.mughalhere/prompt-protection
Scan prompts, tool definitions and model output for injection, and guard agent tool calls.
client:VS Code
transport:stdio
runtime:npm
Install prompt-protection in VS Code
.vscode/mcp.json
{
"servers": {
"prompt-protection": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"prompt-protection"
]
}
}
}
Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs