Koma Gate MCP

Communauté IA et agents

Classify input for prompt injection and out-of-scope content with Koma Gate's LLM-based classifier.

Que pouvez-vous faire avec Koma Gate MCP ?

  • text (required) — the untrusted user input to classify
  • preset (optional) — general | code | support | reference (default: general)

Installation

Les étapes d'installation sont dans la documentation ci-dessous. Documentation

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. Koma Gate MCP
  2. What it does
  3. Setup
  4. Tool: classify_input
  5. Security Boundary

Koma Gate MCP

Expose Koma Gate's prompt-injection classification as an MCP tool for AI agents.

npm install koma-gate-mcp

What it does

Provides a single tool, classify_input, that an AI agent can call to check whether untrusted user text is safe and in-scope before acting on it.

Setup

Set the provider and API key:

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

Add to claude_desktop_config.json:

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

Tool: classify_input

  • text (required) — the untrusted user input to classify
  • preset (optional) — general | code | support | reference (default: general)

Returns:

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

Security Boundary

This is an LLM-based scope classifier, not a cryptographic prompt-injection defense. See koma-gate's README for the full security boundary and BENCHMARKS.md for evaluation results.

Questions fréquentes

Qu'est-ce que Koma Gate MCP ?

Classify input for prompt injection and out-of-scope content with Koma Gate's LLM-based classifier.

Comment installer Koma Gate MCP ?

Suivez les étapes d'installation de sa documentation, affichée sur cette page et dans son dépôt.

Koma Gate MCP est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient Koma Gate MCP ?

Il est publié par swnotmetal. AI.tn le référence sans le maintenir ni le recommander.

Issu des listes communautaires awesome-mcp-servers et du dépôt GitHub du projet. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.