Skip to content
Gemini CLI

wpagent mcp for Gemini CLI

dev.wpagent/wpagent-mcp

Manage WordPress & WooCommerce from any MCP client — 58 tools over a signed REST API.

client:Gemini CLI transport:stdio runtime:npm

Install wpagent 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": {
    "wpagent-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "wpagent-mcp"
      ],
      "env": {
        "WP_SITE_URL": "<WP_SITE_URL>",
        "WP_API_KEY_ID": "<WP_API_KEY_ID>",
        "WP_API_SECRET": "<WP_API_SECRET>",
        "WP_SITE_LABEL": "<WP_SITE_LABEL>"
      }
    }
  }
}

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

wpagent mcp in other clients