Skip to content
VS Code

Habits prompt-injection guard for VS Code

com.darmousseh/habits-guard

Check user prompts for injection/jailbreaks; your own guard learns from your labels. Works keyless.

client:VS Code transport:streamable-http tools:3

Install Habits prompt-injection guard in VS Code

.vscode/mcp.json

{
  "servers": {
    "habits-guard": {
      "type": "http",
      "url": "https://habits.darmousseh.com/mcp"
    }
  }
}

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

What VS Code can do once it is connected

Habits prompt-injection guard in other clients