How to Connect ChatGPT to a Self-Hosted WordPress Site

ChatGPT’s ability to use external tools through connectors makes it a powerful assistant for WordPress management — if you have the right bridge in place. With MCPWP installed on your self-hosted WordPress site, you can give ChatGPT the ability to create content, manage pages, and interact with your site’s data through a secure, scoped connection.

Prerequisites

  • A self-hosted WordPress site (WordPress.com hosted sites have restrictions that may limit plugin installations)
  • Admin access to install plugins and manage settings
  • A ChatGPT account with access to connectors or custom GPT tools

Step 1: Install MCPWP on Your WordPress Site

Download and install the MCPWP plugin from mcpwp.net/download. After activation, go to Settings > MCPWP to find your MCP endpoint URL. It will look like:

https://yourwordpresssite.com/wp-json/site-pilot-ai/v1/mcp

This is the URL you’ll provide to ChatGPT’s connector configuration. Make sure your site is accessible over HTTPS — ChatGPT requires a valid SSL certificate to connect.

Step 2: Generate an API Key

In the MCPWP dashboard, generate an API key with the appropriate scope. For most ChatGPT use cases, an Editor scope key is a good starting point — it allows content creation and updates without giving access to sensitive site settings.

Give the key a descriptive name like “ChatGPT Connector” so you can identify and revoke it later if needed. Write down the key value somewhere secure before closing the dialog.

Step 3: Configure ChatGPT’s MCP Connector

In ChatGPT, navigate to the connectors or tool configuration section. Provide the following details:

  • Name: My WordPress Site (or your site’s name)
  • Endpoint URL: Your MCPWP MCP endpoint URL
  • Authentication: Header-based — set X-API-Key to your generated API key

Save the configuration and allow ChatGPT to discover the available tools from your WordPress site.

Step 4: Test the Connection

Start a new ChatGPT conversation and ask it to use your WordPress connector. A simple test is: “Using my WordPress site, list the five most recent posts.”

ChatGPT will call the wp_list_posts tool on your site and return the results. If you see your actual posts listed, everything is working correctly.

What ChatGPT Can Do With Your WordPress Site

Once connected, ChatGPT can handle a wide range of WordPress operations through natural language:

  • Create and publish blog posts with proper formatting
  • Update page content and metadata
  • Search your content library and find posts matching specific criteria
  • Audit pages for SEO issues and missing elements
  • Upload and attach media to posts
  • Manage categories and tags

Security Considerations

When connecting any external AI tool to your WordPress site, use the minimum permission scope necessary. MCPWP’s role-scoped API keys ensure ChatGPT can only perform the operations you’ve authorized. Monitor usage in the MCPWP audit log and revoke keys immediately if you notice unexpected activity.

Never use an Admin-scoped key for routine content tasks — an Editor or Author scope is safer and limits exposure if the key were ever compromised.

Start Managing WordPress with ChatGPT

Connecting ChatGPT to your self-hosted WordPress site is straightforward with MCPWP. Install the plugin, generate a key, configure the connector, and you’re ready to manage your site through conversation.

Download MCPWP today and get your first ChatGPT connection running in under ten minutes.

Ready to Automate Your WordPress?

Let AI handle your content, SEO, and site management.

Get Started Free