Skip to content
Cursor

agentguard for Cursor

io.github.agentwares/agentguard

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

client:Cursor transport:stdio runtime:npm

Install agentguard in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "agentguard": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@agentwares/agentguard"
      ],
      "env": {
        "AGENTGUARD_CONFIG": "<AGENTGUARD_CONFIG>",
        "AGENTGUARD_KILL": "<AGENTGUARD_KILL>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

agentguard in other clients