Skip to content
Grok

AgentGuard for Grok

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:Grok transport:stdio runtime:npm

Install AgentGuard in Grok

.mcp.json (in your project root)

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>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

AgentGuard in other clients