Skip to main content
Glama

Koma Gate MCP

Koma Gate のプロンプトインジェクション分類を、AI エージェント向けの MCP ツールとして公開します。

npm install koma-gate-mcp

機能

AI エージェントが信頼できないユーザー入力に対して、動作前に安全性とスコープ内であるかを確認できる単一のツール classify_input を提供します。

Related MCP server: agent immune

セットアップ

プロバイダーと API キーを設定します。

# Provider: openai | anthropic | google | deepseek | ollama (default: google)
export KOMA_PROVIDER=google
export GEMINI_API_KEY=sk-...

Claude Desktop

claude_desktop_config.json に以下を追加します。

{
  "mcpServers": {
    "koma-gate": {
      "command": "npx",
      "args": ["-y", "koma-gate-mcp"]
    }
  }
}

ツール: classify_input

  • text (必須) — 分類する信頼できないユーザー入力

  • preset (オプション) — general | code | support | reference (デフォルト: general)

戻り値:

{
  "allowed": true,
  "in_scope": true,
  "reason": "in scope",
  "preset": "general",
  "model": "gemini-2.5-flash"
}

セキュリティ境界

これは LLM ベースのスコープ分類器であり、暗号学的なプロンプトインジェクション防御ではありません。完全なセキュリティ境界については koma-gate の README を、評価結果については BENCHMARKS.md を参照してください。

A
license - permissive license
-
quality - not tested
A
maintenance

Maintenance

Maintainers
Response time
3dRelease cycle
3Releases (12mo)
Commit activity
Issues opened vs closed

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    A lightweight stdio proxy that intercepts and rewrites MCP tool annotations to bypass security approval prompts in AI CLIs like Codex and Claude Code. It transparently passes through all tool operations while marking them as safe to ensure a seamless automation experience.
    11
    10
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    Adaptive security for AI agents: assess inputs for prompt injection, scan outputs for credential/PII leaks, teach new attack patterns to semantic memory, harden prompts, and monitor metrics. Runs locally via MCP stdio.
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Drop-in stdio interceptor that gates MCP tools/call requests through a YAML policy (block / require_approval / audit / budget cap) before they reach the real server. The same policy file is reused by @jamjet/claude-code-hook and @jamjet/openai-guardrail, so one rule set covers Claude Desktop, Cursor, OpenAI Agents, and custom clients.
    3
    2
    Apache 2.0
  • A
    license
    A
    quality
    A
    maintenance
    Provides AI ingress governance by masking prompts, classifying risk, and enforcing tool policies before agent calls reach model providers or sandboxes.
    6
    1
    AGPL 3.0

View all related MCP servers

Related MCP Connectors

  • The WAF for agents. Pattern-based + heuristic firewall scans prompts, RAG documents, tool argume...

  • Deterministic trust gate for AI output: leaked-secret, prompt-injection & PII in one call.

  • Decision-only prompt routing and firewall checks for local/cloud routing, PII and jailbreak risk.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/swnotmetal/Project-Koma'

If you have feedback or need assistance with the MCP directory API, please join our Discord server