Skip to content
MCP server

Agent Guardrails

Merge gates and safety checks for AI coding agents via MCP.

Runs locallyStatus and history
Install
Runs
Locally
Version
0.3.3
Listing updated
4 days ago

About Agent Guardrails

Agent Guardrails is an MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add agent-guardrails -- npx -y agent-guardrails

Add to claude_desktop_config.json

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

Add to ~/.cursor/mcp.json

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

Add to .vscode/mcp.json

{
  "servers": {
    "agent-guardrails": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agent-guardrails"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "agent-guardrails": {
      "command": "npx",
      "args": [
        "-y",
        "agent-guardrails"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "agent-guardrails": {
      "command": "npx",
      "args": [
        "-y",
        "agent-guardrails"
      ]
    }
  }
}

Agent Guardrails FAQ

How do I add Agent Guardrails to Claude Code?

Run this command in your terminal: claude mcp add agent-guardrails -- npx -y agent-guardrails