You can connect an external AI agent, such as ChatGPT or Claude, to your WordPress.com account so it can work with your sites, posts, comments, and settings for you. This guide shows you how to add WordPress.com to your agent, like the WordPress plugin for ChatGPT, and how to control what it can access through MCP (Model Context Protocol).
MCP access is included on every WordPress.com site, including free sites.
Self-hosted WordPress sites connected through Jetpack can also use MCP, with no Jetpack plan required.
In this guide
Have a question?
Ask our Support AssistantYou connect an AI agent from the AI and MCP page in your WordPress.com account, which has an option for ChatGPT, Claude, Claude Code, Cursor, VS Code, Codex, and Antigravity, plus one for any other agent that supports MCP.
To connect an AI agent, follow these steps:
- Visit the AI and MCP page in your WordPress.com account preferences.
- Under Connect an external AI agent, click the link on your agent’s card:

- Follow the instructions in your agent to add WordPress.com.
- Sign in to WordPress.com when prompted and approve the connection.
Each agent adds the WordPress MCP in its own way:
- ChatGPT: Click the “Add plugin” link to open the WordPress plugin for ChatGPT, then install the plugin. See Edit your site with ChatGPT for the full steps.
- Claude: Click the “Add connector” link to open the WordPress connector for Claude in the Claude Connectors Directory, then connect it. See Edit your site with Claude for the full steps.
- Claude Code and Codex: Click the “Copy command” link, then run the command in your terminal.
- Cursor: Click the “Add plugin” link to open the WordPress plugin in Cursor, then install it.
- VS Code: Click the “Add server” link to open VS Code and install the WordPress MCP server.
- Antigravity: Click the “Copy prompt” link, then paste the prompt into Antigravity.
- Any other MCP agent: Click the “Copy URL” link to copy the server URL, then add it in your agent’s settings. See Other MCP clients below.
When you approve the connection, choose how much access the agent gets. “Full access” turns on all Read and Write tools. “Read only” turns on all Read tools and turns off all Write tools. “Keep existing access” leaves your settings as they are, and appears only if MCP access is on and you’ve customized your tools. If MCP access is off, click the “Allow & turn on agent access” button to turn it on as you approve.
If you’re not sure which option to choose, click the “Copy prompt” button and paste the prompt into your agent. The agent tells you what to click or run, waits while you sign in, then lists your sites to confirm the connection works. For step-by-step connection details, click the “Manual setup” link, which appears once MCP access is on.
You can connect any other MCP-compatible client, such as Gemini or Perplexity, to your WordPress.com account. Select “Any MCP agent” on the AI and MCP page to copy the server URL, then follow your client’s documentation for adding an MCP server. The server URL is:
https://public-api.wordpress.com/wpcom/v2/mcp/v1
The OAuth 2.1 authentication flow automatically guides you through browser-based authorization when you first connect.
Microsoft 365 Copilot Cowork has a WordPress plugin that sets up the connection for you. To find it, open Cowork, select the Customize option in the left sidebar, and search for “WordPress.” Cowork needs a Microsoft 365 Copilot license, and your organization’s IT admin may need to make the plugin available before you can add it. See Microsoft’s guide to using plugins with Cowork for the steps to add it.
If your MCP connection stops responding, see Troubleshoot MCP connection problems below.
Once you have connected an AI client to your WordPress.com account, the AI agent can access your WordPress.com sites through MCP tools. See the full list of MCP tools available to AI agents. For common jobs, such as an accessibility check or an SEO audit, your agent can also follow skills: step-by-step procedures built into the connection.
MCP (Model Context Protocol) is an open protocol that standardizes how applications provide context to LLMs (large language models). By connecting your external AI agent to WordPress.com, you can interact with your WordPress.com account and websites using natural language.
At a high level, here is how MCP connects your AI agent to WordPress.com:
- You ask your AI agent to retrieve information from — or make changes to — your WordPress.com account or sites.
- The AI agent uses an LLM to understand the request and determines that it needs to interact with WordPress.com. It checks for available MCP tools.
- It finds the right MCP tool. Depending on your settings, it asks for your permission before using it.
- The MCP tool completes the request — whether that is retrieving data (like your site stats) or performing an action (like publishing a post).
- The LLM uses the result to generate its response or confirm that the action was completed.
MCP respects the user role permissions on your site. Access to specific MCP tools is restricted by the same permissions applied to your user role. For example, administrators have full access to all MCP tools, while editors can manage content and comments but cannot change site settings or plugins. Authors and contributors have more limited access.
For the full breakdown of which tools are available, see the MCP tool reference guide in the developer documentation.
The MCP server does not share any data with the AI model unless you explicitly choose to send it. It also does not use data from MCP tools to train AI models; the data is used once as part of the original request.
Turning on MCP access for all your sites lets any AI agent you connect work with every site on your account. Connecting an agent turns this on for you, so use these steps to turn on access before you connect, or to turn it back on later.
To turn on MCP access across all your sites, follow these steps:
- Visit Preferences in your WordPress.com account.
- Select “AI and MCP” (or go directly to my.wordpress.com/me/preferences/mcp).
- Under External AI agent access, turn on the “Enable MCP access” toggle:

