Gate an AI agent's destructive actions behind human approval, with a tamper-evident log.
registry version 0.1.1
Python
uvx infraveil-guardPython
uvx infraveil-guard@0.1.1
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"agent-guard": {
"command": "uvx",
"args": [
"infraveil-guard"
]
}
}
}{
"mcpServers": {
"agent-guard": {
"command": "uvx",
"args": [
"infraveil-guard@0.1.1"
]
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add agent-guard -- uvx infraveil-guard
claude mcp add agent-guard -- uvx infraveil-guard@0.1.1
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"agent-guard": {
"command": "uvx",
"args": [
"infraveil-guard"
]
}
}
}{
"mcpServers": {
"agent-guard": {
"command": "uvx",
"args": [
"infraveil-guard@0.1.1"
]
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"agent-guard": {
"command": "uvx",
"args": [
"infraveil-guard"
]
}
}
}{
"servers": {
"agent-guard": {
"command": "uvx",
"args": [
"infraveil-guard@0.1.1"
]
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"agent-guard": {
"command": "uvx",
"args": [
"infraveil-guard"
]
}
}
}{
"mcpServers": {
"agent-guard": {
"command": "uvx",
"args": [
"infraveil-guard@0.1.1"
]
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
INFRAVEIL_GUARD_THRESHOLD — Severity at/above which an action is gated: none|low|medium|high|critical (default high).INFRAVEIL_GUARD_MODE — enforce (block dangerous actions pending approval) or audit (log only, never block). Default enforce.INFRAVEIL_GUARD_HOME — Directory for the ledger and approval queue (default ~/.infraveil-guard).Distributed as Python, listed under AI Agents. Review our MCP security guide before granting access to real data.
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/infraveilhq/infraveil-guard. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/agent-guard/)
HTML
<a href="https://mcpnav.net/server/agent-guard/"><img src="https://mcpnav.net/badge/agent-guard.svg" alt="Listed on MCPNav" height="20"></a>