Koma Gate MCP Server
by swnotmetalio.github.swnotmetal/koma-gate-mcpv0.1.1
Classify input for prompt injection and out-of-scope content with Koma Gate's LLM-based classifier.
context tax
queued
security
queued
cold start
queued
freshness
Active12d ago
Install Koma Gate MCP server
Install in Claude Code
claude mcp add koma-gate -e GEMINI_API_KEY='<gemini-api-key>' -e OPENAI_API_KEY='<openai-api-key>' -e ANTHROPIC_API_KEY='<anthropic-api-key>' -e DEEPSEEK_API_KEY='<deepseek-api-key>' -- npx -y koma-gate-mcpInstall in Cursor
{
"mcpServers": {
"koma-gate": {
"command": "npx",
"args": [
"-y",
"koma-gate-mcp"
],
"env": {
"GEMINI_API_KEY": "<gemini-api-key>",
"OPENAI_API_KEY": "<openai-api-key>",
"ANTHROPIC_API_KEY": "<anthropic-api-key>",
"DEEPSEEK_API_KEY": "<deepseek-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"koma-gate": {
"command": "npx",
"args": [
"-y",
"koma-gate-mcp"
],
"env": {
"GEMINI_API_KEY": "<gemini-api-key>",
"OPENAI_API_KEY": "<openai-api-key>",
"ANTHROPIC_API_KEY": "<anthropic-api-key>",
"DEEPSEEK_API_KEY": "<deepseek-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"koma-gate": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"koma-gate-mcp"
],
"env": {
"GEMINI_API_KEY": "<gemini-api-key>",
"OPENAI_API_KEY": "<openai-api-key>",
"ANTHROPIC_API_KEY": "<anthropic-api-key>",
"DEEPSEEK_API_KEY": "<deepseek-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"koma-gate": {
"command": "npx",
"args": [
"-y",
"koma-gate-mcp"
],
"env": {
"GEMINI_API_KEY": "<gemini-api-key>",
"OPENAI_API_KEY": "<openai-api-key>",
"ANTHROPIC_API_KEY": "<anthropic-api-key>",
"DEEPSEEK_API_KEY": "<deepseek-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| KOMA_PROVIDER | — | — | LLM provider: openai, anthropic, google, deepseek, or ollama (default: google) |
| KOMA_MODEL | — | — | Optional model override for the selected provider |
| GEMINI_API_KEY | — | yes | Google Gemini API key (used by the default provider) |
| OPENAI_API_KEY | — | yes | OpenAI API key when KOMA_PROVIDER=openai |
| ANTHROPIC_API_KEY | — | yes | Anthropic API key when KOMA_PROVIDER=anthropic |
| DEEPSEEK_API_KEY | — | yes | DeepSeek API key when KOMA_PROVIDER=deepseek |
Freshness
Active — last maintenance signal 12d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-27 · 12d ago · GitHub
Latest release
2026-08-11 · 59d ago · GitHub · v0.2.1
Package published
no data · npm/PyPI
Registry entry updated
2026-08-15 · 55d ago · official registry · v0.1.1
FAQ
›How do I install the Koma Gate MCP server in Claude Code?
Run: claude mcp add koma-gate -e GEMINI_API_KEY='<gemini-api-key>' -e OPENAI_API_KEY='<openai-api-key>' -e ANTHROPIC_API_KEY='<anthropic-api-key>' -e DEEPSEEK_API_KEY='<deepseek-api-key>' -- npx -y koma-gate-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Koma Gate require an API key?
Yes. It expects GEMINI_API_KEY, OPENAI_API_KEY, ANTHROPIC_API_KEY, DEEPSEEK_API_KEY, of which 4 are secrets.
›Can I use Koma Gate as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Koma Gate in the official MCP registry?
Yes, as io.github.swnotmetal/koma-gate-mcp.
Alternatives to Koma Gate
Other ai & llm tools MCP servers.