Enabling MCP access turns on both the Read and Write tool groups by default, so your connected AI agent can view and change your content as soon as access is on. To limit what it can do, customize your account-level tools.
Once MCP access is on, three more settings appear under External AI agent access:
- Read: Controls which read tools your external AI assistant can use (viewing posts, stats, settings, and similar). Shows how many are enabled.
- Write: Controls which write tools your external AI assistant can use (creating, editing, and deleting content). Shows how many are enabled.
- Site exceptions: Lists any sites where MCP access has been individually disabled.
When MCP access is enabled, you can control which tools your AI agent has access to by default. Click Read or Write on the MCP settings page to open the corresponding tool list.
Each list organizes tools into groups: Content Authoring, Site Editing, Site Editor Context, Site, Account, User Management, Plugin Management, and Other. Each group has a brief description, and the individual tools in a group stay hidden until you expand it. To customize your MCP tools, follow these steps:
- Click Read or Write to open the tool list.
- Use the “Enable all” toggle next to a group to turn every tool in that group on or off.
- To be more selective, click the down arrow next to a group to expand it, then toggle individual tools.
- Click Back to return to the main MCP settings page.
When you use “Enable all” for a group, WordPress.com saves it as an ongoing preference instead of a fixed list. Any tools added to that group later are enabled automatically. If you turn off an individual tool, that choice always takes precedence — the tool stays off even while “Enable all” is on.
These are your account-level defaults. They apply across all your sites unless a site has its own overrides configured (see Customize your site-level tools below). Account tools, such as billing and your profile, always follow your account-level settings.
Approving a new AI agent connection can also change these defaults. See Connect an AI agent.

Note: Depending on your settings, your agent can ask for your confirmation before a write operation (including delete), or make the change without asking. Changes your agent makes to your site are recorded in your site’s Activity Log. On sites with the Business or Commerce plan, you can also restore your site from a backup. Deleted posts and pages can be recovered from trash for 30 days. Deleted media, categories, and tags are permanent.
You can disable MCP tool access for a specific site from your account preferences. This is useful when MCP is enabled for all sites but you want to exclude one or more.
To disable MCP tools on a site, follow these steps:
- Visit Preferences in your WordPress.com account.
- Select “AI and MCP” (or navigate directly to my.wordpress.com/me/preferences/mcp).
- Scroll to the “Site exceptions” section.
- Select a site.
That specific site will not have MCP tools access. You can remove a site from the exceptions list with the Remove button next to the site name.
If you would rather not enable MCP across your entire account and all its sites, you can enable it for individual sites instead.
Follow these steps to enable MCP for only a specific site:
- Visit Preferences in your WordPress.com account.
- Select “AI and MCP”.
- Leave the “Enable MCP access” toggle off.
- Click “Add to specific sites”.
- Select the site you want to enable.

