# Covenant Guard

> Covenant Guard is an open-source MCP server. Hard spend cap, OS sandbox, and signed receipts for unattended coding agents like Claude Code. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Website:** https://opencovenant.org/guard
- **Repository:** https://github.com/open-covenant/covenant
- **MCP Registry name:** org.opencovenant/guard
- **Listing updated:** 2026-11-13

## About

Hard spend cap, OS sandbox, and signed receipts for unattended coding agents like Claude Code.

## Install

### Claude Code (Terminal)

```sh
claude mcp add guard -- npx -y https://github.com/open-covenant/covenant/releases/download/covguard-v0.1.1/covenant-guard.mcpb
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "guard": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/open-covenant/covenant/releases/download/covguard-v0.1.1/covenant-guard.mcpb"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "guard": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/open-covenant/covenant/releases/download/covguard-v0.1.1/covenant-guard.mcpb"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "guard": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/open-covenant/covenant/releases/download/covguard-v0.1.1/covenant-guard.mcpb"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "guard": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/open-covenant/covenant/releases/download/covguard-v0.1.1/covenant-guard.mcpb"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "guard": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/open-covenant/covenant/releases/download/covguard-v0.1.1/covenant-guard.mcpb"
      ]
    }
  }
}
```

## FAQ

### Is Covenant Guard free?

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

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

Run this command in your terminal: claude mcp add guard -- npx -y https://github.com/open-covenant/covenant/releases/download/covguard-v0.1.1/covenant-guard.mcpb

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