Skip to content
MCP server

Agent Guardrail

Deterministic policy firewall for AI agent tool calls - YAML rules, not a fuzzy risk…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.2
Listing updated
6 days ago

About Agent Guardrail

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

Deterministic policy firewall for AI agent tool calls - YAML rules, not a fuzzy risk score.

Install

Run in a terminal

claude mcp add agent-guardrail -- uvx guardrail-mcp

Add to claude_desktop_config.json

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

Add to ~/.cursor/mcp.json

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

Add to .vscode/mcp.json

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

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

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

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

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

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

Pricing

Open source

Agent Guardrail FAQ

Is Agent Guardrail free?

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

How do I add Agent Guardrail to Claude Code?

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

Where this comes from

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

How AIPoweredBot checks servers