Connect
WordPress: connect WordPress.com, Jetpack or a self-hosted site
TL;DR
WordPress connects each site as one connection (a self-hosted site is one site + one WordPress user). The agent has 32 tools (16 reads, 16 changes).
WordPress.com and Jetpack sites
- 1Open Integrations → WordPress → Connect WordPress.com.
- 2Sign in to WordPress.com and approve. WordPress.com asks you to pick ONE site (permissions: sites, posts, media, comments, taxonomy, stats, users). To connect every site of the account at once, use Connect every WordPress.com site — WordPress.com then asks for its global permission.
- 3The site (or sites) appear on the card. Sites added to the account later appear after Refresh accounts when you connected with the global permission; otherwise connect each one.
WordPress.com's code-flow tokens carry no refresh token and no stated expiry: a connection works until WordPress.com refuses it, then the card asks you to connect again. WordPress.com documents no API to revoke an app: Disconnect removes the stored token here, and you remove Agent Planners at WordPress.com → Security → Connected applications.
Self-hosted WordPress
- What you need: WordPress 5.6 or later, served over HTTPS, with the REST API reachable at /wp-json/ and Application Passwords allowed. Some security plugins and hosts turn Application Passwords off or strip the Authorization header — the check says so, and your host can turn them back on.
- Connect: type the site's address on the card and press Check and connect. Agent Planners checks the site (no password involved), then opens your site's Authorize application screen. Sign in, approve, and WordPress sends you back with a new Application Password for your user.
- What is stored: your WordPress user name and that Application Password, encrypted. It is checked against your site (and your role read) before it is saved. A user who cannot edit posts is not connected.
- Revocation: Disconnect revokes the Application Password on your site. If the site does not answer, the card says so — revoke it under Users → Profile → Application Passwords.
- Plain addresses only: http:// sites are refused (the password must never travel unencrypted), as are private and local network addresses. A credential is never sent to another address if the site redirects.
WordPress hands the new password back in the return address (WordPress's documented flow); Agent Planners checks and stores it in that one request, redirects at once to an address without it, never shows it, and asks browsers not to keep or pass on that address. Connecting the same user again revokes the password it replaces.
Tools
| Tool | Kind | What it does |
|---|---|---|
| wordpress.list_sites | Read | The WordPress sites connected in this workspace (WordPress.com and self-hosted), with the connection method and the WordPress user each acts as. |
| wordpress.get_site | Read | One site's name, address, time zone and what its REST API offers. |
| wordpress.get_settings | Read | The site's general settings (title, tagline, time zone, date format, posts per page, default category) — needs an administrator's connection. |
| wordpress.get_stats | Read | WordPress.com / Jetpack site statistics: views and visitors (summary, or by day with unit=day and quantity ≤ 90). Self-hosted sites without Jetpack have none. |
| wordpress.list_posts | Read | Posts with title, status, date, link, excerpt, categories and tags. |
| wordpress.get_post | Read | One post with its full content (as stored), status, dates, categories, tags and featured image. |
| wordpress.list_pages | Read | Pages with title, status, date, link and parent. |
| wordpress.get_page | Read | One page with its full content. |
| wordpress.list_drafts | Read | Draft and pending posts and pages waiting to be published. |
| wordpress.search | Read | Search the site's content (posts, pages, terms). |
| wordpress.list_media | Read | Media library items: title, type, MIME type, file URL, alt text, date. |
| wordpress.list_categories | Read | Categories with id, name, slug, parent and post count. |
| wordpress.list_tags | Read | Tags with id, name, slug and post count. |
| wordpress.list_comments | Read | Comments for moderation: status (approved / hold / spam), post, author display name and text — e-mail addresses and IPs are removed. |
| wordpress.list_users | Read | The site's authors: id, display name and slug (no e-mail addresses). |
| wordpress.get | Read | Any other READ of the site's REST API by route, in WordPress's own format: { accountId?, route (self-hosted: wp/v2/…; WordPress.com: rest/v1.1/… — its wp/v2 answers only an all-sites sign-in), query? } — bound to the connected site. |
| wordpress.create_post | Change (approval) | Create a post — a DRAFT unless status says otherwise (publish / future make it public and wait for a PERSON). |
| wordpress.update_post | Change (approval) | Change a post's title, content, excerpt, categories, tags or status (publish / future wait for a PERSON). The current post is read first. |
| wordpress.create_page | Change (approval) | Create a page — a DRAFT unless status says otherwise (publish / future wait for a PERSON). |
| wordpress.update_page | Change (approval) | Change a page (publish / future wait for a PERSON). |
| wordpress.upload_media | Change (approval) | Upload a file to the media library from an Asset Library file or an https URL (≤ 25 MB). |
| wordpress.update_media | Change (approval) | Change a media item's title, alt text or caption. |
| wordpress.create_category | Change (approval) | Create a category. |
| wordpress.update_category | Change (approval) | Rename or describe a category. |
| wordpress.create_tag | Change (approval) | Create a tag. |
| wordpress.update_tag | Change (approval) | Rename or describe a tag. |
| wordpress.moderate_comment | Change (approval) | Approve or hold a comment (spam / trash wait for a PERSON). |
| wordpress.reply_comment | Change (approval) | Reply to a comment as the connected WordPress user (approved at once when that user may moderate). |
| wordpress.delete_post | Change (approval) | Move a post to the trash (restorable in wp-admin for 30 days). A person approves it on every lane. |
| wordpress.delete_page | Change (approval) | Move a page to the trash. A person approves it on every lane. |
| wordpress.delete_media | Change (approval) | Delete a media file — PERMANENT (WordPress has no media trash). A person approves it on every lane. |
| wordpress.mutate | Change (approval) | Any other WRITE to the site's REST API in WordPress's own format: { accountId?, method POST | PUT | PATCH | DELETE, route (self-hosted: wp/v2/…; WordPress.com: POST rest/v1.1/posts/new | posts/{id} | media/{id} | comments/{id} | categories/new | tags/new), body?, query? } — bound to the connected site. DELETE, publishing and live-look routes (templates, global styles, menus, widgets) wait for a PERSON; users, plugins, themes, settings and application passwords are refused. |
What waits for a person
- Under your approval setting: drafts and pending posts, private posts, edits that keep a draft a draft, media uploads, categories and tags, approving or holding a comment, replies.
- Always a person's decision: Publishing or scheduling a post or page, moving anything to the trash, deleting media (WordPress has no media trash), marking a comment as spam and changing templates, styles, menus or widgets always wait for a person, on every lane — even with auto-approve on.
- Never: Users, roles, plugins, themes, site settings and application passwords are never changed, and nothing is deleted permanently past the trash.
Built and tested against recorded answers that follow the WordPress documentation; the first checks with a real connected site follow the release. If something behaves differently, Support wants to hear about it.
Raw requests
- wordpress.get reads a route of the connected site in WordPress's own format: wp/v2 on a self-hosted site, WordPress.com's own rest/v1.1 on a WordPress.com site (WordPress.com answers its wp/v2 routes only for a sign-in that connected every site of the account). wordpress.mutate writes the same way (on WordPress.com: posts, media, comments, categories and tags under rest/v1.1); over MCP and REST both are reachable as wordpress__raw_request. The typed tools pick the right API for you. Every call is built from the connected site — another site is unreachable.
Frequently asked questions
- Why does the check say Application Passwords are not available?
- WordPress only offers them over HTTPS, and a plugin or host can turn them off. Turn on HTTPS, or ask whoever manages the site to allow Application Passwords, then try again.
- Can two people connect the same site?
- Yes. On WordPress.com each person's sign-in is kept; on a self-hosted site each person connects their own WordPress user, and the agent acts with that user's role.
- Does deleting a post delete it forever?
- No. delete_post and delete_page move it to the trash (restorable in wp-admin for 30 days), and a person approves it. Only media has no trash: deleting a file is permanent, and a person approves that too.