Agentguard MCP server
Network-egress firewall for agent tools: check URLs against a declarative policy.
1 stars30 downloads/wk
Reviews
Write oneNobody has reviewed Agentguard yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Agentguard tools (3)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
check_urlCheck whether a URL is allowed under a network policy. Returns { allowed, reason } without making any actual request. Use this to gate tool calls before they execute.
check_urls_batchBatch-check multiple URLs against the same policy. Returns per-URL decisions plus an allowed/denied summary. Useful for vetting a list of pending tool fetches.
validate_policySanity-check a policy spec without making any decision. Catches: empty allow list, overly broad "*" wildcards, malformed host patterns containing schemes/paths/queries.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan2 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 58 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Agentguard compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 80% of 4,464 AI and agents servers
- Tools
- 3
- the typical AI and agents server has 6
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 1
- more than 50% of 2,697 AI and agents servers
- Downloads a week
- 30
- more than 18% of 1,515 AI and agents servers with a package
What its tools let an agent do: 3 read
Install Agentguard in Claude Code, Cursor or VS Code
Runs npx -y @mukundakatta/agentguard-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add agentguard -- npx -y @mukundakatta/agentguard-mcp
What the publisher says
From the Agentguard repository's README, as published. We do not edit it. Read it on GitHub
agentguard-mcp
MCP server for @mukundakatta/agentguard. Lets Claude Desktop, Cursor, Cline, Windsurf, Zed, or any other MCP client check whether a URL is allowed under a network-egress policy before any fetch.
npx -y @mukundakatta/agentguard-mcpThree tools:
- checkurl** — single URL check: returns { allowed, reason } without making any actual request.
- checkurlsbatch — batch check with per-URL decisions plus a summary.
- validatepolicy — sanity-check a policy spec for empty allowlists, overly broad wildcards, and malformed host patterns.
Add to your client
Claude Desktop
Edit ~/Library/Application Support/Claude/claudedesktopconfig.json (macOS) or %APPDATA%\Claude\claudedesktopconfig.json (Windows):
{
"mcpServers": {
"agentguard": {
"command": "npx",
"args": ["-y", "@mukundakatta/agentguard-mcp"]
}
}
}Same shape for Cursor (~/.cursor/mcp.json), Cline, Windsurf, Zed.
Tool examples
checkurl:**
{
"url": "https://api.openai.com/v1/chat",
"policy": { "allow": ["api.openai.com", "*.anthropic.com"] }
}Returns:
{ "allowed": true, "reason": "matched_allowlist", "detail": null }checkurlsbatch:
{
"urls": [
"https://api.openai.com/v1/chat",
"https://evil.example.com/leak"
],
"policy": { "allow": ["api.openai.com"] }
}Returns:
{
"results": [
{ "url": "https://api.openai.com/v1/chat", "allowed": true, ... },
{ "url": "https://evil.example.com/leak", "allowed": false, "reason": "not_in_allowlist", ... }
],
"summary": { "total": 2, "allowed_count": 1, "denied_count": 1 }
}validatepolicy:**
{ "policy": { "allow": ["*", "https://api.example.com", "api.example.com/v1"] } }Returns issues for the * wildcard, the scheme prefix, and the path suffix — common mistakes when first writing a policy.
Why a separate MCP server
@mukundakatta/agentguard is a zero-dependency JavaScript library. This MCP server makes its decision engine accessible from any MCP-aware AI assistant: ask Claude "does my agent's tool list pass this firewall?" or "which of these 50 URLs would my policy block?" and the assistant calls these tools directly.
Note: this MCP server only checks URLs — it does not actually wrap fetch or block real requests. For runtime enforcement, use @mukundakatta/agentguard directly inside your Node process.
Sibling MCP servers
Part of the agent-stack series:
- @mukundakatta/agentfit-mcp — Fit it.
- @mukundakatta/agentguard-mcp — Sandbox it. (this)
- @mukundakatta/agentsnap-mcp — Test it.
- @mukundakatta/agentvet-mcp — Vet it.
- @mukundakatta/agentcast-mcp — Validate it.
License
MIT
Nothing above is checked by us. What we check is on the safety report.
Agentguard: common questions
- Is Agentguard MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the Agentguard safety report
- How do I install Agentguard?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Agentguard need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Agentguard maintained?
- The last commit was 93 days ago (2026-08-01). The latest release is v0.1.0.
- What can I use instead of Agentguard?
- Servers from other publishers that do the same job: paper-preflight MCP server, IWE (iwe.md) MCP server and Decionis Commerce Gate MCP server.
- How does Agentguard compare with other AI and agents MCP servers?
- safety score 88/100 (higher than 80% of 4,464 AI and agents servers); tools 3 (the typical AI and agents server has 6); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Agentguard
Same job from other publishers: the closest match first, then the best rated.
- paper-preflightChecks every LaTeX reference against Crossref, dblp, arXiv, DataCite, PubMed and OpenAlex. No LLM.not reviewedEstablishedA
- IWE (iwe.md)Markdown knowledge base as agent memory. Runs against the notes directory it is started in.not reviewedEstablishedA
- Decionis Commerce Gate MCPCommerce preflights, agent run mandates, D365 authorization, and offer checks; no external writes.not reviewedEstablishedA
- Vibe CheckMetacognitive AI agent oversight: adaptive CPI interrupts for alignment, reflection and safetynot reviewedEstablishedB
- ctxlintLint AI agent context files (CLAUDE.md, AGENTS.md, etc.) against your actual codebasenot reviewedEstablishedA