Skip to content

Agent Safety Gate: Prompt Injection & Unsafe URL Check for Zed

io.github.christurtleday-hue/agent-safety-gate

Preflight a URL, text, HTML or file for prompt injection and unsafe links: allow, review or block.

client:Zed transport:streamable-http

Install Agent Safety Gate: Prompt Injection & Unsafe URL Check in Zed

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

{
  "context_servers": {
    "agent-safety-gate": {
      "url": "https://mcp.apify.com/?tools=geeky_goth_gamer/agent-safety-gate"
    }
  }
}

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

Agent Safety Gate: Prompt Injection & Unsafe URL Check in other clients