Skip to content
MCP server

Agent Immune

AI agent security: prompt injection detection, semantic memory, output scanning, prompt…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.2.2
Listing updated
5 days ago

About Agent Immune

Agent Immune is an open-source MCP server. It runs locally on your machine and is started by your AI client.

AI agent security: prompt injection detection, semantic memory, output scanning, prompt hardening

Install

Run in a terminal

claude mcp add agent-immune -- uvx agent-immune

Add to claude_desktop_config.json

{
  "mcpServers": {
    "agent-immune": {
      "command": "uvx",
      "args": [
        "agent-immune"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "agent-immune": {
      "command": "uvx",
      "args": [
        "agent-immune"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "agent-immune": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "agent-immune"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "agent-immune": {
      "command": "uvx",
      "args": [
        "agent-immune"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "agent-immune": {
      "command": "uvx",
      "args": [
        "agent-immune"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Pricing

Open source

Agent Immune FAQ

Is Agent Immune free?

Yes. Agent Immune is open source, so you can use and self-host it for free.

How do I add Agent Immune to Claude Code?

Run this command in your terminal: claude mcp add agent-immune -- uvx agent-immune

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers