Short answer: a WordPress MCP server is a part of your site that lets AI apps like Claude, ChatGPT, Gemini and Cursor use your site directly. They can read your products and orders, write a draft, update SEO fields or run a report. You set it up with a plugin in about 15 minutes. The part that deserves your time is deciding what the AI may touch, and checking that the server actually enforces it.
Every AI app I use can write a product description. Until recently, none of them could save one. They drafted it. I copied it. I opened wp-admin, pasted it and clicked Update. Then I did it again for the next product.
MCP fixes that. And it opens a new question: if the AI can save a product description, what else can it change?
This guide covers both halves. What a WordPress MCP server is. How to set one up and connect each major AI app. How to test it from the terminal. And how to keep it safe on a live site, with five checks you can run on any server, ours or someone else’s.
I tested everything here on a demo store, Ember & Leaf Coffee Co., a fictional coffee subscription shop running WordPress 7.1.4, WooCommerce 11.3.1 and AI Gateway PRO 1.0.6. The customers are made up. The tool calls and screenshots are real.
Get AI Gateway free, or read on first.
What is a WordPress MCP server?
MCP (Model Context Protocol) is the standard way AI apps connect to other software. A WordPress MCP server publishes a list of tools from your site, like “get orders” or “update product”. An AI app reads that list, picks the tool it needs, and calls it. Your site runs the tool and sends back the result.

Think of it as a menu. Your site hands the AI a menu of things it may do. The AI orders from the menu. It can’t order what isn’t on it.
MCP in plain words
Three pieces work together:
- The client is the AI app: Claude, ChatGPT, Cursor, Gemini, Claude Code.
- The server is your WordPress site, through a plugin.
- The tools are the actions the server offers. Each one has a name, a description and the inputs it accepts.
The client signs in, asks for the tool list, and calls tools when your question needs them. You ask “which renewals failed this week?” and the AI calls the orders tool with status=failed. You never see the plumbing unless you want to.
Why it matters for WordPress and WooCommerce
Before MCP, getting AI help with a WordPress site meant copy and paste. Export a CSV. Paste it into a chat. Paste the answer back. The data was stale before you finished.
With an MCP server, the AI works on the live site. It reads the real stock level, not last week’s export. It can save the draft it wrote. On a store, that means questions like “which products are low on stock and selling fast?” get a real answer in one message.
It also means a confident wrong answer can now change your store. Keep that in mind. We’ll come back to it.
The WordPress pieces: Abilities API and MCP Adapter
WordPress has official building blocks for this now:
- The Abilities API, in core since WordPress 6.9, lets plugins register “abilities”: named actions with inputs, outputs and a permission check.
- The MCP Adapter is the official plugin that turns those abilities into MCP tools. Its README says abilities are “private by default”, so nothing is exposed until a plugin marks it public.
Plugins like AI Gateway build on top of the Adapter. They add the abilities (the actual tools), a way for AI apps to sign in, and controls over who can call what.

Most guides cover the first layer and stop. The third layer is where a live site lives or dies.
Try this: write down three jobs you’d hand an AI on your site if you trusted it. Keep the list. You’ll use it to set permissions later.
What you can do with a WordPress MCP server
The honest answer is “whatever the tools allow”. So the tool list matters more than the brand name on the plugin. Here is what a full set covers on a WooCommerce store.
Content and SEO
Read, draft and update posts and pages. Write SEO titles and meta descriptions for Yoast, Rank Math, AIOSEO or SEOPress. Read Google Analytics 4 and Search Console reports through Site Kit. All of that is in AI Gateway’s free plugin, according to the product page.
More on bulk SEO work: Bulk SEO Titles and Meta Descriptions for WooCommerce Products With AI.
Store operations
Products, stock, orders, coupons. “Show me failed renewal orders” turns into one tool call:

PRO adds bulk edits that preview first, capped at 500 products per call, for prices, stock, status and category. More on that: AI for WooCommerce Store Operations and Restock and Reprice a Whole WooCommerce Category in One Sentence.
Customers, subscriptions and reports
With WooCommerce Subscriptions, PRO adds subscription health, at-risk subscriptions, retention cohorts and payment retry reports. On the demo store, one question about at-risk subscriptions returned this:

