Agent Guard MCP server
io.github.Kavachh/agent-guard-mcp·v0.2.0Git-aware safe file ops for AI agents: delete anything except git-tracked source code.
0 stars
Reviews
Write oneNobody has reviewed Agent Guard yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Agent Guard tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-25 · same rubric, same numbers if you re-run it
- –Code scanpackage could not be scannedn/a
- –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 66 days ago12/15
- Maintainer identityregistry namespace matches repository owner6/10
How Agent Guard compares
Against every graded Developer tools MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 75/100
- higher than 40% of 1,119 Developer tools servers
Install Agent Guard in Claude Code, Cursor or VS Code
The registry entry has no remote endpoint or installable package.
What the publisher says
From the Agent Guard repository's README, as published. We do not edit it. Read it on GitHub
agent-guard-mcp
MCP server (written in Go, single static binary) for git-aware safe file operations. Give your AI agents (Claude Code, GitHub Copilot CLI, Cursor, …) free rein to delete what they build — while making it impossible for them to delete your git-tracked source code.
Policy: anything is deletable until it's tracked by a git repository.
Tools
Install
Build the single static binary (no runtime dependencies):
go build -o agent-guard-mcp .Or install directly:
go install github.com/kavachh/agent-guard-mcp@latestClaude Code
claude mcp add agent-guard -- /path/to/agent-guard-mcpGitHub Copilot CLI
In ~/.copilot/mcp-config.json:
{
"mcpServers": {
"agent-guard": { "command": "/path/to/agent-guard-mcp", "args": [] }
}
}Any MCP client (generic stdio config)
{ "command": "/path/to/agent-guard-mcp", "args": [] }Recommended agent instructions
Add to your CLAUDE.md / AGENTS.md / .github/copilot-instructions.md:
Never use rm in the shell. Always delete files with the safe_delete MCP tool, which protects git-tracked source code.
Since safe_delete can never destroy tracked source, it is safe to auto-approve this server's tools in your client's permission settings.
Example
safe_delete { "paths": ["build/", "scratch.txt"] }
→ deleted (untracked)
safe_delete { "paths": ["src/main/java/App.java"] }
→ BLOCKED: git-tracked source file — use `git rm` deliberately if intendedRequirements
- git on PATH
- Go ≥ 1.24 (build only — the binary itself has zero dependencies)
Testing
24-case edge suite (tracked/staged/ignored files, nested repos, symlinks, dry-run, …):
go build -o agent-guard-mcp . && npm testNothing above is checked by us. What we check is on the safety report.
Agent Guard: common questions
- Is Agent Guard MCP server safe?
- Mostly: it is graded B (75/100). Read the Agent Guard safety report
- Does Agent Guard need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Agent Guard maintained?
- The last commit was 106 days ago (2026-07-21). The latest release is v0.2.0.
- What can I use instead of Agent Guard?
- Servers from other publishers that do the same job: Kindex MCP server, Kindex MCP server and Agent Memory MCP server.
Alternatives to Agent Guard
Same job from other publishers: the closest match first, then the best rated.
- KindexPersistent knowledge graph and MCP server for AI workflows with git-tracked project context.not reviewedEstablishedA
- KindexPersistent knowledge graph and MCP server for AI workflows with git-tracked project context.not reviewedEstablishedB
- Agent MemoryGit-native project memory for AI coding agents: Markdown source of truth, reviewable, secret-safe.not reviewedGrowingA
- AkbGit-backed org memory for AI agents — hybrid search, tables, files & a URI graph over MCP.not reviewedGrowingA
RepowiseCodebase intelligence for AI coding agents — graph, git history, docs, decisions, code health.not reviewedEstablishedB