# WPGuard MCP

> WPGuard MCP is an open-source MCP server. WordPress edit previews, scoped correction checks, and change records for trusted operators. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Open source
- **Website:** https://wpmcpserver.com
- **Repository:** https://github.com/cgallic/wpguard-mcp
- **MCP Registry name:** io.github.cgallic/wpguard-mcp
- **Listing updated:** 2026-11-13

## About

WordPress edit previews, scoped correction checks, and change records for trusted operators.

## Install

### Claude Code (Terminal)

```sh
claude mcp add wpguard-mcp --env WPGUARD_MCP_TOKEN='<WPGUARD_MCP_TOKEN>' -- docker run -i --rm -e WPGUARD_MCP_TOKEN ghcr.io/cgallic/wpguard-mcp:0.4.0
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "wpguard-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "WPGUARD_MCP_TOKEN",
        "ghcr.io/cgallic/wpguard-mcp:0.4.0"
      ],
      "env": {
        "WPGUARD_MCP_TOKEN": "<WPGUARD_MCP_TOKEN>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "wpguard-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "WPGUARD_MCP_TOKEN",
        "ghcr.io/cgallic/wpguard-mcp:0.4.0"
      ],
      "env": {
        "WPGUARD_MCP_TOKEN": "<WPGUARD_MCP_TOKEN>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "wpguard-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "WPGUARD_MCP_TOKEN",
        "ghcr.io/cgallic/wpguard-mcp:0.4.0"
      ],
      "env": {
        "WPGUARD_MCP_TOKEN": "<WPGUARD_MCP_TOKEN>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "wpguard-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "WPGUARD_MCP_TOKEN",
        "ghcr.io/cgallic/wpguard-mcp:0.4.0"
      ],
      "env": {
        "WPGUARD_MCP_TOKEN": "<WPGUARD_MCP_TOKEN>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "wpguard-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "WPGUARD_MCP_TOKEN",
        "ghcr.io/cgallic/wpguard-mcp:0.4.0"
      ],
      "env": {
        "WPGUARD_MCP_TOKEN": "<WPGUARD_MCP_TOKEN>"
      }
    }
  }
}
```

## FAQ

### Is WPGuard MCP free?

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

### How do I add WPGuard MCP to Claude Code?

Run this command in your terminal: claude mcp add wpguard-mcp --env WPGUARD_MCP_TOKEN='<WPGUARD_MCP_TOKEN>' -- docker run -i --rm -e WPGUARD_MCP_TOKEN ghcr.io/cgallic/wpguard-mcp:0.4.0

## 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/wpguard-mcp
