Skip to content
MCP server

agentguard

MCP policy proxy: spend caps, approvals for destructive tools, kill switch, dry-run…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.9
Listing updated
4 days ago

About agentguard

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

MCP policy proxy: spend caps, approvals for destructive tools, kill switch, dry-run, audit log.

Install

Run in a terminal

claude mcp add agentguard -- npx -y @agentwares/agentguard

Add to claude_desktop_config.json

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

Add to ~/.cursor/mcp.json

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

Add to .vscode/mcp.json

{
  "servers": {
    "agentguard": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@agentwares/agentguard"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "agentguard": {
      "command": "npx",
      "args": [
        "-y",
        "@agentwares/agentguard"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "agentguard": {
      "command": "npx",
      "args": [
        "-y",
        "@agentwares/agentguard"
      ]
    }
  }
}

Configuration

  • AGENTGUARD_CONFIGPath to agentguard.yaml (default ./agentguard.yaml). If unset and that file does not exist, agentguard serves only its own read-only tools: agentguard_get_status, agentguard_get_report, agentguard_verify_audit_log
  • AGENTGUARD_KILLSet to 1 to halt every tool call (kill switch)

Pricing

Open source

agentguard FAQ

Is agentguard free?

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

How do I add agentguard to Claude Code?

Run this command in your terminal: claude mcp add agentguard -- npx -y @agentwares/agentguard