koma-gate-mcp
Koma Gate MCP
Machen Sie Koma Gates Prompt-Injection-Klassifizierung als MCP-Tool für KI-Agenten verfügbar.
npm install koma-gate-mcpWas es tut
Stellt ein einzelnes Tool, classify_input, bereit, das ein KI-Agent aufrufen kann, um zu prüfen, ob nicht vertrauenswürdiger Benutzertext sicher und im Rahmen liegt, bevor er darauf reagiert.
Related MCP server: jamjet-policy
Einrichtung
Legen Sie den Anbieter und den API-Schlüssel fest:
# Provider: openai | anthropic | google | deepseek | ollama (default: google)
export KOMA_PROVIDER=google
export GEMINI_API_KEY=sk-...Claude Desktop
Fügen Sie zu claude_desktop_config.json hinzu:
{
"mcpServers": {
"koma-gate": {
"command": "npx",
"args": ["-y", "koma-gate-mcp"]
}
}
}Tool: classify_input
text(erforderlich) — der nicht vertrauenswürdige Benutzereingabe, der klassifiziert werden sollpreset(optional) —general|code|support|reference(Standard: general)
Gibt zurück:
{
"allowed": true,
"in_scope": true,
"reason": "in scope",
"preset": "general",
"model": "gemini-2.5-flash"
}Sicherheitsgrenze
Dies ist ein LLM-basierter Bereichsklassifizierer, keine kryptografische Prompt-Injection-Abwehr. Siehe koma-gates README für die vollständige Sicherheitsgrenze und BENCHMARKS.md für Bewertungsergebnisse.
Available Tools
1 toolclassify_inputA
Check whether user input is safe and in-scope before an AI system processes it. Detects prompt injection, jailbreak attempts, instruction overrides, and off-topic requests. Use this to validate untrusted user text before passing it to an LLM or executing a tool.
Inputs: text (required), preset.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there are no possible ambiguities. The single tool 'classify_input' has a clear, distinct purpose.
The single tool name 'classify_input' follows a consistent verb_noun pattern (verb 'classify' + noun 'input'), which is clear and predictable.
One tool is minimal but appropriate for a narrowly scoped server focused on a single classification task. It's not trivial—it serves a specific, valuable function as a gatekeeper.
The tool covers the core purpose of input safety classification. Minor gaps might include configuration options or status reporting, but the essential functionality is present.
Maintenance
Related MCP Connectors
Detect prompt injection, jailbreaks, and code injection in untrusted text before it reaches an LLM.
Scan web pages, mails, PDFs and tool output for prompt injection before your agent reads them.
Prompt injection detection API for AI agents. Scan untrusted text before passing it to an LLM.
Real-time MCP & A2A prompt-injection, jailbreak, and tool-schema poisoning firewall for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAdaptive 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.120 PyPIApache 2.0

jamjet-policyofficial
AlicenseAqualityCmaintenanceDrop-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.32Apache 2.0- AlicenseNot gradedqualityBmaintenanceInput/output safety gate for AI agents: detect prompt-injection/jailbreak, leaked secrets/PII, and URL/IP reputation. Deterministic, no LLM.1MIT
- FlicenseNot gradedqualityBmaintenanceEnables autonomous agents and MCP-compatible clients to route inputs through a deterministic firewall that flags and sanitizes prompt injection, jailbreaks, system prompt exfiltration, and tool hijacking. It supports JSON-RPC stdio integration for tools like Claude Desktop, Cursor, and multi-agent frameworks.7-