HOL Guard logo

HOL Guard

Local-first MCP security controls for reviewing AI-agent actions, managing approvals, and recording decision evidence.

Install HOL Guard

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for HOL Guard, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

  • security
  • ai-agents
  • mcp
  • approvals
  • supply-chain

The HOL Guard MCP server applies local security checks to AI-agent actions, including shell commands, file access, package installs, and MCP tool calls. It evaluates events for risks such as secret exposure, destructive operations, prompt injection, and supply-chain issues, then allows, blocks, or requests approval according to policy. Run it locally through HOL Guard’s stdio MCP server, CLI, and dashboard, with optional Guard Cloud features for shared history and team policy. Reach for it when an agent needs auditable action controls and approval workflows before execution.

Use cases

  • Review agent shell commands before execution
  • Approve or deny sensitive tool requests
  • Inspect local security decision history
  • Scan workspace dependencies for supply-chain risks
  • Check plugins and MCP integrations before publication

Key features

  • Pre-action review for agent operations
  • Policy-based allow, block, and approval decisions
  • Local receipts and approval history
  • MCP proxy and native agent hook integrations
  • Workspace dependency scanning
  • Plugin and skill security scanning

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

4/4 checks healthy over the last 40d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars940Stargazers on the source repository.
Last commit2d agoMost recent push to the default branch.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How HOL Guard works

What HOL Guard MCP server does

HOL Guard MCP server adds a local security layer around AI-agent activity. It reviews shell commands, file access, package installation operations, MCP server configuration, MCP tool calls, prompts, and tool results where the connected agent exposes the necessary events.

The system looks for secret exposure, destructive behavior, suspicious outbound commands, prompt injection, and supply-chain risks. Based on policy, a reviewed action can be allowed, blocked, or held for approval. Local receipts preserve decision history for later inspection.

This places the project in the Security category for teams that need controls around agent execution rather than only static code analysis. The repository also includes a separate plugin-scanner command-line tool for checking agent plugins, skills, and MCP integrations before publication.

How it works

HOL Guard connects to supported agents through native hooks, managed MCP proxies, and launch integrations. Coverage depends on which events each agent makes available, so enforcement, approval delivery, and failure behavior vary by integration.

The stdio MCP server works alongside the local HOL Guard installation. The CLI can show protection status, diagnose an integration, inspect changes before launch, list tracked artifacts, display pending approvals, and read recorded decisions. A local dashboard provides another place to manage protection and resolve approvals.

For command analysis, hol-guard command test and hol-guard command explain classify commands and show matching rules without executing them or creating an approval. Supply-chain commands can synchronize intelligence, scan workspace dependencies, and explain a package verdict with its available advisory evidence.

Setup and configuration

HOL Guard requires Python 3.10 or newer and pipx. Install it with:

bash
pipx install hol-guard
hol-guard init

The first-run wizard discovers supported agents and asks before making setup changes, including opening the dashboard, installing agent integrations, or connecting optional cloud services. Use hol-guard status to check the installation and hol-guard update to update it.

Codex can be installed explicitly with hol-guard install codex, then tested with hol-guard run codex --dry-run before a normal hol-guard run codex launch. The dry run records the current artifact state.

Tools and capabilities

HOL Guard MCP server supports workflows for:

  • Reviewing commands, file access, package installs, and MCP tool calls.
  • Routing pending decisions to native prompts or the approval center.
  • Approving or denying requests by request ID.
  • Inspecting receipts, tracked artifacts, and agent configuration changes.
  • Exporting an AI bill of materials as JSON.
  • Scanning workspace dependencies for supply-chain concerns.

The separate plugin scanner provides scan, lint, verify, submit, and doctor commands for supported plugin and skill package formats.

Limitations and notes

Protection coverage is not uniform across agents; consult the project’s support matrix for integration-specific behavior.

HOL Guard MCP server runs locally without an account. Guard Cloud is optional and adds shared history, team policy, and fleet management. The available package verdict depends on advisory evidence and ecosystem coverage, and command coverage comes from the project’s catalog. External extension contributions require explicit opt-in, while required core protections remain enabled.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about HOL Guard

HOL Guard is an MCP server that connects AI-agent workflows to local HOL Guard security controls. Its main tools support pre-action review, approval handling, and evidence or decision-history inspection for shell commands, file access, package installs, and MCP tool calls. It can allow, block, or request approval under configured policy.

Install it with pipx, then run the initialization wizard: `pipx install hol-guard` followed by `hol-guard init`. Python 3.10 or newer is required. The wizard discovers supported agents and asks before applying setup changes.

Yes, Cursor is listed among HOL Guard’s supported agents. Actual enforcement and approval coverage depend on the events Cursor exposes through its integration, so consult the project’s support matrix for detailed behavior.

Use `hol-guard approvals` to inspect pending requests, then run `hol-guard approvals approve <request-id>` or `hol-guard approvals deny <request-id>`. Recorded decisions can be reviewed with `hol-guard receipts`.

Yes, the repository includes the separate `plugin-scanner` CLI. Run `plugin-scanner scan .`, `plugin-scanner lint .`, or `plugin-scanner verify .` to check detected plugin, skill, and MCP integration surfaces.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewHOL Guard AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/hol-guard?style=directory)](https://allmcps.com/mcp/hol-guard)
HTML Embed
<a href="https://allmcps.com/mcp/hol-guard"><img src="https://allmcps.com/api/badge/hol-guard?style=directory" alt="HOL Guard on AllMCPs" /></a>