That’s a to-do list, built from live data, in one message. The full CRM walkthrough is in Your WooCommerce Store as an AI CRM.
Site administration
Read plugins, themes, settings and site status. With the right permission, change settings. PRO can also change tax rates, payment gateways and shipping classes. I’d keep those behind write switches you turn on one at a time. More: Letting AI Change WordPress Settings Without Breaking Your Site.
Try this prompt:
List every tool you can use on my site, grouped by area. Mark which ones only read and which ones can change something.
How to set up a WordPress MCP server, step by step
This is the AI Gateway setup. Other plugins differ in the details, but the shape is the same: install, decide access, copy one URL.
You will have: an MCP server on your own domain that one AI app can use, limited to what you allowed.
Time: about 15 minutes.
You need: WordPress 6.9 or newer, PHP 7.4 or newer, and HTTPS on the site.
Step 1: Install AI Gateway and the MCP Adapter
Install and activate AI Gateway. WordPress offers to install the official MCP Adapter plugin, which AI Gateway builds on. Accept it.
Then open 1TeamSoftware → AI Gateway → Connection and scroll to Status. Every line should be green.

On the demo store: HTTPS on, publicly reachable, MCP Adapter active, Abilities API available, 236 abilities discovered. That last number counts every ability on the site, including PRO ones and other plugins’ abilities. What an AI app actually sees depends on the next two steps.
Step 2: Turn on a role for MCP
Go to Access & Roles. Turn on the role your AI app will sign in as, then click Save Changes.
A tip: don’t use your own administrator account for day-to-day AI work. AI Gateway creates an “MCP Bot” role on activation, or you can make your own. Give that role to a separate WordPress user, and sign in as that user when you approve the app. Either way, the AI gets exactly that role’s access and nothing more.
Step 3: Choose what the role can see and change
Go to Permissions. Every area of the site (products, orders, posts, settings and so on) gets up to three switches: Read, Write and Delete. The free plugin has 41 areas. PRO adds 6.

Everything starts off. The Default tab is a deny-all baseline that roles inherit. Here is part of one role’s tab, where only read on products is turned on:

For a first connection, pick your role’s tab first, then click All read-only. Setting it on Default would open read access for every role that inherits it. Add write switches later, one at a time, for the jobs on your list.
Step 4: Copy the MCP Server URL
Go back to Connection. Copy the MCP Server URL. Below it are step-by-step guides for ChatGPT, Claude.ai, Claude Desktop, Cursor and AI coding agents.

Each guide has a tag on the right. It tells you whether that app needs your site to be public on the internet. That matters more than people expect, so there is a section on it below.
Step 5: Connect an AI app and approve it
Paste the URL into your AI app (details for each app below). The app opens a consent screen on your own site. It looks like this:

Read it. It names the app, says where it will send you back to, and warns when the app registered itself and isn’t verified by your site. You can untick any permission you don’t want to grant. Then click Authorize.
Done. Ask the app something simple, like “How many products do I have?”
Try this: connect once with All read-only, ask five questions and compare the answers with what you see in wp-admin. Get a feel for what the AI does before you give it write access.
Connecting each AI app
All apps use the same MCP Server URL. They differ in one thing: where they connect from.

ChatGPT
ChatGPT connects from OpenAI’s servers. First turn on Developer mode in ChatGPT’s settings. Then add your site as a custom MCP server and paste the URL. Your consent screen opens. On a private or local site, OpenAI’s Secure MCP Tunnel lets ChatGPT reach it without exposing it.
Full walkthrough: How to Connect ChatGPT to WordPress (and WooCommerce) with MCP.
Claude (claude.ai, Desktop and Claude Code)
In claude.ai or Claude Desktop, go to Settings → Connectors → Add custom connector, paste the URL and click Add. Claude’s connectors call your site from Anthropic’s servers, so your site needs a public https:// address. For a local site, the Connection tab shows a Cloudflare Tunnel command. Claude Code runs on your computer and needs no tunnel.
Full walkthrough: How to Connect Claude to WordPress and WooCommerce.
Cursor and coding agents
Cursor runs on your machine. Click Copy Cursor config on the Connection tab and paste it into ~/.cursor/mcp.json. For Claude Code, Windsurf and similar agents, click Copy agent prompt and paste it into the agent. It registers the server and signs itself in, and the prompt tells it not to change any WordPress settings while doing so.
Full walkthrough: Cursor, Claude Code and Coding Agents on a WordPress Site.
Gemini
Gemini CLI can add an HTTP MCP server with gemini mcp add. Check Google’s Gemini CLI docs for the current flags. It’s not in the Connection tab’s list of guides yet, but the URL is all it needs.
n8n and other MCP clients
Any client that speaks MCP over HTTP with OAuth works. The product page lists n8n among supported clients. For testing, I use mcpc, a command-line client. That’s next.
Try this prompt (in any app, once connected):
Before we start: which parts of my site can you read, and which can you change? Answer from your tool list, not from guesses.
Testing your WordPress MCP server from the terminal
You don’t need a chat app to check that a server works. A chat app hides the raw answers, which is the opposite of what you want when you’re testing. I use mcpc, a free command-line MCP client from Apify. It runs the OAuth sign-in and keeps a named session.
Sign in and list tools
npm install -g @apify/mcpc
mcpc login https://your-store.example/wp-json/ai-gateway/mcp --profile mystore
mcpc connect https://your-store.example/wp-json/ai-gateway/mcp @mystore --profile mystore
mcpc @mystore tools-list
On the demo store, with a role that has read on everything and write on one area (subscribers), the list looked like this:

