Skip to main content
Glama

Koma Gate MCP

AI 에이전트를 위해 Koma Gate의 프롬프트 인젝션 분류를 MCP 도구로 제공합니다.

npm install koma-gate-mcp

기능

classify_input이라는 단일 도구를 제공하며, AI 에이전트가 신뢰할 수 없는 사용자 텍스트를 실행하기 전에 안전하고 범위 내에 있는지 확인하기 위해 호출할 수 있습니다.

Related MCP server: jamjet-policy

설정

제공자와 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를 참조하세요.

Available Tools

1 tool
classify_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

    A4.1/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there are no possible ambiguities. The single tool 'classify_input' has a clear, distinct purpose.

    Naming Consistency5/5

    The single tool name 'classify_input' follows a consistent verb_noun pattern (verb 'classify' + noun 'input'), which is clear and predictable.

    Tool Count4/5

    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.

    Completeness4/5

    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

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      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.
      120 PyPI
      Apache 2.0
    • A
      license
      A
      quality
      C
      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
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables 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
      -