# How to connect ChatGPT to your WordPress website

URL: https://yolo-plugin.com/learn/connect-chatgpt-to-wordpress/
Updated: 2026-11-21

> Add a WordPress MCP server with OAuth sign-in to ChatGPT as a custom MCP server, or use Codex with a key. Custom GPTs retire on 11 December 2026. Here are…

# How to connect ChatGPT to your WordPress website

Add a WordPress MCP server with OAuth sign-in to ChatGPT as a custom MCP server, or use Codex with a key. Custom GPTs retire on 11 December 2026. Here are all four routes, and where YOLO fits.

 9 min read · By the YOLO team
![YOLO Settings showing AI permissions, collaboration and recovery options](https://yolo-plugin.com/wp-content/uploads/2026/10/yolo-settings.webp)

To connect ChatGPT to a WordPress website, your site needs something ChatGPT can call: a REST API it reaches through a custom GPT’s actions, or an MCP server you add to ChatGPT as a custom app.

In November 2026 the second route is the one to plan around, because OpenAI is retiring custom GPTs on 11 December 2026 and ChatGPT’s custom MCP servers sign in with OAuth, so you need a WordPress plugin that offers an OAuth MCP connection.

If what you actually want is ChatGPT writing posts  *inside*  wp-admin, that’s a different job: a plugin that calls OpenAI with your own API key. This guide covers all four routes, what each one needs, and where YOLO for WordPress, the free plugin from the Code Snippets team, fits. OpenAI’s menus are changing quickly, so if a label doesn’t match what you see, look for the nearest equivalent.

## Four ways to connect ChatGPT to WordPress

People mean different things by “connect ChatGPT to WordPress”. Pick the route by what you want ChatGPT to do.

| Route | Where you work | What it needs | Status (checked November 2026) |
| --- | --- | --- | --- |
| Custom MCP server added to ChatGPT | A ChatGPT chat | A WordPress MCP plugin with OAuth sign-in, on a public HTTPS address | OpenAI’s current direction |
| Codex (ChatGPT desktop app, CLI or IDE) | Codex | An MCP server or REST API and a key, kept in an environment variable or a pasted prompt | Works today |
| Custom GPT with actions | A chat with that GPT | A REST API, an OpenAPI description and a key | Being retired on 11 December 2026 |
| ChatGPT inside WordPress | wp-admin | A plugin and your own OpenAI API key | Unaffected by the GPT changes |

The first three let ChatGPT or Codex act on your site: read pages, draft posts, change settings. The fourth puts OpenAI’s models inside WordPress, where they help you write but don’t run the site. If you also use Claude, the same ideas apply; see  [how to connect Claude to your WordPress website](https://yolo-plugin.com/learn/connect-claude-to-wordpress/) .

## Route 1: add a WordPress MCP server to ChatGPT

MCP (Model Context Protocol) is the open standard AI assistants use to call tools. A WordPress MCP plugin turns your site’s abilities (create a page, upload an image, list plugins) into tools ChatGPT can use. Our plain-English  [guide to WordPress MCP](https://yolo-plugin.com/learn/what-is-wordpress-mcp/)  explains the moving parts.

OpenAI’s developer docs (checked November 2026) describe the steps like this:

1. In ChatGPT on the web, open the Plugins page at chatgpt.com/plugins and choose the plus button, then  **Add custom MCP server** .
2. Give it a name and description, and enter your server’s public HTTPS address, which usually ends in `/mcp`.
3. Set up authentication, read the risk warning, confirm it, and create the server as a plugin.

Two details matter for WordPress. First, the address must be public: ChatGPT runs in OpenAI’s cloud, so it can’t reach  *localhost*  or a site on your home network. Second, authentication. OpenAI’s  [authentication guide](https://developers.openai.com/apps-sdk/build/auth)  says ChatGPT signs in to MCP servers with OAuth 2.1, or calls tools anonymously, and can’t present custom API keys. So the WordPress plugin must offer an OAuth sign-in, where you log in to WordPress and approve ChatGPT on a consent screen.

Which accounts can add a custom server depends on your account and workspace. In some workspaces, OpenAI’s docs say the permission to create plugins with MCP servers is off by default, so an admin may need to turn it on. If you don’t see the option, ask your admin before assuming something is broken.

### WordPress plugins that offer this (checked October and November 2026)

- **YOLO for WordPress** , ours, added OAuth sign-in for ChatGPT’s custom MCP servers and Claude’s custom connectors in version 0.98 (November 2026). The steps are  further down .
- **AI Engine**  by Meow Apps added an OAuth connector for Claude and ChatGPT during 2026, and a guided Connect card for Claude, ChatGPT and Claude Code in version 3.8.2 (September 2026). Its MCP server is in the free version.
- **WPVibe**  by SeedProd is an MCP plugin with page-builder support and approvals for destructive actions. It uses a hosted WPVibe service with a daily action allowance and paid plans, and it is listed in OpenAI’s plugin directory.
- **Novamira**  and  **Easy MCP AI**  also document ChatGPT connections over OAuth.

OAuth is convenient when it works, but it is also the most common source of support threads. “Works once, then fails with invalid_grant” and missing PKCE parameters both turn up on the plugin forums, and some hosts block the `/.well-known/` addresses OAuth relies on. Our guide to  [WordPress MCP connection errors](https://yolo-plugin.com/learn/wordpress-mcp-not-working/)  covers the usual fixes.

## Route 2: Codex in the ChatGPT desktop app

Codex is OpenAI’s coding agent, and you can open it in the ChatGPT desktop app as well as in the Codex CLI and the IDE extension. Unlike a ChatGPT chat, Codex can send a key. OpenAI’s docs say it can add a remote MCP server with a bearer token read from an environment variable, set in `~/.codex/config.toml`, a file the desktop app, CLI and IDE extension share. It can also call a REST API straight from a pasted prompt.

That makes Codex the practical route for WordPress MCP plugins that use keys or application passwords, and for working on a site from your own computer.

## Route 3: a custom GPT with actions (until 11 December 2026)

For the last few years, the standard way to give ChatGPT access to a website was a custom GPT. You describe your site’s REST API in an OpenAPI document, paste it into the GPT’s Actions settings, and add a key. ChatGPT then calls the API whenever the conversation needs it.

That route is closing. OpenAI’s  [custom GPT retirement FAQ](https://help.openai.com/en/articles/20001519-custom-gpt-retirement-and-migration-faq)  (checked November 2026) says:

- custom GPTs are scheduled to retire on  **11 December 2026** , with a later date only for some Enterprise workspaces with an approved deferral;
- new GPTs can no longer be made on many accounts, although existing GPTs still work and can still be edited;
- custom actions don’t transfer when a GPT is migrated to a plugin. They have to be rebuilt, for example as a custom MCP server.

So if you already have a GPT wired to your WordPress site, it keeps working for now, but plan its replacement. If you don’t have one, don’t start here.

Whatever route you use, the credential matters. A key or application password that ChatGPT holds can do whatever that WordPress user can do. Give it its own user or key with the narrowest role that does the job, test on a staging copy first, and treat the key like an admin password.

## Route 4: put ChatGPT inside WordPress with a plugin

Most of the older “ChatGPT WordPress plugin” results are about this: content generators, chat bots for visitors, and editor helpers. You paste an OpenAI API key into the plugin, and it calls OpenAI’s models from inside WordPress.

- **WordPress 7.0**  (May 2026) added a Connectors screen for AI provider keys, with an official provider plugin for OpenAI. Our explainer on  [WordPress 7.0’s AI features](https://yolo-plugin.com/learn/wordpress-7-ai-connectors/)  covers what it does and how to turn it off.
- **AI Engine**  is the best-known all-rounder: chat bots, content and image generation, forms and an editor assistant, using your own API keys.

This is a good fit if you want help writing. It isn’t the same as ChatGPT running your site: the AI works inside the screens the plugin gives it, and you still do the building.

## Where YOLO for WordPress fits with ChatGPT

YOLO lets the AI you choose build and run a self-hosted WordPress site through a key-protected REST API and an MCP server. Every change is recorded on  **YOLO → Activity**  and can be undone, and the riskiest abilities (writing code, installing plugins) stay off until you switch them on.

YOLO supports ChatGPT’s custom MCP servers with sign-in (OAuth), from YOLO 0.98: you approve ChatGPT in wp-admin, choose what it may do, and can end it at any time on  **YOLO → Set up** . Codex in the ChatGPT desktop app works with a key. These are the same steps as our help centre article,  [How do I connect ChatGPT?](https://yolo-plugin.com/help/how-do-i-connect-chatgpt/)

### Add YOLO to ChatGPT as a custom MCP server and sign in

1. In ChatGPT, open  **Plugins** , choose  **+** , then  **Add custom MCP server** .
2. Paste your site’s MCP address: `https://YOUR-SITE/wp-json/yolop/v1/mcp` ( **YOLO → Set up**  shows it with a Copy button).
3. Choose  **OAuth** .
4. Your site opens in the browser: sign in to WordPress if asked, check it says ChatGPT, tick what it may do and choose  **Allow** . It switches on after a moment.

![YOLO → Set up in WordPress, where you choose your AI, its permissions and how it connects](https://yolo-plugin.com/wp-content/uploads/2026/10/yolo-connect.webp)
YOLO → Set up in WordPress, where you choose your AI, its permissions and how it connects

**Good to know:**

- Signing in needs YOLO 0.98 or later, and a site that can be reached on the internet. A site on  *localhost* , or one only on your own network, can’t be.
- Your site must use pretty permalinks (any setting in  **Settings → Permalinks**  except Plain).
- You choose how long a sign-in lasts on  **YOLO → Set up** : until you revoke it (it ends after 30 days unused), or for 30 or 90 days. You can end it there at any time.
- If your site is behind Cloudflare with  **Bot Fight Mode**  or a challenge on, it can block ChatGPT’s and Claude’s servers.  **YOLO → Set up → Check sign-in from outside**  shows whether that’s happening. The fix is a WAF skip rule for `/wp-json/yolop/` and `/.well-known/oauth-*`.
- Codex still works with a key, as below.

### Or use Codex in the ChatGPT desktop app

1. Go to  **YOLO → Set up** , choose  **ChatGPT & Codex** , choose permissions and generate a key.
2. Choose  **Copy a prompt for Codex** , open Codex in the ChatGPT desktop app (or Codex CLI or the IDE extension) and paste it. If Codex asks before calling your site, allow it.

**Or add it to Codex’s config:**  choose  **Add to Codex’s config** , paste the copied lines into `~/.codex/config.toml`, set the environment variable named in them (for example `YOLO_KEY_EXAMPLE_COM`) to your site’s YOLO key, and restart Codex or the ChatGPT app. The desktop app, Codex CLI and the IDE extension share that file. Each site gets its own entry, so you can add several, and the copied text shows how to set the variable on macOS, Windows and Linux.

### A custom GPT you already have

A custom GPT you already have keeps working until OpenAI retires custom GPTs on 11 December 2026 (some Enterprise workspaces have until 11 February 2027). After that, use one of the routes above.

Using Claude as well? It signs in the same way, as a custom connector: see  [how to connect Claude to your WordPress website](https://yolo-plugin.com/learn/connect-claude-to-wordpress/) . Other tools:  [How do I connect another AI (MCP or REST)?](https://yolo-plugin.com/help/how-do-i-connect-another-ai-mcp-or-rest/)

## Keep ChatGPT’s changes safe and undoable

Whichever plugin you choose, a few habits make an AI on a live site much less nerve-racking:

- **Start read-only.**  In YOLO that is the  **Look & suggest**  level, which reads your site and proposes changes without making edits.
- **One key per assistant** , so you can tell which AI made a change and revoke one without touching the others.
- **Back up before anything big.**  YOLO keeps local backups on your own server; off-site copies are part of YOLO Cloud.
- **Undo promptly.**  YOLO’s undo reverts the AI’s change from its snapshot. It refuses if someone has since edited the same item through YOLO, but it can’t see edits made by hand in the WordPress editor, so check the page afterwards if a person has touched it.

![YOLO Settings in WordPress, with the site-wide AI permission switches for writing code and installing plugins](https://yolo-plugin.com/wp-content/uploads/2026/10/yolo-settings.webp)
YOLO Settings in WordPress, with the site-wide AI permission switches for writing code and installing plugins

**Tip:**  keys sitting in URLs or public indexes have caused real incidents with WordPress MCP plugins. Wherever your key lives, keep it out of pages, public chats and code repositories.

Our checklist,  [Is it safe to let AI edit your live WordPress website?](https://yolo-plugin.com/learn/is-ai-safe-for-wordpress/) , goes further.

## The short version

- **Want ChatGPT to run your site from a chat?**  Add a WordPress MCP server with OAuth sign-in to ChatGPT as a custom MCP server. YOLO (0.98 or later), AI Engine and WPVibe all support this.
- **Prefer a key?**  Use Codex in the ChatGPT desktop app: paste a ready-made prompt or add the server to `~/.codex/config.toml`.
- **Have a custom GPT already?**  It works until 11 December 2026. Plan its replacement now.
- **Want ChatGPT inside wp-admin for writing?**  Use a plugin with your own OpenAI key, or WordPress 7.0’s Connectors.
- **Want undo, scoped keys and Protect?**   [Install YOLO](https://yolo-plugin.com/get-started/) , free, and connect ChatGPT, Codex, Claude, Cursor or VS Code today.

## Questions about this

 Can ChatGPT connect to WordPress?+

Yes. ChatGPT can call a WordPress MCP server added as a custom MCP server, as long as the plugin offers OAuth sign-in and the site is on a public HTTPS address. Older setups use a custom GPT with actions, which OpenAI retires on 11 December 2026.

Can I still use a custom GPT with my WordPress site?+

An existing one, yes, until OpenAI retires custom GPTs on 11 December 2026 (some Enterprise workspaces have until 11 February 2027). OpenAI has already stopped new GPTs on some accounts, so for a new connection use a custom MCP server or Codex.

Does a normal ChatGPT chat connect to my website?+

Not on its own. A plain conversation can't make requests to your site until you add a custom MCP server in ChatGPT. Codex in the ChatGPT desktop app, or an existing custom GPT with actions, also work.

Is it safe to give ChatGPT admin access to WordPress?+

Treat the key or sign-in like an admin password. Give the AI only the permissions it needs, try it on a staging copy first, take a backup before big changes, and use a plugin that records changes so you can undo them.

Does YOLO work with ChatGPT?+

Yes. From YOLO 0.98 you add YOLO to ChatGPT as a custom MCP server and sign in to your site with OAuth, with no key to copy. Codex in the ChatGPT desktop app works with YOLO's ready-made prompt or a config file, and an existing custom GPT works until OpenAI retires them on 11 December 2026.

## Keep reading

[All guides →](https://yolo-plugin.com/learn/)

  [### How to add pop-ups and banners to your WordPress website (that people don't hate)

Pick the quietest format that works, show it at the right moment, cap how often it appears, and only count down to a real deadline. Here is how, plus a free way to do it in WordPress.

How-to guides · 8 min read](https://yolo-plugin.com/learn/pop-ups-and-banners-for-your-wordpress-website/)  [### How to make an explainer video for your website (without Vyond)

Write a short script, split it into scenes, add a calm voice, captions and your brand colours, and make a wide and a tall copy. Here is how, and a free way to do it on your own WordPress site.

How-to guides · 8 min read](https://yolo-plugin.com/learn/make-an-explainer-video-for-your-website/)  [### How to edit an Elementor page without opening Elementor

Change words, pictures and links on an Elementor page right on the page, and leave design to Elementor. What is safe to change that way, what to lock, and a free way to do it on WordPress.

How-to guides · 5 min read](https://yolo-plugin.com/learn/edit-elementor-page-without-elementor/)

Give your AI the keys.

The plugin is free and runs on your own server. YOLO Cloud is free to start.

  [Get started free](https://yolo-plugin.com/get-started/)  [Create a Cloud account](https://yolo-plugin.cloud/)