agentguard

Official registry Security

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

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

NPM package @agentwares/agentguard
Claude Code
claude mcp add agentguard -e 'AGENTGUARD_CONFIG=<AGENTGUARD_CONFIG>' -e 'AGENTGUARD_KILL=<AGENTGUARD_KILL>' -- npx -y @agentwares/agentguard@0.1.9
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "agentguard": {
            "command": "npx",
            "args": [
                "-y",
                "@agentwares/agentguard@0.1.9"
            ],
            "env": {
                "AGENTGUARD_CONFIG": "<AGENTGUARD_CONFIG>",
                "AGENTGUARD_KILL": "<AGENTGUARD_KILL>"
            }
        }
    }
}

Environment variables

  • AGENTGUARD_CONFIG Path 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_KILL Set to 1 to halt every tool call (kill switch)

Frequently asked questions

What is agentguard?

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

How do I install agentguard?

It runs on your machine. In Claude Code: claude mcp add agentguard -e 'AGENTGUARD_CONFIG=<AGENTGUARD_CONFIG>' -e 'AGENTGUARD_KILL=<AGENTGUARD_KILL>' -- npx -y @agentwares/agentguard@0.1.9. For other clients, paste the JSON configuration from this page into their MCP settings.

Does agentguard need an API key?

Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.

Is agentguard open source?

Its code is public on GitHub, but the repository does not declare a standard license.

Who maintains agentguard?

It is published by agentwares. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.