AgentGuard
by github.com/MerchantGuard · v0.3.1 · updated Sep 21, 2026
Local spend caps, kill-switch blocking and Ed25519-signed receipts for AI agent tool calls.
Run it locally
Install the package and point your AI client at it.
npm
npx -y @agentguard-run/[email protected]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_HOMELocal signing-key, configuration and ledger directory. Defaults to .agentguard in the operating system home directory.
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.
AGENTGUARD_INSTALL_IDOptional identifier used only by opted-in activation telemetry when no saved install identifier exists.
AGENTGUARD_ANONYMOUS_INSTALL_IDLegacy fallback for AGENTGUARD_INSTALL_ID in opted-in activation telemetry.
CIExisting runtime marker. A nonempty value marks opted-in activation telemetry as CI; it does not enable telemetry.
GITHUB_ACTIONSExisting runtime marker. A nonempty value marks opted-in activation telemetry as CI; it does not enable telemetry.
GITLAB_CIExisting runtime marker. A nonempty value marks opted-in activation telemetry as CI; it does not enable telemetry.
CIRCLECIExisting runtime marker. A nonempty value marks opted-in activation telemetry as CI; it does not enable telemetry.
BUILDKITEExisting runtime marker. A nonempty value marks opted-in activation telemetry as CI; it does not enable telemetry.
VERCELExisting runtime marker. A nonempty value marks opted-in activation telemetry as CI; it does not enable telemetry.
NETLIFYExisting runtime marker. A nonempty value marks opted-in activation telemetry as CI; it does not enable telemetry.
More MCP servers
Agentcash
github.com/Merit-Systems
Generic MCP server for calling x402-protected APIs with automatic payment handling
PraisonAI
github.com/MervinPraison
AI Agents Framework with Self Reflection and MCP support
BayDeep — E-commerce MCP Gateway
github.com/MeshTok
E-commerce MCP gateway: live product deals, attributed buy links, order tracking, flights.
Message.com
github.com/Message-com
Read conversations and reply from AI assistants with scoped access to your Message.com workspace.
TG multi-account MCP
github.com/Mesteriis
Self-hosted, consent-based access to Telegram accounts and bots for MCP clients
MCAI Knowledge Base
github.com/Meta-consciousness-AI
Meta-Consciousness Theory knowledge base: definitions, relations and citations for AI agents.