111 tools, and 108 of them read-only. The three write tools are all subscription tools, and this role has write on subscribers and nowhere else. The role shapes the list.
Call a read-only tool
mcpc @mystore tools-call 1teamsoftware-ai-gateway-get-site-info

WordPress returns the site name HTML-encoded, so the ampersand shows up as an entity.
The full tutorial, with scripting and JSON output: How to Test Any WordPress MCP Server from the Terminal with mcpc.
Try this: run tools-list twice, once signed in as an administrator and once as a low role. If the lists are the same, the server ignores roles.
Security: what to check before you connect a live site
One thing kept bugging me about most “connect AI to WordPress” guides: they ended with one token that could do everything. On a live store, that’s one wrong answer away from repricing the catalogue.
So here are the five checks I run on any WordPress MCP server. They take ten minutes.

Check 1: no token, no data
Call the endpoint with no credentials. It should refuse.

A 401 and a WWW-Authenticate header pointing at the sign-in metadata. That’s correct. If you get data back, stop.
Check 2: the role limits the tools
I asked the demo connection to change a product price. The role has read on products, not write.

Refused, with a clear reason. Nothing changed. In normal use, a client wouldn’t even see that tool, because it isn’t on this role’s list. I called it by name on purpose to prove the server checks anyway.
Check 3: real sign-in, not a pasted password
Look at how apps sign in. AI Gateway publishes standard OAuth discovery documents, so clients find the sign-in endpoints on their own:

OAuth 2.1 with PKCE, S256 only. Access tokens expire after one hour. Secrets are stored as SHA-256 hashes. And no Application Password or API key gets pasted into a third-party tool. Each scope maps to one cell of the permission matrix: mcp.products.write means write on products. Nothing more.
Connected apps show up on the OAuth Clients tab, with the scopes they hold. One click revokes an app. The client in the screenshot below is a separate test client that holds write scopes. It isn’t the connection used in these checks.

Checks 4 and 5: every write and every refusal is logged
Open Audit Log. Every write and every refused call is a row. Each row names the tool, the verb, the area, the result, the user, the role and the AI app. For allowed calls, it also names the exact matrix cell.

See the denied row? It’s the last one in the screenshot, and it’s my price change attempt. If an AI keeps trying something it isn’t allowed to do, you’ll see it here. Argument names are logged, never their values, so customer data stays out of the log. (On the demo I signed in as the admin user with a restricted matrix. On a live site, use a dedicated role.)
More on safe access: Safe AI Access to WordPress. More on Undo: Undo AI Changes in WordPress.
Try this prompt. Run this only with a read-only role, so no real price can change.
Try to change the price of one product to $1. If you can’t, tell me exactly what stopped you.
If the app calls the tool, you’ll see the refusal in the audit log. If it says it has no such tool, that’s a pass too: the role hid it.
Choosing a WordPress MCP plugin
There are a lot of options now, and more every month. They fall into four groups.

The official MCP Adapter
The foundation. It turns abilities into tools and supports HTTP and STDIO. It’s built for developers who write their own abilities. On its own, it gives an AI very little to do.
WooCommerce’s built-in MCP
WooCommerce’s own MCP docs call it a developer preview. Remote connections sign in with a WordPress username and an Application Password, through the @automattic/mcp-wordpress-remote proxy. It covers product and order operations. Useful for developers, not yet a merchant tool.
WordPress.com MCP
If your site is hosted on WordPress.com, it has its own MCP server with OAuth. Self-hosted sites can’t use it.
Plugins
AI Engine, Easy MCP AI, Royal MCP, miniOrange Secure MCP Server and AI Gateway, among others. They count tools differently, so don’t compare tool counts. Compare how apps sign in, what the default access is, whether refusals are logged, and whether you can undo a change.
The neutral comparison, with sources: WordPress MCP Plugins Compared.
What we built AI Gateway around
I’m biased, so here’s the short version and you can judge. We used WordPress roles as the permission model instead of inventing tokens with their own rules. Read, write and delete per area, per role, all off by default. OAuth 2.1 with a consent screen, so no passwords get pasted anywhere. An audit log that names the permission behind every write. And it runs inside WordPress: no Node.js process, no hosted relay, nothing routed through our servers.

