HOL Guard
MCP server by hashgraph-online Community
Reviews AI agent actions such as shell commands, file access, package installs and MCP tool calls before they run. Allows, blocks or requests approval under your policy, using a local CLI and dashboard. Runs locally without an account.
Install HOL Guard
Built from the published package, never by AI.
claude mcp add hol-guard -- uvx hol-guardRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"hol-guard": {
"args": [
"hol-guard"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"hol-guard": {
"args": [
"hol-guard"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"hol-guard": {
"args": [
"hol-guard"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add hol-guard -- uvx hol-guard{
"mcpServers": {
"hol-guard": {
"args": [
"hol-guard"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add hol-guard uvx hol-guardGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the hol-guard block.
About
HOL Guard is a local-first security layer for AI agents, tools, plugins, skills, MCP servers and package installs. It reviews agent actions before they run, including shell commands, file access, package installs and MCP tool calls. It detects secret exposure, destructive operations, prompt injection and supply-chain risks, then allows, blocks or requests approval according to your policy.
Guard connects through native agent hooks, managed MCP proxies and launch integrations. It supports agents such as Codex, Claude Code, Cursor and Gemini CLI. Users manage protection, resolve approvals and inspect decision history with the CLI and a local dashboard. Optional Guard Cloud adds shared history, team policy and fleet management.
Written from the project's README and checked against it.
What you need
- Python 3.10 or newer
- pipx
- A matching native runtime
Try asking
- Check whether the shell command rm -rf ./build is safe to run
- Show my pending approvals and approve or deny them
- Scan this workspace's dependencies for supply-chain risk
Good to know
- Guard sees only the events each agent exposes to it.
- Coverage differs by agent, as listed in the support matrix.
- Cloud features such as shared history and team policy are optional.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Reviewing agent shell commands before they run
- Approving or denying agent actions locally
- Checking packages for supply-chain risk
Alternatives to HOL Guard
All alternatives →Agentmesh MCP Proxy is a security proxy for MCP servers, described by its publisher as a firewall for the Model Context Protocol. It is aimed at teams that run AI agents which call tools and other agents.
Hardens client-side artifacts such as binaries, Electron apps, JS bundles, Python and WebAssembly against AI reverse-engineering agents. Built for developers who ship proprietary logic to user-controlled devices.
Bla Agents is an MCP server and CLI that adds seeded, format-specific decoys to shipped binaries, JavaScript, WebAssembly and other artifacts. It is for developers who ship proprietary logic to user-controlled devices and want to make AI reverse-engineering slower.
A shared OAuth server for the MCP route of an app, built on better-auth, with passkey sign-in for the owner
Agent Governance Toolkit adds policy enforcement, identity, sandboxing and audit logging to autonomous AI agents. It is aimed at teams shipping agents to production. The source does not confirm the Claude Desktop MCP server named in the listing.
Convex MCP Gateway is a Convex component that exposes selected Convex functions as MCP tools. It checks each call with your own authorize callback and writes an audit log. It is for developers who run Convex apps and want AI assistants to call parts of them.
Compare with Agentmesh MCP Proxy, Bla or Bla Agents
HOL Guard: common questions
Does HOL Guard need an account?
No. The source says Guard runs locally without an account. Optional Guard Cloud adds shared history, team policy and fleet management.
Which AI agents does HOL Guard support?
The source lists Codex, Claude Code, GitHub Copilot CLI, Cursor, Cline, Gemini CLI, and several others. Coverage depends on the events each agent exposes.
Does HOL Guard see everything an agent does?
No. The source says Guard sees only the events each agent exposes to it, and the support matrix lists the actions it does not cover.
How do I install HOL Guard?
In Claude Code run claude mcp add hol-guard -- uvx hol-guard. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is HOL Guard the official server?
HOL Guard is a community project by hashgraph-online, not verified by a company domain.
Is HOL Guard free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is HOL Guard safe to use?
It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to HOL Guard?
Similar MCP servers: Agentmesh MCP Proxy, Bla, Bla Agents, MCP Auth.
Does HOL Guard work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
