Page Generator Pro

from $99/yr

Documentation

MCP

Info icon

MCP requires Page Generator Pro 6 or higher, available Monday 7th September 2026 23:59 UTC.

Prerequisites

  • Page Generator Pro 6 or higher.
  • WordPress 6.9 or higher
  • An MCP‑capable AI client (Claude Desktop, ChatGPT Desktop, Claude Code, Cursor, or any client that supports MCP over HTTP).

Introduction

Page Generator Pro includes an MCP (Model Context Protocol) server. This lets an AI client — such as Claude Desktop, ChatGPT Desktop, Claude Code or Cursor — connect directly to your WordPress site and manage Page Generator Pro for you: creating Keywords and Content Groups, building page content, generating Pages/Posts, and reading or updating Plugin settings.

Instead of clicking through the Plugin’s screens, you describe what you want in plain language and the AI client carries it out using Page Generator Pro’s tools.

Functionality

Once connected, an AI client can:

  • Create, read, update and delete Keywords (including AI‑generated Keywords and location Keywords).
  • Create, import, update and delete Content Groups, build their content, and generate (or test) Pages/Posts.
  • Insert Dynamic Elements — AI text, AI/stock images, Related Links, maps and more — into your content.
  • Read and update Plugin Settings (API keys and other secrets are never exposed or writable).
  • Run guided Prompts (recipes) — ready‑made programmatic SEO workflows, such as “Services in Locations” or “Location Directory”.

See MCP: Prompts, Tools and Resources for the full list, and MCP: Tutorial for a complete worked example.

Setup

Info icon

Setup is one time. Failure to follow all steps in this section may result in incorrect working functionality.

  1. Go to Page Generator Pro > Settings, and click the MCP tab.
  2. Tick/check the Enable MCP Server option, and click Save
    Page Generator Pro: MCP: Enable
  3. Click Create Application Password
    Page Generator Pro: MCP: Create Application Password
  4. On the Authorize Application screen, click Yes, I approve of this connection
    Page Generator Pro: MCP: Authorize Application

Make a note of the MCP server URL
Page Generator Pro: MCP: Server URL

Info icon

If you’re on an Agency license with whitelabelling enabled, the URL’s page-generator-pro slug will instead be the slugged version of your whitelabelled plugin name. For example, if it’s called “SEO Plugin”, the URL will instead contain seo-plugin.

Make a note of the Authorization Header. It is only shown once
Page Generator Pro: MCP: Authorization Header

At this stage, you’ll also see ready made configurations you can copy and paste into your AI client’s configuration files:

Page Generator Pro: MCP: Connect AI Client

Claude Desktop

Add the generated block to your claude_desktop_config.json file, then restart Claude Desktop. It looks like this (your URL and header are filled in for you):

{
  "mcpServers": {
    "page-generator-pro": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://www.example.com/wp-json/page-generator-pro/mcp/v1",
        "--header",
        "Authorization: Basic XXXXXXXX",
        "--allow-http"
      ]
    }
  }
}

Claude Code

Run the generated command in your terminal:

claude mcp add --transport http page-generator-pro https://www.example.com/wp-json/page-generator-pro/mcp/v1 --header "Authorization: Basic XXXXXXXX"

Cursor

Add the following to your ~/.cursor/mcp.json file, then restart Cursor:

{
    "mcpServers": {
        "page-generator-pro": {
            "url": "https://www.example.com/wp-json/page-generator-pro/mcp/v1",
            "headers": {
                "Authorization": "Basic XXXXXXXX"
            }
        }
    }
}

Codex

Add the following to your ~/.codex/config.toml file, then restart Codex:

[mcp_servers.page_generator_pro]
url = "https://www.example.com/wp-json/page-generator-pro/mcp/v1"
http_headers = { "Authorization" = "Basic XXXXXXXX" }

Older versions of Codex require experimental_use_rmcp_client = true at the top of the configuration file to connect to remote MCP servers.

Other clients

Any MCP client that supports HTTP can connect using the two values shown on the screen:

  • Server URLhttps://www.example.com/wp-json/page-generator-pro/mcp/v1
  • Authorization headerBasic XXXXXXXX

Sites without HTTPS (local/staging)

If your site is not served over HTTPS, Page Generator Pro automatically adds the --allow-http flag to the Claude Desktop / Cursor snippets, because the MCP bridge (mcp-remote) otherwise refuses non‑HTTPS URLs. On a live HTTPS site this flag is not required.

Verifying the connection

Once your client is configured and restarted, ask it something simple, for example:

List my Page Generator Pro Content Groups

The client should call Page Generator Pro and return your Content Groups. If it can’t connect, see Troubleshooting below.

Page Generator Pro: MCP: AI Client: List all Content Groups

Disconnecting

To revoke access:

  • Go to Page Generator Pro > Settings, and click the MCP tab.
  • Click Revoke Application Password
    Page Generator Pro: MCP: Revoke Application Password
  • Remove the server from your AI client’s configuration.

You can also disable the MCP server entirely by unticking the Enable MCP Server option.

Troubleshooting

  • The client connects but doesn’t see new tools or prompts. MCP clients cache the tool list. After enabling the server (or upgrading the Plugin), fully restart / reconnect the client so it re‑reads what’s available.
  • “Non‑HTTPS URLs are only allowed…” error. Your site isn’t on HTTPS — use the snippet with the --allow-http flag that the Settings > MCP screen provides.
  • 401 / authorization errors. The Application Password is missing or incorrect in your client config. Revoke it on the Settings > MCP screen, create a new one, and paste the fresh header into your client.
  • AI Dynamic Elements produce empty content. Configure an AI provider API key at Settings > Integrations (see the connect-ai prompt).

Published

Last Updated