Skip to content
Cursor

AgentGuard for Cursor

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: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-mcp": {
      "type": "stdio",
      "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>"
      }
    }
  }
}

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

AgentGuard in other clients