Skip to content
Gemini CLI

WPGuard MCP for Gemini CLI

io.github.cgallic/wpguard-mcp

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

client:Gemini CLI transport:stdio runtime:oci

Install WPGuard MCP in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

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

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

WPGuard MCP in other clients