Skip to content
Zed

Habits prompt-injection guard for Zed

com.darmousseh/habits-guard

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

client:Zed transport:streamable-http tools:3

Install Habits prompt-injection guard in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

{
  "context_servers": {
    "habits-guard": {
      "url": "https://habits.darmousseh.com/mcp"
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

What Zed can do once it is connected

Habits prompt-injection guard in other clients