# Agent Guard

> Agent Guard is an open-source MCP server. Safety checks an agent runs before it acts: package malware, destructive command, secret leak. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/ipezygj/agent-guard
- **MCP Registry name:** io.github.ipezygj/agent-guard
- **Listing updated:** 2026-11-13

## About

Safety checks an agent runs before it acts: package malware, destructive command, secret leak.

## Install

### Claude Code (Terminal)

```sh
claude mcp add agent-guard -- uvx agent-tripwire
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "agent-guard": {
      "command": "uvx",
      "args": [
        "agent-tripwire"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "agent-guard": {
      "command": "uvx",
      "args": [
        "agent-tripwire"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "agent-guard": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "agent-tripwire"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "agent-guard": {
      "command": "uvx",
      "args": [
        "agent-tripwire"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "agent-guard": {
      "command": "uvx",
      "args": [
        "agent-tripwire"
      ]
    }
  }
}
```

## FAQ

### Is Agent Guard free?

Yes. Agent Guard is open source, so you can use and self-host it for free.

### How do I add Agent Guard to Claude Code?

Run this command in your terminal: claude mcp add agent-guard -- uvx agent-tripwire

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/agent-guard
