Connect an AI agent to your site with MCP
Last updated:
Model Context Protocol (MCP) is an open standard that lets external AI agents, such as Claude or ChatGPT, connect to your WordPress site. This guide shows you how to connect an AI agent to your Jetpack-connected site, set what agents can read and change, and review what your agents have done.
About external AI agent access (MCP)
Model Context Protocol (MCP) is an open standard that lets external AI agents, such as ChatGPT, Claude, Cursor, and VS Code, connect to your WordPress site. Once connected, an AI agent can read your site’s content, create and edit posts and pages, manage media, and more, based on the permissions you grant.
MCP access works on every Jetpack-connected site, including sites on the Free plan. You do not need to buy Jetpack AI or Jetpack Complete to connect an agent.
When you connect an AI agent, it connects to the Jetpack MCP server. The settings on this page are the same settings shown in your WordPress.com account preferences. Changing a permission here changes it there, and the reverse. You do not need to configure both.
The MCP and Connectors settings are where you control read and write permissions, see your connected agents, turn MCP access off, and view an activity log of actions taken by your AI agents.
Connect ChatGPT or Claude
Jetpack works through the official WordPress.com app in ChatGPT and Claude. Connecting is the only step: when you add the app and approve the connection, MCP access is turned on for your site.
ChatGPT: Add the WordPress.com app for ChatGPT, then sign in with the WordPress.com account your site is connected to and approve the connection.
Claude: Add the WordPress.com connector for Claude, then sign in with the WordPress.com account your site is connected to and approve the connection.
Then ask your agent to do something on your site, or start with one of the ready-made Jetpack prompts.
Manage read and write permissions
Read permissions control what information AI agents can retrieve from your site. Write permissions control what changes AI agents can make to your site.
To configure permissions:
- Go to Jetpack → Jetpack AI. If the page shows a tab bar, select the “MCP and Connectors” tab.
- Click Read to choose what agents can retrieve:
- Content Authoring: posts, pages, media, comments, and categories.
- Site Editing: templates, template parts, navigation menus, and global styles.
- Site Editor Context: theme styles, presets, and available blocks.
- Site: site settings, theme, and visibility.
- Plugin Management: installed plugins and available updates.
- Other: anything outside the groups above.
- Click Write to choose what agents can change.
- Content Authoring: create and edit posts, pages, media, comments, and categories.
- Site Editing: edit templates, template parts, navigation menus, and global styles.
- Plugin Management: search, install, update, activate, and remove plugins.
Each category can be enabled or disabled independently. You can also use the toggle at the top of the list to enable or disable all read or write permissions at once.
Connect a coding agent
Coding agents connect with one command. Run it, then sign in with the WordPress.com account your site is connected to when your browser opens.
- Claude Code: run
claude mcp add --transport http wpcom-mcp https://public-api.wordpress.com/wpcom/v2/mcp/v1, then type/mcpin Claude Code to sign in. - Cursor: type
/add-plugin wordpress-comin Cursor’s chat. - VS Code: run
code --add-mcp '{"name":"wpcom-mcp","type":"http","url":"https://public-api.wordpress.com/wpcom/v2/mcp/v1"}', then start the server in VS Code. - Codex: run
codex mcp add wpcom-mcp --url https://public-api.wordpress.com/wpcom/v2/mcp/v1. Codex opens the sign-in for you. - Gemini CLI: run
gemini mcp add --transport http wpcom-mcp https://public-api.wordpress.com/wpcom/v2/mcp/v1, then type/mcp auth wpcom-mcpto sign in. - Any other MCP client: add
https://public-api.wordpress.com/wpcom/v2/mcp/v1as a remote MCP server.
You’ll also find these steps in WP Admin: go to Jetpack → Jetpack AI, open the “MCP and Connectors” tab if the page shows a tab bar, and click Connect external AI agent.
Turn MCP access off
Connecting an agent turns MCP access on. To turn it off for your site, go to Jetpack → Jetpack AI in WP Admin, open the “MCP and Connectors” tab if the page shows a tab bar, and switch off Enable MCP access under External AI agent access.
Self-hosted sites and WordPress.com sites
The Jetpack MCP server uses the WordPress.com account your Jetpack site is connected to. One connection can give your agent access to every site on that account, including any sites hosted on WordPress.com.
Most tools work the same on your Jetpack-connected site: content, site editing, settings, plugins, and the Jetpack features listed below. A few tools act on your WordPress.com account rather than on your site, such as creating a new WordPress.com site, buying plans or domains, and managing DNS for domains registered with WordPress.com.
Jetpack features available to AI agents
When you connect an agent, it can work across your whole site, not only its Jetpack features. Depending on the tools you enable, that includes posts, pages, media, comments and categories; templates, navigation menus and global styles; site settings; and plugins. Your site gets the same set of tools as a site hosted on WordPress.com. The MCP tools reference lists everything available.
This table lists the Jetpack features accessible via MCP tools:
| Jetpack feature | What your agent can do |
|---|---|
| Backup | Check whether backups can run, when the last and first backups were made, whether the most recent attempt succeeded, and how much backup storage is in use against your quota |
| Scan | See scan state, the live threat list with autofix eligibility, ignored threats, and recently fixed threats. Can also queue a fresh scan |
| Monitor | Check downtime alert status. Can also turn alerts on or off, which affects all administrators |
| Account Protection | Check account protection status. Can also turn it on or off, which affects all administrators |
| Newsletter | See subscriber counts, recent sends with delivery counts, reasons the site cannot currently send, and current newsletter settings. Can also update those settings |
| Site stats | See totals for published posts, pages, and subscribers, plus views, visitors, and publishing counts for a date range |
Still need help?
Please contact support. We’re happy to advise.