WordPress MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WP_URL | Yes | Site URL, e.g. https://example.com. Required. | |
| WP_USER | Yes | WordPress username. Required. | |
| WP_APP_PASSWORD | Yes | Application Password (spaces are fine). Required. | |
| WP_MCP_READ_ONLY | No | Only register read tools. | false |
| WP_MCP_TIMEOUT_MS | No | Request timeout. Audits can take up to a minute. | 120000 |
| WP_MCP_ALLOW_PUBLISHED_EDITS | No | Allow wp_update_content on published content. | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Tools for one WordPress site. Call wp_site_info first. Read before you write: use wp_get_content before changing a page. New pages are drafts. Show the user what you plan to change and ask before bulk changes. wp_audit_page costs API credits, so audit only the pages the user asked about.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| wp_site_infoA | Start here. Returns the site name and URL, the connected user and roles, available content types, whether AI Site Auditor is active, and what this server is allowed to change. |
| wp_list_contentB | Lists pages, posts or custom post type items with ID, title, status, URL and last modified date. Use search to find items by text. |
| wp_get_contentA | Reads one page or post: title, status, excerpt, content, ACF fields (when ACF exposes them to REST) and the SEO title and meta description (when AI Site Auditor is active). format "text" returns readable text; "blocks" returns the raw Gutenberg block markup, use it before editing content. |
| wp_list_mediaA | Lists images from the Media Library with their alt text. Set missing_alt_only to find images that need alt text (the filter applies to the current page of results, so check the next pages too). |
| wp_get_seoB | Returns the SEO title and meta description saved for a post, from Yoast SEO, Rank Math or AI Site Auditor. Empty means not set. Needs AI Site Auditor. |
| wp_get_audit_reportA | Returns the last AI Site Auditor report saved for a page, without running a new audit. Needs AI Site Auditor. |
| wp_audit_pageA | Runs AI Site Auditor on one page: rule-based SEO and accessibility checks plus a Claude review, with scores, issues, a suggested SEO title and meta description, and alt text suggestions for images. Takes 20–60 seconds and uses the site's Anthropic API credits, so audit only the pages you need. It saves a report and does not change the page. |
| wp_create_draftA | Creates a new page or post. It is always saved as a draft, so a person reviews and publishes it in WordPress. content can be Gutenberg block markup or plain HTML. Returns the edit link. |
| wp_update_contentA | Changes the title, content, excerpt or ACF fields of a page or post. Read it first with wp_get_content (format "blocks") and send the full new content, not a fragment. WordPress keeps a revision, so changes can be undone. Published content can only be changed if the server allows it. |
| wp_update_seoA | Saves the SEO title and/or meta description for a post where the site's SEO plugin reads them (Yoast SEO, Rank Math, or AI Site Auditor itself). Aim for a 30–60 character title and a 70–160 character description. Needs AI Site Auditor. |
| wp_update_alt_textA | Sets alt text for an image. With post_id and AI Site Auditor active, it updates both the Media Library and every of that image inside the post content; otherwise only the Media Library. Describe what the image shows and why it matters on the page, under 125 characters, without 'image of'. Set decorative for purely decorative images (empty alt). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| seo_accessibility_review | Reviews the site's pages for SEO and accessibility and proposes fixes for approval. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 11 tools
Each tool maps to a distinct resource+action, and the description explicitly separates similar pairs (wp_get_audit_report reads a saved report vs wp_audit_page runs a new one). The only real friction is SEO overlap: wp_get_seo's output is also returned by wp_get_content, and wp_update_seo partially overlaps wp_update_content, though the descriptions clarify the split.
Strong, predictable wp_verb_noun convention throughout (wp_list_content, wp_get_content, wp_update_content, wp_list_media, wp_create_draft, etc.) in consistent snake_case. The lone deviation is wp_site_info, which is noun-only rather than verb-led, but it is still readable and self-evident.
Eleven tools sit squarely in the well-scoped range, and each covers a distinct slice of the content/SEO/audit workflow with no redundant entries. Read/write pairs are balanced rather than bloated.
The surface covers discovery, read, create, update, SEO metadata, media alt text, and auditing, which is solid lifecycle coverage for a review-then-publish workflow. Gaps remain (no delete/trash, no media upload, no taxonomy or publish operation), but publishing and deleting in WP admin appears intentional and agents can work around it.