Server data from the Official MCP Registry
Local spend caps, kill-switch blocking and Ed25519-signed receipts for AI agent tool calls.
About
Local spend caps, kill-switch blocking and Ed25519-signed receipts for AI agent tool calls.
Security Report
Valid MCP server (3 strong, 3 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.
4 files analyzed · 1 issue found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: AGENTGUARD_MCP_DAILY_CAP_CENTS
Environment variable: AGENTGUARD_MCP_PER_CALL_CAP_CENTS
Environment variable: AGENTGUARD_MCP_TENANT
Environment variable: AGENTGUARD_HOME
Environment variable: AGENTGUARD_MCP_LEDGER
Environment variable: AGENTGUARD_MCP_DISABLE_COST_OVERRIDE
Environment variable: AGENTGUARD_LOCK_COST_OVERRIDES
Environment variable: AGENTGUARD_ACTOR_DIGEST
Environment variable: AGENTGUARD_LICENSE_KEY
Environment variable: AGENTGUARD_LICENSE_ENDPOINT
Environment variable: AGENTGUARD_NO_BEACON
Environment variable: AGENTGUARD_TELEMETRY
Environment variable: AGENTGUARD_INSTALL_ID
Environment variable: AGENTGUARD_ANONYMOUS_INSTALL_ID
Environment variable: CI
Environment variable: GITHUB_ACTIONS
Environment variable: GITLAB_CI
Environment variable: CIRCLECI
Environment variable: BUILDKITE
Environment variable: VERCEL
Environment variable: NETLIFY
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-merchantguard-agentguard": {
"env": {
"CI": "your-ci-here",
"VERCEL": "your-vercel-here",
"NETLIFY": "your-netlify-here",
"CIRCLECI": "your-circleci-here",
"BUILDKITE": "your-buildkite-here",
"GITLAB_CI": "your-gitlab-ci-here",
"GITHUB_ACTIONS": "your-github-actions-here",
"AGENTGUARD_HOME": "your-agentguard-home-here",
"AGENTGUARD_NO_BEACON": "your-agentguard-no-beacon-here",
"AGENTGUARD_TELEMETRY": "your-agentguard-telemetry-here",
"AGENTGUARD_INSTALL_ID": "your-agentguard-install-id-here",
"AGENTGUARD_MCP_LEDGER": "your-agentguard-mcp-ledger-here",
"AGENTGUARD_MCP_TENANT": "your-agentguard-mcp-tenant-here",
"AGENTGUARD_LICENSE_KEY": "your-agentguard-license-key-here",
"AGENTGUARD_ACTOR_DIGEST": "your-agentguard-actor-digest-here",
"AGENTGUARD_LICENSE_ENDPOINT": "your-agentguard-license-endpoint-here",
"AGENTGUARD_LOCK_COST_OVERRIDES": "your-agentguard-lock-cost-overrides-here",
"AGENTGUARD_MCP_DAILY_CAP_CENTS": "your-agentguard-mcp-daily-cap-cents-here",
"AGENTGUARD_ANONYMOUS_INSTALL_ID": "your-agentguard-anonymous-install-id-here",
"AGENTGUARD_MCP_PER_CALL_CAP_CENTS": "your-agentguard-mcp-per-call-cap-cents-here",
"AGENTGUARD_MCP_DISABLE_COST_OVERRIDE": "your-agentguard-mcp-disable-cost-override-here"
},
"args": [
"-y",
"@agentguard-run/mcp"
],
"command": "npx"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
@agentguard-run/mcp
AgentGuard® as an MCP server: local spend caps and Ed25519-signed provenance receipts for AI agent actions, usable from any Model Context Protocol host (Claude Desktop, Claude Code, Cursor, Cline, or your own agent runtime).
Zero data plane. Tools accept metadata only: model names, token counts, endpoint URLs. Prompts and completions never pass through this server, and their content stays on your machine. Receipts are content-free.
A configured license uses the license and seat service. Optional activation telemetry requires consent and can be disabled with AGENTGUARD_NO_BEACON=1. Neither path sends prompts, tool content or receipts.
Install
{
"mcpServers": {
"agentguard": {
"command": "npx",
"args": ["-y", "@agentguard-run/mcp"]
}
}
}
Optional environment variables:
| Variable | Default | Meaning |
|---|---|---|
AGENTGUARD_MCP_DAILY_CAP_CENTS | 500 | Hard per-day spend cap (block on exceed) |
AGENTGUARD_MCP_PER_CALL_CAP_CENTS | 100 | Hard per-call spend cap (block on exceed) |
AGENTGUARD_MCP_TENANT | mcp-local | Tenant scope stamped into receipts |
AGENTGUARD_HOME | ~/.agentguard | Signing key and decision-ledger directory |
AGENTGUARD_MCP_LEDGER | ndjson | Persist signed decisions; memory restores process-only storage |
AGENTGUARD_MCP_DISABLE_COST_OVERRIDE | unset | 1 discards and prevents pricing overrides |
AGENTGUARD_ACTOR_DIGEST | unset | 1 stores SHA-256 digests of actor IDs; provider stays readable |
A signing keypair is generated on first run and persisted to <AGENTGUARD_HOME>/mcp-signing.json (0600). Signed decisions are appended to <AGENTGUARD_HOME>/<tenant>/decisions.ndjson, including the public verification key. Exports include prior process runs and new decisions extend the existing chain. Tenant directory names use the spend store's filename normalization. Spend counters remain process-local, as in earlier versions.
All tools accept optional agent_id, task_id, and workflow_id identifier parameters. spend_decide passes these to the call context, signing them as actor.agentId, actor.taskId, and actor.workflowId; the configured tenant becomes actor.tenantId. Other tools accept these metadata fields without recording a spend decision. Prompts, arbitrary content, credentials, and filesystem paths are rejected as IDs. Existing calls without these parameters keep working.
Tools
spend_decide: gate a model call before it runs. Returns allow/block plus a signed, hash-chained receipt recording model identity, weights origin country (China-origin families such as GLM, DeepSeek, Qwen, and Kimi are flagged automatically), hosting jurisdiction, and retention posture. Unrecognized endpoints (vLLM, Ollama, TGI, your own cluster) route asself-hosted: zero retention, your jurisdiction.verify_receipt: independently verify any receipt. Change one signed byte and verification fails.export_receipts: export the tenant decision ledger as a verified hash chain, including earlier process runs. Memory mode exports only the current process.set_model_cost: register pricing for self-hosted models (AgentGuard fails closed on unknown costs).provenance_preview: see what would be attested for a model/endpoint without spending.spend_status: active caps, tenant, decision count, signer fingerprint.
Why
When agents move from hosted APIs to self-hosted models, the provider's spend dashboard, rate limits, and audit logs disappear with the provider. AgentGuard puts them back, locally, and adds something hosted providers never gave you: a cryptographic receipt an outsider can verify without trusting you or us.
More: https://agentguard.run/sovereign/ and https://agentguard.run/sovereign/guide/
Verify independently
Any receipt can be checked off-platform at https://agentguard.run/verify or with verify_receipt and the signer public key from spend_status.
Local release verification
Requires Node.js 20.19 or later. Run npm ci, npm test, and npm run scan:release
from this package or its public mirror. The lockfile uses the published spend
0.19.0 package; no private sibling checkout is required.
Release checklist: keep package.json, the server version in src/index.ts, and
both versions in server.json aligned; run the tests and release scan; publish
npm first, publish with mcp-publisher, then verify the registry's active entry.
See the registry release guide for exact commands and the
public mirror allowlist.
The official registry name is io.github.MerchantGuard/agentguard. Its package
entry runs @agentguard-run/mcp locally through npx and stdio.
AgentGuard® is a registered trademark of Dunecrest Ventures Inc. US patent filings pending. This package is governance software, not legal or compliance advice.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Git
Freeby Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
Fetch
Freeby Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
mcp-creator-python
Freeby mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
