Habits prompt-injection guard
Server Details
Check user prompts for injection/jailbreaks; your own guard learns from your labels. Works keyless.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-06-18
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 3 tools
Each tool targets a completely different action: checking text (check_prompt), obtaining credentials (get_free_key), and submitting feedback labels (teach_guard). The descriptions explicitly cross-reference each other (teach_guard needs a key from get_free_key; check_prompt results are what you'd teach), making boundaries unambiguous.
All three names follow a consistent snake_case verb_noun pattern (check_prompt, get_free_key, teach_guard) with clear, concrete verbs. No mixing of conventions or vague generic verbs.
Three tools is at the low end but appropriate for a narrowly scoped prompt-injection guard service, and each tool earns its place. A slightly richer surface (e.g. batch checking or key management) would justify a larger set, but nothing here is filler.
The core lifecycle is covered: detect (check_prompt), onboard/key (get_free_key), and improve the guard (teach_guard). Minor gaps exist—no way to retrieve a past request_id's details, no batch check, and no key rotation/revocation—but agents can work around these.
Available Tools
3 toolscheck_promptCheck a prompt for injectionARead-onlyInspect
Is this user-typed text a prompt injection or jailbreak (an attempt to override, hijack or extract an AI system's instructions)? Returns flagged true/false and a 0-1 score. Without a key it uses the public guard (30 checks per day per network). With a key it uses your own guard, which learns from teach_guard; the result carries a request_id. Built for user prompts; it is weak on injections hidden in tool output or documents.
Inputs: text (required).
get_free_keyGet a free API keyAInspect
Create a free Habits account and API key (no email). The key is shown once; set it as the Authorization: Bearer header for this MCP server. The free plan has a fixed $0.10/day spend cap and its own trainable injection guard.
Inputs: username.
teach_guardTeach your guardAIdempotentInspect
Label one prompt for your own guard so it stops repeating a mistake (a false alarm on a normal request, or a missed injection). Needs an API key (get_free_key). About 50 of your own labels cut false alarms from 15% to 4% in our benchmark.
Inputs: text (required), injection (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Detect prompt injection, jailbreaks, and code injection in untrusted text before it reaches an LLM.
Prompt injection detection API for AI agents. Scan untrusted text before passing it to an LLM.
Deterministic prompt-injection detector; signed, offline-verifiable verdicts. Not an LLM.
The WAF for agents. Pattern-based + heuristic firewall scans prompts, RAG documents, tool argume...
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables agents and applications to detect, inspect, and neutralize prompt injection, jailbreak attempts, and hidden instruction escapes in untrusted text before it is passed into prompts.1MIT
- AlicenseNot gradedqualityBmaintenanceInput/output safety gate for AI agents: detect prompt-injection/jailbreak, leaked secrets/PII, and URL/IP reputation. Deterministic, no LLM.427 npm1MIT
- AlicenseNot gradedqualityBmaintenanceEnables real-time injection fuzzing and canary-based exfiltration detection over untrusted prompts, RAG context, and agent actions, with entropy analysis, outbound channel interception, least-privilege sandboxing, and cryptographic audit proofs.7MIT
- AlicenseNot gradedqualityBmaintenanceProtects AI agents from prompt injection attacks, jailbreak attempts, and common web vulnerabilities by screening untrusted input through semantic LLM analysis and static pattern matching.68 npm2ISC
Glama MCP Gateway
Add one secure layer between your agents and this server.