# HOL Guard [Health: Active]

**Category:** 🔒 Security  
**Repository:** https://github.com/hashgraph-online/hol-guard  
**GitHub Stars:** 1121  
**Views:** 6  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/hol-guard

## Description
Local-first AI agent security evidence and approval workflows through HOL Guard's stdio MCP server.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/hashgraph-online/hol-guard), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
pipx install hol-guard
```

2. Configure:

```sh
hol-guard init
```

## Documentation

## What HOL Guard does

HOL Guard adds security review and approval workflows around AI agents, tools, plugins, skills, MCP servers, and package installations. It examines actions before they run and applies policy outcomes: allow, block, or request approval.

The protected surfaces include shell commands, file operations, package-manager activity, local agent artifacts, MCP server configurations, MCP tool calls, prompts, and tool results. Detection covers destructive operations, access to sensitive files, credential exposure, suspicious outbound commands, prompt injection, and supply-chain risks.

The project also ships `plugin-scanner`, a separate command-line utility for checking agent plugins, skills, and MCP integrations before publication. Its checks include security findings, quality reporting, authoring feedback, install-surface validation, and runtime-readiness checks.

## How it works

The guard connects to agents through native hooks, managed MCP proxies, and launch integrations. When a supported event occurs, it evaluates the action against the configured policy. A native prompt or the approval center can receive requests that need a human decision.

Local receipts preserve decisions for later review. The command-line interface and local dashboard provide access to pending approvals, decision history, tracked artifacts, protection status, and integration diagnostics. Coverage varies by agent because enforcement and approval behavior depend on the events each integration exposes.

Optional Guard Cloud connectivity provides shared history, team policy, and fleet management in addition to local operation.

## Setup and configuration

HOL Guard requires Python 3.10 or newer, `pipx`, and a matching native runtime. Install it with:

```bash
pipx install hol-guard
hol-guard init
```

The initialization wizard discovers supported agents and guides protection setup. It requests confirmation before setup changes such as opening the dashboard, installing agent integrations, or connecting optional cloud services. Verify the installation with `hol-guard status`, and use `hol-guard update` for updates.

Agents can also be configured explicitly. For example:

```bash
hol-guard install codex
hol-guard run codex --dry-run
hol-guard run codex
```

The dry run records the current artifact state before launch.

## Tools and capabilities

- Review shell commands and file access before execution.
- Inspect MCP server configuration and MCP tool calls through supported hooks and proxies.
- Evaluate package-manager operations using supply-chain intelligence.
- Inventory plugins, skills, tools, and agent configuration changes.
- Detect prompt injection and sensitive content in supported events.
- Manage pending approvals and inspect recorded receipts.
- Test or explain command classifications without executing commands.
- Scan workspaces and export an AI bill of materials in JSON format.
- Run `plugin-scanner` checks against agent integrations before publication.

## Limitations and notes

Supported agent coverage includes Codex, Claude Code, GitHub Copilot CLI, Cursor, Cline, Gemini CLI, Grok, Hermes, Kimi Code, Pi, oh-my-pi, OpenClaw, OpenCode, Antigravity, ZCode, and Devin. Enforcement, approval delivery, and failure behavior differ by integration.

The project requires a compatible native runtime in addition to Python and `pipx`. Windows ARM64 users should check the platform-specific setup guidance. External command-coverage contributions require explicit opt-in, while core protections remain enabled.

_Full upstream README: https://allmcps.com/mcp/hol-guard/readme_

