Quick Answer
To connect Claude or ChatGPT to WordPress, your site has to act as an MCP server (Model Context Protocol), and the AI app has to be pointed at it. Which route you take depends on where the site lives.
- WordPress.com site: use the built-in WordPress.com connector in Claude or the WordPress plugin in ChatGPT. No WordPress plugin to install.
- Self-hosted site, no code: install an MCP plugin, copy its MCP URL, and add it as a custom connector in Claude or ChatGPT.
- Self-hosted site, developer route: install the official WordPress MCP Adapter and connect Claude Desktop or Claude Code.
- Whatever you pick: start read-only, use a low-permission user, and test on staging first.
Ways to Connect Claude or ChatGPT to WordPress
| Method | Works with | Best for | Setup effort |
|---|---|---|---|
| WordPress.com connector | Claude, ChatGPT, Claude Code, Cursor, Codex | Sites hosted on WordPress.com | Low |
| MCP plugin with OAuth (AI Engine, Easy MCP AI, Royal MCP and similar) | Claude and ChatGPT custom connectors | Self-hosted sites, no coding | Low to medium |
| Official WordPress MCP Adapter | MCP clients, especially local ones like Claude Desktop and Claude Code | Developers who want to choose exactly what is exposed | Medium to high |
| REST API with an application password | Custom GPT Actions, scripts, local tools | People comfortable with API schemas | Medium |
| AI plugin with your own API key | Claude or OpenAI models used inside WordPress | Adding AI features (chatbot, writing tools) to your site | Low |
The last row is a different direction. The first four let Claude or ChatGPT reach into WordPress and work on it. The last one puts an AI model inside WordPress.
What MCP Means for WordPress
MCP is an open standard that lets an AI app call tools on another system. For WordPress, those tools are things like listing posts, creating a draft, or updating a page.
WordPress has an official piece for this. The WordPress MCP Adapter bridges the Abilities API to MCP, so MCP clients can discover and run abilities that WordPress core, plugins, and themes expose. The older Automattic/wordpress-mcp repository is marked deprecated in favor of the adapter. The WordPress developer blog and the Learn WordPress lesson explain how it works.
One point matters for everything below. The adapter is a bridge, not an automatic grant of every WordPress action. What the AI can do depends on which abilities your site exposes and what permission checks they have.
How to Connect Claude to WordPress.com
If your site is on WordPress.com, this is the shortest path. WordPress.com has a built-in MCP server with OAuth sign-in, covered in its MCP documentation.
- In your WordPress.com account, turn on MCP access and choose which tools to expose.
- In Claude, open Customize → Connectors and find WordPress.com.
- Click Connect and sign in to WordPress.com.
- Choose Read only or Full access, then approve.
Pick read-only first. You can switch to full access once you trust what it does. The step-by-step page is WordPress.com: connect Claude.
WordPress.com's documentation says MCP is included on paid plans. It also says free sites and Jetpack-connected self-hosted sites are allowed through November 30, 2026, so check eligibility after that date.
How to Connect ChatGPT to WordPress.com
ChatGPT uses an installed plugin instead of a custom connector. Here "plugin" means the integration inside ChatGPT, not a ZIP file you upload to WordPress.
- In ChatGPT, find the official WordPress plugin.
- Select Install plugin.
- Sign in to WordPress.com, choose the access level, and approve.
- In a chat, type
@WordPressto use it.
The full steps are in WordPress.com: connect ChatGPT. WordPress.com's connector overview adds that you inherit your WordPress user role, so the AI cannot do more than your account can.
How to Connect Claude Code to WordPress.com
Claude Code connects to the same WordPress.com server from the terminal. The WordPress.com MCP docs list the server URL https://public-api.wordpress.com/wpcom/v2/mcp/v1. Add it with:
claude mcp add --transport http wpcom-mcp https://public-api.wordpress.com/wpcom/v2/mcp/v1Then run /mcp inside Claude Code to sign in. The same page also covers ChatGPT, Codex, and Cursor, which can use the same server.
Claude WordPress MCP for Self-Hosted Sites: Use an MCP Plugin
If you run your own WordPress install, an MCP plugin is the easiest way in. These plugins turn your site into an MCP server and let Claude or ChatGPT sign in with OAuth. Several are listed in the WordPress.org directory:
- AI Engine by Meow Apps. Its free version includes an MCP server and OAuth sign-in.
- Easy MCP AI. Has Connect buttons for Claude and ChatGPT on its dashboard.
- Royal MCP. Supports OAuth 2.1.
- Agent Abilities for MCP. Advertises a pause switch, read-only mode, drafts you approve, and an audit log.
- Secure MCP Server, Llamly, and WSP MCP are other directory options.
Plugin names, menus, and features change often, so check each plugin's page before you install. Use only plugins you trust, because each one opens your site to an AI agent.
General setup steps
- In WordPress, go to Plugins → Add New, then install and activate the plugin.
- Enable only the capabilities you need, such as reading posts or creating drafts.
- Copy the MCP server URL the plugin gives you.
- Add that URL as a custom connector in Claude or ChatGPT (steps below).
- Sign in to WordPress when asked and approve access.
For AI Engine, the plugin's documentation lists this manual endpoint:
https://YOUR-DOMAIN.com/wp-json/mcp/v1/httpAdd the connector in Claude
In Claude, open Customize → Connectors → Add custom connector, paste the MCP URL, and finish sign-in. Claude connects from the cloud, so the site needs HTTPS and must be reachable from the internet. Anthropic's guide, Get started with custom connectors using remote MCP, covers plan differences and network requirements.
Add the connector in ChatGPT
In ChatGPT, open the app or connector settings, turn on Developer Mode if it asks, create a custom MCP server, paste the URL, choose OAuth, and authorize WordPress. ChatGPT may show a warning for custom servers. OpenAI's custom MCP server guide says full custom-MCP support is limited to Business and Enterprise/Edu plans, and Pro custom connections are read and fetch only. Check that page for your plan before you start.
Connect Claude Code or Claude Desktop With the Official MCP Adapter
The official adapter is the developer route. The WordPress.org lesson calls it an official WordPress plugin that exposes site capabilities to external AI agents. The setup walkthrough on DEV follows these steps:
- Install the MCP Adapter on the site. You can install it from Plugins → Add New or with WP-CLI:
wp plugin install mcp-adapter --activate. - Mark an ability as public for MCP. The adapter only exposes abilities that are registered for it.
- Know the default endpoint. The adapter's default server endpoint is:
https://YOUR-DOMAIN.com/wp-json/mcp/mcp-adapter-default-server- Create an application password for a dedicated user (see the next section).
- Point your client at it. Claude Code and Cursor are covered in the walkthrough. Claude Desktop needs a config file edit.
The adapter needs WordPress 6.9 or later and application passwords. InstaWP's comparison guide notes that it works best with local clients such as Claude Desktop and Claude Code, which connect through a local proxy. It also says it currently lacks the OAuth sign-in step that Claude on the web and ChatGPT need, so use a plugin from the section above for those.
Connect ChatGPT to WordPress With the REST API and an Application Password
You do not always need MCP. WordPress has a built-in REST API, and you can give ChatGPT a Custom GPT Action that calls it. This suits people who are comfortable with API schemas, and it is the closest thing to "integrate ChatGPT into WordPress" without a plugin.
- In WordPress, go to Users → Profile → Application Passwords, name it (for example "ChatGPT"), and create it. Copy the password. You will not see it again.
- In ChatGPT, go to Explore GPTs → Create → Configure.
- Under Actions, create a new action and choose Basic authentication. Enter the WordPress username and the application password.
- Paste an OpenAPI schema for only the endpoints you want, such as
/wp-json/wp/v2/posts, with your site as the server. - Test with: "Create a draft post titled 'Hello from AI' with brief placeholder text." Then check that the draft shows up in WordPress.
Application passwords can be revoked on their own without changing your main login, which is why they beat sharing a normal password. ChatGPT's Custom GPT features and plan requirements change, so confirm them in OpenAI's current documentation.
Add ChatGPT or Claude Inside WordPress With an API Key
This is the other meaning of "add ChatGPT to WordPress." Instead of controlling your site from a chat app, you run an AI model inside it, for a chatbot, writing tools, or automations.
- Get an API key from the Anthropic Console for Claude or the OpenAI Platform for ChatGPT models.
- Install a plugin that supports your provider. AI Engine supports both OpenAI and Anthropic models.
- Paste the key into the plugin's settings, then use its chatbot, content tools, or automations.
API usage is billed by the provider, separate from your ChatGPT or Claude subscription.
Security: Connect Safely
An AI with write access to your site can change or delete real content. Treat the connection like giving access to a new team member.
- Use a dedicated WordPress user with the lowest role that does the job. An Editor or Author is usually enough for content work. An Administrator is rarely needed.
- Use application passwords, not your login. Name one per tool so you can revoke it alone.
- Start read-only. WordPress.com and several plugins offer read-only modes. Move to drafts, then to publishing.
- Require approval before publishing, deleting, changing settings, or editing orders.
- Test on staging before granting write access to production, and take a backup first.
- Never leave an unauthenticated MCP endpoint open.
- Review enabled tools regularly and remove connections you no longer use.
A good first test, once connected: "List the WordPress tools you can access, then show my five most recent posts. Don't change anything." Then try: "Create a draft post titled 'Connection test.' Do not publish it."
If You Need a New Site, Not a Connection to an Old One
Everything above is for a site that already exists. If you want Claude or ChatGPT to create a whole WordPress site from scratch, that is a different job. See how to create a WordPress website with Claude and how to create a WordPress website with ChatGPT.
1ClickWebsite has its own MCP server at https://www.1clickwebsite.ai/api/mcp that works with ChatGPT, Claude, Cursor, Codex, and Claude Code. It works with your 1ClickWebsite account, to create websites and edit the finished V2 sites there. It is not a connector for WordPress sites hosted elsewhere, so use the methods above for those.
FAQ
Can Claude connect to any WordPress site?
Not out of the box. The site must expose an MCP server, through WordPress.com, an MCP plugin, or the official MCP Adapter. For Claude on the web, the site also needs to be reachable over HTTPS from the internet.
Do I need a plugin to connect ChatGPT to WordPress?
Not on WordPress.com, where you install the WordPress plugin inside ChatGPT. On a self-hosted site you need either an MCP plugin on WordPress or a Custom GPT Action that calls the REST API with an application password.
What is the difference between MCP and the WordPress REST API?
The REST API is WordPress's standard way to read and write content over HTTP. MCP is a layer that presents tools to an AI app in a form it understands. MCP plugins and the adapter sit on top of WordPress features, so the AI gets a list of tools instead of raw endpoints.
Can Claude Code work with WordPress?
Yes. Claude Code can connect to the WordPress.com MCP server with the claude mcp add command above, or to a self-hosted site through the MCP Adapter with an application password.
Is it safe to connect Claude or ChatGPT to my site?
It can be, if you limit it. Use a low-permission user, application passwords, read-only mode first, approval for risky actions, and a staging copy. The AI can only do what the connected user and exposed tools allow.
Which method should I pick?
On WordPress.com, use the official connector. On a self-hosted site, use an MCP plugin if you want Claude on the web or ChatGPT, and the official adapter if you are a developer working from Claude Code or Claude Desktop.
Sources and Review Notes
This guide was informed by an LLM Sleuth research run on November 23, 2026; product claims were checked against the pages below.
- WordPress.com MCP Server documentation
- WordPress.com: connect Claude
- WordPress.com: connect ChatGPT
- WordPress MCP plugin/connector overview (Automattic)
- WordPress/mcp-adapter on GitHub
- Introducing the WordPress MCP Adapter (WordPress developer blog)
- Learn WordPress: The MCP Adapter
- Anthropic: custom connectors using remote MCP
- OpenAI: connecting custom MCP servers in ChatGPT
- AI Engine, Easy MCP AI, Royal MCP, Agent Abilities for MCP on WordPress.org
- InstaWP: connect Claude with WordPress
- DEV: WordPress MCP Adapter with Claude Code and Cursor
- 1ClickWebsite MCP server docs