Skip to content
Zed

MCP-Bastion for Zed

io.github.vaquarkhan/mcp-bastion

Security middleware for MCP. Blocks prompt injection, PII leakage, and resource exhaustion.

client:Zed transport:stdio runtime:pypi

Install MCP-Bastion in Zed

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

{
  "context_servers": {
    "mcp-bastion": {
      "command": "uvx",
      "args": [
        "mcp-bastion-python"
      ]
    }
  }
}

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

MCP-Bastion in other clients