# Scope Guard

> Scope Guard is an open-source MCP server. Hard scope boundaries to prevent AI agent drift. It runs locally on your machine and is started by your AI client.

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

## About

Hard scope boundaries to prevent AI agent drift

## Install

### Claude Code (Terminal)

```sh
claude mcp add scope-guard -- npx -y scope-guard-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "scope-guard": {
      "command": "npx",
      "args": [
        "-y",
        "scope-guard-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "scope-guard": {
      "command": "npx",
      "args": [
        "-y",
        "scope-guard-mcp"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "scope-guard": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "scope-guard-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "scope-guard": {
      "command": "npx",
      "args": [
        "-y",
        "scope-guard-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "scope-guard": {
      "command": "npx",
      "args": [
        "-y",
        "scope-guard-mcp"
      ]
    }
  }
}
```

## FAQ

### Is Scope Guard free?

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

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

Run this command in your terminal: claude mcp add scope-guard -- npx -y scope-guard-mcp

## 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/scope-guard
