Skip to content
Claude Desktop

AgentGuard for Claude Desktop

io.github.zaxcoraider/agentguard-mcp

Let an AI agent pay on NEAR through a vault whose spending rules a contract enforces, not the agent.

client:Claude Desktop transport:stdio runtime:npm

Install AgentGuard in Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json

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

{
  "mcpServers": {
    "agentguard-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@zaxcoraider/agentguard-mcp"
      ],
      "env": {
        "AGENTGUARD_VAULT": "<AGENTGUARD_VAULT>",
        "NEAR_NETWORK": "<NEAR_NETWORK>",
        "AGENTGUARD_AGENT_KEY": "<AGENTGUARD_AGENT_KEY>",
        "AGENTGUARD_KEY_FILE": "<AGENTGUARD_KEY_FILE>",
        "NEAR_RPC_URL": "<NEAR_RPC_URL>",
        "SENTINEL_URL": "<SENTINEL_URL>"
      }
    }
  }
}

Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs

AgentGuard in other clients