Skip to content
Zed

Koma Gate MCP for Zed

io.github.swnotmetal/koma-gate-mcp

Classifies prompt injection, jailbreaks, and out-of-scope user input before agents act on it.

client:Zed transport:stdio runtime:npm

Install Koma Gate MCP in Zed

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

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "koma-gate-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "koma-gate-mcp"
      ],
      "env": {
        "KOMA_PROVIDER": "<KOMA_PROVIDER>",
        "KOMA_MODEL": "<KOMA_MODEL>",
        "GEMINI_API_KEY": "<GEMINI_API_KEY>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
        "DEEPSEEK_API_KEY": "<DEEPSEEK_API_KEY>"
      }
    }
  }
}

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

Koma Gate MCP in other clients