AgentGuard

io.github.MerchantGuard/agentguard

Local spend caps, kill-switch blocking and Ed25519-signed receipts for AI agent tool calls.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "agentguard": {
      "command": "npx",
      "args": [
        "-y",
        "@agentguard-run/mcp@0.3.1"
      ],
      "env": {
        "AGENTGUARD_MCP_DAILY_CAP_CENTS": "500",
        "AGENTGUARD_MCP_PER_CALL_CAP_CENTS": "100",
        "AGENTGUARD_MCP_TENANT": "mcp-local",
        "AGENTGUARD_MCP_LEDGER": "ndjson",
        "AGENTGUARD_MCP_DISABLE_COST_OVERRIDE": "0",
        "AGENTGUARD_LOCK_COST_OVERRIDES": "0",
        "AGENTGUARD_ACTOR_DIGEST": "0",
        "AGENTGUARD_LICENSE_KEY": "<your AGENTGUARD_LICENSE_KEY>",
        "AGENTGUARD_LICENSE_ENDPOINT": "https://agentguard.run",
        "AGENTGUARD_NO_BEACON": "0",
        "AGENTGUARD_TELEMETRY": "0"
      }
    }
  }
}
Environment variables
  • AGENTGUARD_MCP_DAILY_CAP_CENTSLocal daily spend cap in cents. A nonnegative integer.
  • AGENTGUARD_MCP_PER_CALL_CAP_CENTSLocal per-call spend cap in cents. A nonnegative integer.
  • AGENTGUARD_MCP_TENANTTenant identifier stamped into local receipts.
  • AGENTGUARD_MCP_LEDGERLocal decision storage. ndjson persists receipts across restarts; memory retains this process only.
  • AGENTGUARD_MCP_DISABLE_COST_OVERRIDESet to 1 to discard and prevent model pricing overrides for this server.
  • AGENTGUARD_LOCK_COST_OVERRIDESSpend SDK startup lock. Set to 1 to prevent model pricing overrides.
  • AGENTGUARD_ACTOR_DIGESTSet to 1 to hash actor identifiers before they enter local receipts.
  • AGENTGUARD_LICENSE_KEYsecretOptional AgentGuard license key for license validation and seat registration. Otherwise read from local configuration.
  • AGENTGUARD_LICENSE_ENDPOINTLicense and seat service base URL. No prompts, tool content or receipts are sent.
  • AGENTGUARD_NO_BEACONSet to 1 to disable optional activation telemetry regardless of saved consent.
  • AGENTGUARD_TELEMETRYSet to 1 to opt in to content-free activation telemetry. Otherwise saved consent applies, default off.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.3.1
Registry
active
Published
9/21/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that AgentGuard is listed here — it’s also the link we check for a free listing.

AgentGuard — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-merchantguard-agentguard?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="AgentGuard — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![AgentGuard — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-merchantguard-agentguard?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.