Once enabled, you can customize which tools are available for the site.
Site administrators can configure MCP tool access for an individual site. Site-level settings override account-level settings for tools that act on the site. If one of these tools is disabled at the site level, no user of that site can use it, regardless of their own account settings.
Account tools manage your WordPress.com account instead of a site. They cover your profile, billing, tax details, currency, notifications, security, connected apps, SSH keys, and the sites you follow and posts you save in the Reader. A site’s settings can’t turn account tools on or off.
To access site-level MCP settings, visit your Hosting Dashboard, click the site, then go to Settings → “AI tools” (in the General section). You can also change these settings in your site’s dashboard under Jetpack → Jetpack AI. Under External AI agent access, two options control which tools are available:
- Read: Read tools that act on the site, organized into groups.
- Write: Write tools that act on the site, organized into groups.
The Read and Write lists work the same way as the account-level tool pages: use the “Enable all” toggle for a group, or expand a group and toggle individual tools.
Your plugins can offer AI agents their own abilities, such as reading contact form responses or updating a post’s SEO title. The site’s Read and Write pages each have a Site-published abilities section where you choose which of these abilities agents can use.
To choose which plugin abilities agents can use, follow these steps:
- Visit your Hosting Dashboard.
- Click the title of the site you want to manage.
- In the left sidebar, select Settings, then select “AI tools”.
- Under External AI agent access, click Read or Write.
- Scroll to the Site-published abilities section. Each plugin that offers abilities has its own card.
- Turn on the “Enable all” toggle on a plugin’s card to allow all of its abilities, or expand the card and turn individual abilities on or off.
Each change saves straight away, and a “MCP settings saved.” message confirms it.
If you haven’t turned an ability on or off yourself, it follows the rest of the page. It’s on when MCP is on for the site and all the tools on that page are turned on.
A few things to know about site-level settings:
- Enabling MCP on a site: the site inherits your account-level tool settings. Both the Read and Write tools follow what you’ve set at the account level.
- Customizing a site’s tools: creates site-specific settings that take precedence over your account settings for that site.
- Turning a site’s MCP off and back on: clears any site-specific customizations, so the site inherits your account-level settings again.
- Site-level settings take precedence: a tool that acts on the site and is turned off at the site level is unavailable to everyone on that site, even if they have it enabled in their own account settings.
If your AI agent stops responding, can’t find your WordPress.com tools, or shows an error when it tries to use them, work through these steps in order. MCP connections and tool lists get cached by your AI client, so after any change below, restart the client and start a new chat before testing again—a fix often won’t take effect until you do both.
- Restart your AI client and start a new chat. Quit and reopen Claude, ChatGPT, or whichever app you’re using, then start a new conversation rather than continuing the one where the error happened. This alone clears up most one-off connection issues.
- If that doesn’t help, disconnect and reconnect the connector. In your AI client, disconnect the connector or plugin you used to connect WordPress.com, then reconnect it. The option is usually in the same settings area where you connected the client. Then restart your AI client and start a new chat again before trying your request.
- If your agent still can’t use a tool, refresh your tool toggles. If your AI and MCP settings already show everything enabled, toggling “Enable all” or reconnecting won’t help—the settings screen already thinks everything is on. Instead:
- Visit Settings → “AI tools” or Jetpack → Jetpack AI for the site (or my.wordpress.com/me/preferences/mcp for account-level tools).
- Find the specific ability that’s affected and toggle it off, then wait a moment for the change to save before toggling it back on. Switching it too quickly can cause the change to get dropped, so do this one ability at a time.
- Once you’ve cycled through the affected tools, restart your AI client and start a new chat, then try your request again.
If you’re still stuck after trying these steps, contact us and let us know which AI client you’re using and what error you’re seeing.