PRO costs $25 a month or $129 a year for one site, or $239 a year for three. Check the product page for current plans.
Try this: whichever plugin you pick, run the five checks above before you connect it to a site that takes money.
Trade-offs and limits
No setup is perfect. A few things to know going in.
- It’s only as safe as the roles you hand out. Give an AI an administrator role with every switch on and the matrix can’t save you. Start read-only.
- Your site has to be reachable. Claude’s connectors call your site from Anthropic’s servers. A local site needs a tunnel. ChatGPT has its own tunnel. Coding agents on your machine don’t need one.
- Your server does the work. There’s no relay, by design, but a busy AI session is real traffic on your host. Under heavy parallel use, the server can answer with a rate-limit error. That’s the server protecting itself. It’s also a reminder to size your hosting.
- Undo has edges. In PRO, Undo covers products, variations, coupons, posts, pages, media, site options and custom CSS for 30 days. Orders, bulk operations and sent emails are outside it. An email can’t be recalled.
- AI apps change without notice. Menu names in ChatGPT and Claude move around. The Connection tab links to each vendor’s own docs for that reason.
Getting started
- Install AI Gateway (free) and accept the MCP Adapter.
- Turn on one role under Access & Roles.
- On Permissions, pick that role’s tab and click All read-only.
- Copy the URL from Connection and add it to one AI app.
- Ask three questions from your list. Once you turn on a write switch, check the audit log after each job.
Paste this into your AI app as your first message:
You’re connected to my WordPress site through MCP. First, list the areas you can read and the areas you can change. Then answer: which products have the lowest stock, and which orders from the last 7 days are not completed yet? Don’t change anything.
Download AI Gateway free or see what PRO adds.
FAQ
What is a WordPress MCP server?
It’s a part of your WordPress site that lets AI apps use the site through the Model Context Protocol. The site publishes a list of tools, like “get orders”. The AI app signs in and calls the tools it needs, within the permissions you set.
Does WordPress have built-in MCP support?
Partly. The Abilities API is in core since WordPress 6.9, and the official MCP Adapter is a separate plugin that turns abilities into MCP tools. You still need a plugin that provides useful abilities and handles sign-in and permissions.
How do I connect Claude to WordPress?
Install an MCP server plugin, copy its MCP Server URL, and add it in Claude under Settings → Connectors → Add custom connector. Your site must be public over HTTPS, or behind a tunnel. See How to Connect Claude to WordPress and WooCommerce.
How do I connect ChatGPT to WordPress?
Turn on Developer mode in ChatGPT, then add your site as a custom MCP server and approve it on your site’s consent screen. A private site can use OpenAI’s Secure MCP Tunnel. See How to Connect ChatGPT to WordPress (and WooCommerce) with MCP.
Is a WordPress MCP server safe?
It’s as safe as the server’s controls and the access you grant. Look for OAuth sign-in, permissions that start off, tools hidden from roles that can’t use them, and a log of writes and refusals. Then start with read-only access.
Can an AI delete my posts or products through MCP?
Only if the server lets it. In AI Gateway, delete is a separate switch per area and starts off. A role without it doesn’t see delete tools, and a direct call is refused and logged.
Do I need WooCommerce to use a WordPress MCP server?
No. Posts, pages, media, SEO and settings work on any WordPress site. Store tools need WooCommerce, and subscription reports need WooCommerce Subscriptions.
Does my site need to be public?
For Claude.ai and Claude Desktop connectors, yes, or use a Cloudflare Tunnel. ChatGPT can reach a private site through OpenAI’s Secure MCP Tunnel. Cursor, Claude Code and Gemini CLI run on your computer and reach local sites directly.
What’s the difference between the MCP Adapter and an MCP plugin?
The Adapter is the official bridge from abilities to MCP. A plugin like AI Gateway adds the abilities themselves, OAuth sign-in, per-role permissions and an audit log on top of it.
Can I use Application Passwords instead of OAuth?
Some setups do, including WooCommerce’s developer preview. It works for a personal site. Once several people connect AI apps, or the site takes money, you want per-role limits, a consent step you can revoke and a log that names the permission behind each change.
How do I test a WordPress MCP server without a chat app?
Use a command-line MCP client like mcpc. Sign in, list tools, call a read-only tool, and try one write you weren’t given. See How to Test Any WordPress MCP Server from the Terminal with mcpc.
Is AI Gateway free?
Yes. The free plugin has 147 tools, the role matrix, OAuth 2.1, the consent screen and the audit log. PRO adds 72 tools, Undo, bulk edits with preview and the subscription and AutomateWoo reports.
All screenshots and terminal output come from a demo store with fictional data (Ember & Leaf Coffee Co.), running WordPress 7.1.4, WooCommerce 11.3.1 and AI Gateway PRO 1.0.6, captured on 23 November 2026. Product facts are from the AI Gateway PRO product page on the same date.
