Basic information
About Agent Immune MCP Server
Adaptive security toolkit for AI agents. Assess inputs for prompt injection, scan outputs for credential/PII leaks, teach new attack patterns to semantic memory, harden prompts with role-lock and sandboxing, and monitor metrics — all locally via MCP. Zero false positives on bench
Agent Immune is a MCP server in the AI & Agents category listed in the AddMCP.net directory, published by denial-web. Supported transport: stdio. License: Apache-2.0. Source code is hosted on github.com. Related topics: agent-governance, ai-security, llm-security, mcp, prompt-injection.
Setup
{
"mcpServers": {
"agent-immune": {
"command": "python",
"args": [
"-m",
"agent_immune",
"serve",
"--transport",
"stdio"
]
}
}
}
{
"mcpServers": {
"agent-immune": {
"command": "python",
"args": [
"-m",
"agent_immune",
"serve",
"--transport",
"stdio"
]
}
}
}
{
"servers": {
"agent-immune": {
"command": "python",
"args": [
"-m",
"agent_immune",
"serve",
"--transport",
"stdio"
]
}
}
}
Agent Immune MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"agent-immune": {
"command": "python",
"args": [
"-m",
"agent_immune",
"serve",
"--transport",
"stdio"
]
}
}
}
Agent Immune MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Agent Immune?
Agent Immune is an adaptive security toolkit for AI agents that runs locally via the Model Context Protocol (MCP). It provides tools to assess inputs and outputs for threats, learn new attack patterns, harden prompts, and expose observability metrics, targeting developers building secure AI agent workflows.
How to use Agent Immune?
Install it with pip install 'agent-immune[mcp]' and serve it via python -m agent_immune serve --transport stdio. Once running, an MCP host can invoke its five tools: assess_input, assess_output, learn_threat, harden_prompt, and get_metrics.
Key features of Agent Immune
- Zero false positives on benchmark evaluations.
- 179 automated tests with 94% code coverage.
- Semantic memory catches rephrased attacks that bypass regex.
- Provides prompt hardening via role-lock, sandboxing, and output guards.
- Observability snapshot through
get_metricstool. - Licensed under Apache-2.0.
Use cases of Agent Immune
- Detect prompt injection threats in user-supplied text before it reaches the AI agent.
- Scan agent outputs for credentials, PII, and data exfiltration.
- Teach the system new attack patterns on the fly to adapt to emerging threats.
- Harden agent prompts with role-lock and sandboxing guards to prevent misuse.
- Monitor security metrics and latency through the observability snapshot.
Frequently asked questions
1 What does “zero false positives on benchmarks” mean?
On the benchmarks used in testing, no legitimate inputs were incorrectly flagged as threats, ensuring low friction for normal agent operation.
2 How does Agent Immune differ from simple regex-based filters?
Agent Immune uses semantic memory that can recognize rephrased or novel attack patterns, whereas static regex rules often miss variations and produce false negatives.
3 Is Agent Immune a cloud service?
No. It runs entirely locally via the MCP protocol; no data is sent to external servers unless the user explicitly configures it.
4 What transport does Agent Immune use?
The server is started with --transport stdio, so it communicates over standard input/output with the MCP host.
5 What are the runtime dependencies?
The package is installed via pip and requires Python. The agent-immune[mcp] extra pulls in MCP dependencies, and the tool operates as a standard Python process.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In