denial-web avatar

Agent Immune

denial-web/agent-immune

This server brings adaptive security to AI agents through prompt injection detection, semantic memory, and output scanning. It exposes five MCP tools: assess_input evaluates user prompts for injection attempts, assess_output scans responses for credentials and PII, learn_threat adds new attack patterns to semantic memory, harden_prompt wraps system messages with role-lock guards, and get_metrics returns telemetry. The semantic layer catches paraphrased attacks that slip past regex rules by maintaining embeddings of confirmed threats. It ships with 50 curated attack patterns across 11 languages for instant protection, supports circuit breaking for sessions that hit block thresholds, and logs structured JSON events for observability. Reach for this when you need runtime defense that learns from incidents rather than just static rules, especially in agents handling sensitive data or untrusted user input.

tools
5
transport
STDIO
last updated
Apr 7, 2026

Tools

5 tools

Public tool metadata for what this MCP can expose to an agent.

assess_input

No parameter schema in public metadata yet.

assess_output

No parameter schema in public metadata yet.

learn_threat

No parameter schema in public metadata yet.

harden_prompt

No parameter schema in public metadata yet.

get_metrics

No parameter schema in public metadata yet.

Sponsors

Readme

agent-immune

CI Python 3.9+ Coverage 94% License Apache-2.0 181 tests Glama

Adaptive threat intelligence for AI agent security: semantic memory, multi-turn escalation, output scanning, rate limiting, and prompt hardening — designed to complement deterministic governance stacks (e.g. Microsoft Agent OS), not replace them.

The immune system that governance toolkits don't include: it learns from incidents and catches rephrased attacks that slip past static rules.

Try it now

pip install agent-immune

View the full README on GitHub

Details

Repository
github.com/denial-web/agent-immune
Categories
AI & LLM Tools, Security & Pentesting
Package
agent-immune
Transport
STDIO
Registry
MCP registry, active

Related AI & LLM Tools MCP servers

View all
1mikerawsonnz avatarAuthenticated Mcp Agentmikerawsonnz/gosce-agentsJWT-gated LLM gateway: authenticate (bcrypt/JWT), then run a LangChain-on-Vertex Gemini completion.0stars
2mikerawsonnz avatarLlm Observability Orchestrationmikerawsonnz/gosce-agentsRun a prompt through a LangChain (system + human) chain over Gemini on Vertex AI; optional LangSmith0stars
3mikerawsonnz avatarStructured Output Agentmikerawsonnz/gosce-agentsTurn a prompt + a field schema into validated, typed JSON (Instructor over Gemini 2.5 Flash on Verte0stars
4theaisingularity avatarAgentic Researchtheaisingularity/agentic-research-engine-ossLocal research agent that verifies its own answers. Runs on Gemma 3 4B + Ollama, $0/query.0stars
5rafacoelho33 avatarWeb3 Systemic Agentrafacoelho33/web3-systemic-agentWeb3 security & DAO auditor: free bytecode/honeypot/Snapshot tools + x402 Gemini LLM deep audit.0stars
6spences10 avatarSequential Thinkingspences10/mcp-sequentialthinking-tools🧠 An adaptation of the MCP Sequential Thinking Server to guide tool usage. This server provides recommendations for which MCP tools would be most effective at 583stars