Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 88
  • 1.1k stars
  • Apache-2.0
  • Updated

Install HOL Guard

Built from the published package, never by AI.

claude mcp add hol-guard -- uvx hol-guard

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install HOL Guard in Claude Code

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

A

No 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 microsoft
94

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.

AAA Local 6.6k
Bla qybaihe
94

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.

AAA Local 7.3k
Bla Agents qybaihe
94

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.

AAA Local 11k/wk
MCP Auth zgeoff
94

A shared OAuth server for the MCP route of an app, built on better-auth, with passkey sign-in for the owner

AAC Local 44k/wk
Agentos MCP Server microsoft
94

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.

AAA Local 6.6k
Convex MCP Gateway tfohlmeister
93

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.

AAC Local 37k/wk

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.

HOL Guard Install

Add to stack

Loading.