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
  • MCP Adapter Plugin 0.7.0 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.

Info icon

Before configuring Page Generator Pro, you must install and activate the MCP Adapter Plugin from WordPress.

  1. Go to Page Generator Pro > Settings, and click the MCP tab.
  2. If a message is displayed stating that the MCP Adapter Plugin needs to be installed or activated, click the button and follow the steps.
  3. Tick/check the Enable MCP Server option, and click Save
    Page Generator Pro: MCP: Enable
  4. Click Create Application Password
    Page Generator Pro: MCP: Create Application Password
  5. 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: AI Client Configuration

Claude Desktop

  1. Go to Settings > Connectors
    Page Generator Pro: MCP: Claude Desktop: Connectors
  2. Click Add > Add custom connector
    Page Generator Pro: MCP: Claude Desktop: Add Custom Connector
  3. Enter a name (such as your web site name or Page Generator Pro), and the Server URL as shown on Page Generator Pro > Settings > MCP.
    Page Generator Pro: MCP: Claude Desktop: Add Custom Connector Form
  4. Click Continue. After a few moments, warnings will display
    Page Generator Pro: MCP: Claude Desktop: Add Custom Connector Errors
  5. Select No sign-in
    Page Generator Pro: MCP: Claude Desktop: Authentication Method
  6. Click Add header, select authorization and enter the Authorization header shown at Page Generator Pro > Settings > MCP (Basic XXXXXXX)
    Page Generator Pro: MCP: Claude Desktop: Request Headers
  7. Click Add
  8. Click Connect
    Page Generator Pro: MCP: Claude Desktop: Connect
  9. After a few moments, you’ll see the MCP connection listed.

Once connected, you must:

  1. Restart Claude Desktop

Start a new chat and confirm the MCP server can read the Plugin’s Content Groups

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

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"

ChatGPT

  1. Go to Settings > Integrations > Plugins
    Page Generator Pro: MCP: ChatGPT Codex: Integrations: Plugins
  2. Click Add > Add MCP Server
    Page Generator Pro: MCP: ChatGPT Codex: Add MCP Server
  3. Enter a name (such as your web site name or Page Generator Pro MCP), and the URL as shown on Page Generator Pro > Settings > MCP.
  4. Click Add header, select authorization and enter the Authorization header shown at Page Generator Pro > Settings > MCP (Basic XXXXXXX)
  5. Click Save
  6. After a few moments, you’ll see the MCP connection listed under the MCPs tab
    Page Generator Pro: MCP: ChatGPT Codex: Connected

Once configured, you must:

  1. Restart the ChatGPT app
  2. Select Codex in the ChatGPT app
    Page Generator Pro: MCP: ChatGPT: Select Codex
Info icon

Failure to select Codex above will result in the MCP connection not working.

Start a new chat and confirm the MCP server can read the Plugin’s general settings

Page Generator Pro: MCP: ChatGPT: Test

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"
            }
        }
    }
}

Other clients

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

  • Server URL — https://www.example.com/wp-json/page-generator-pro/mcp/v1
  • Authorization header — Basic 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

Info icon

ChatGPT users: you must select Codex on the top left corner and start a new session in Codex. Starting a new session in ChatGPT won’t discover the MCP server.

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

npx is not recognized / spawn npx ENOENT

Node.js isn’t installed, or isn’t on your PATH. Install Node.js, open a new terminal and confirm npx -v returns a version, then fully restart Claude Desktop. Alternatively, use the “No Node.js? Connect directly” method above.

“Couldn’t reach [server]” / connection fails on a direct custom connector

Claude’s custom connector may be attempting an OAuth sign-in rather than sending your Authorization header (a current limitation). Use the mcp-remote method for Claude Desktop, or confirm the header is being sent for other clients.

Confirm the WordPress REST API is reachable by loading https://your-site.com/wp-json/ in a browser — it should return JSON. If it’s blocked, any firewall, WAF, security plugin or caching layer must be configured to allow access to the MCP endpoint.

Non-HTTPS (local/staging) sites

mcp-remote refuses non-HTTPS URLs unless the --allow-http flag is present. The plugin adds this flag automatically when your site isn’t served over HTTPS; it isn’t needed on a live HTTPS site.

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

Start building unique pages today

Join the agencies, marketers and local businesses who’ve generated over a million pages — and now build them just by describing what they want.