SuperAPIAI Directory

swnotmetal/Project-Koma

github.com · AI security

Project-Koma's koma-gate-mcp is a lightweight, agent-friendly AI security toolkit component for Node.js and TypeScript that exposes Koma Gate's prompt injection classification capability as an MCP tool. It provides a single tool, classify_input, for AI agents to determine whether untrusted user text is safe and within the allowed scope before acting on it. The project claims zero dependencies and an MIT license, and can block issues such as prompt injection, audio hallucination, and RAG data scraping. Before use, a provider and API key must be set, and it can be configured in claude_desktop_config.json. The tool supports four presets: general, code, support, and reference. The official documentation explicitly states that it is an LLM-based scope classifier, not a cryptographic prompt injection defense, and that the full security boundary and evaluation results should be found in the relevant documentation.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Project-Koma is a lightweight, agent-friendly AI security toolkit for Node.js and TypeScript, and this entry corresponds to its packages/koma-gate-mcp package. The purpose of this package is to wrap Koma Gate's prompt injection classification capability as an MCP tool for AI agents to call.

Purpose and positioning: The official description states that it is used to check whether an agent has loaded the corresponding skill, and to block issues such as prompt injection, audio hallucination, and RAG data scraping. The project emphasizes zero dependencies and uses the MIT license.

Main capability: This MCP service provides only one tool, classify_input. AI agents can call it to classify untrusted user text, determine whether the text is safe and within the allowed scope, and then decide whether to act based on that text.

Usage: A provider and API key must be set first, and then the service must be added to the claude_desktop_config.json configuration. The tool parameters include: text (required), which is the untrusted user input to be classified; preset (optional), with possible values general, code, support, and reference, defaulting to general.

Applicable scenarios: Suitable for Node.js/TypeScript projects that need to perform a scope and safety pre-check on user input before the agent takes action, such as code, customer support, or reference-material interaction scenarios, where the corresponding preset can be used to adjust the classification focus.

Limitations and security boundary: The official documentation explicitly states that this is an LLM-based scope classifier, not a cryptographic prompt injection defense. The complete security boundary description is in the koma-gate README, and the evaluation results are in BENCHMARKS.md. Apart from the above information, specific installation commands, API provider details, performance data, and pricing information are not currently provided.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools