Skip to content
Cursor

guardian mcp for Cursor

io.github.odingard/guardian-mcp

Routes agent tool calls through Guardian for ALLOW/ASK/DENY before execution.

client:Cursor transport:stdio runtime:npm

Install guardian mcp 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": {
    "guardian-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@odingard/guardian-mcp"
      ],
      "env": {
        "GUARDIAN_BASE_URL": "<GUARDIAN_BASE_URL>",
        "GUARDIAN_AGENT_CREDENTIAL": "<GUARDIAN_AGENT_CREDENTIAL>",
        "GUARDIAN_CONNECTION_ID": "<GUARDIAN_CONNECTION_ID>",
        "GUARDIAN_ADAPTER_ID": "<GUARDIAN_ADAPTER_ID>"
      }
    }
  }
}

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

guardian mcp in other clients