agentguard
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agentguardcheck if lodash 4.17.20 is vulnerable"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AgentGuard — security checks for AI agents (MCP server)
A free, open-source, single-binary MCP server that gives any AI agent (Claude Desktop, Cursor, Claude Code, …) security checks in the loop:
Tool | What it does | Data source |
| Flags hard-coded secrets (API keys, tokens, private keys) in text/code/diffs before the agent commits, logs, or sends them. Runs locally; values are masked. | local (regex + entropy) |
| Whether a specific package version has known CVEs, with severity + fixed version. | OSV.dev (free) |
| Scans a | OSV.dev (free) |
No API key, no account, no telemetry. Everything runs locally except CVE lookups, which hit the free public OSV.dev API.
Install
Pick whichever fits your setup. All three give the same stdio MCP server.
Docker (no Go toolchain needed)
docker run -i --rm ghcr.io/shuaicongxiaomai/agentguard:latest demoMCP client config (mcpServers block in Claude Desktop / Cursor / Claude Code):
{
"mcpServers": {
"agentguard": {
"command": "docker",
"args": ["run", "-i", "--rm", "ghcr.io/shuaicongxiaomai/agentguard:latest"]
}
}
}Go install
go install github.com/shuaicongxiaomai/agentguard@latest{ "mcpServers": { "agentguard": { "command": "agentguard" } } }Prebuilt binary
Download the archive for your OS/arch from the Releases
page, extract it, and point the config command at the absolute path to the binary.
Related MCP server: opzyai
Build from source
go build -o agentguard . # append .exe on WindowsThree ways to run it
1. demo — see it work, zero config:
agentguard demoRuns all three tools on sample inputs and prints the results.
2. stdio (default) — local use; the MCP client launches the binary. No port; the client manages its lifecycle. Use any of the configs above, then ask your agent: "scan this for secrets", "is lodash 4.17.20 vulnerable?", "check my package.json for vulnerable deps."
3. serve — Streamable HTTP service on a port (for a hosted/remote server):
agentguard serve :8080 # or set PORT=8080
# health: GET http://host:8080/healthz
# MCP URL: POST http://host:8080/mcp (clients connect to this URL)Use stdio for local use; use serve when you want a hosted server users connect to by URL
without installing anything.
Notes
scan_secretsruns locally and never returns raw secret values — only masked previews.scan_dependenciescaps at 200 deps per call and queries OSV concurrently.check_cve/scan_dependenciesneed network access to OSV.dev;scan_secretsis fully offline.
License
MIT.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceProvides AI agents with 25 security analysis tools including vulnerability scanning, package hallucination detection, prompt injection firewall, and CI/CD integration.Last updated1MIT
- Alicense-qualityBmaintenanceLocal-first security check for AI coding agents — finds hardcoded secrets, exposed .env files, git-history leaks and vulnerable dependencies (OSV), entirely on your machine. Ask your agent "is this safe to ship?" and get a Launch Readiness score with a fix for every finding.Last updatedMIT
- AlicenseAqualityDmaintenanceDependency security & health auditing for AI agents with no account or API key required.Last updated22MIT
- Alicense-qualityCmaintenanceProvides local, dependency-free security scanning tools for LLM configurations, prompts, RAG sources, and more, enabling AI coding agents to detect prompt injections and other vulnerabilities without external network access.Last updatedMIT
Related MCP Connectors
CVE lookups (NVD) and dependency-manifest audits (OSV) for AI agents. No API keys.
CVE lookups (NVD) and dependency-manifest audits (OSV) for AI agents. No API keys.
Pay-per-call cybersecurity for AI agents: vuln scans, threat intel, compliance, code security.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/shuaicongxiaomai/agentguard'
If you have feedback or need assistance with the MCP directory API, please join our Discord server