MCP App Store
by KeenEthics
WP Agent icon

WP Agent MCP Server for Claude and ChatGPT

By GetWPAgent

Overview

Any WordPress site — self-hosted included — managed entirely from Claude. AI blogging, content writing, and SEO for any site. Connect your site once, then just say what you want: Claude writes, edits, publishes, schedules, and maintains it end to end through 64 purpose-built tools. WP Agent is keyless: no AI API key to bring, nothing to configure. Create, edit, schedule, and publish posts and pages, update existing content, and manage revisions. Handle the full media library: upload images, pull free stock photos, set featured images sized for WordPress, and generate an original AI image for a post you're working on. Run complete SEO workflows — titles, meta descriptions, focus keywords, and per-post SEO analysis. Manage categories, tags, menus, comments, authors, site settings, custom CSS, and plugins — all from Claude. Safe by design: destructive actions are confirm-gated, publishing is explicit, and every tool call is audited. Works with any WordPress site via the WP Agent Connector plugin (one-click pairing from wp-admin) or an application password. Free plan includes 10 posts per month — no credit card required.

How to connect

  1. Claude: Open the WP Agent listing in the Claude connectors directory and choose Connect. Claude listing WP Agent exposes 64 tools here.
  2. ChatGPT: Open the WP Agent listing in the ChatGPT app directory and choose Connect. ChatGPT listing WP Agent exposes 63 tools here.

Tools

activate_plugin

ChatGPT
Activate an installed plugin. Because an active plugin's code runs on the site and can change its behavior, the server returns a preview instead of activating unless the confirm parameter is set. Get the identifier (e.g. 'akismet/akismet') from list_plugins.

add_media_from_url

ChatGPT
Add an image to the site's media library by URL — downloads it and stores it in WordPress. This is the only way to add media (it takes a URL, not a local file): use it to bring in a stock photo (see search_stock_photos) or any hotlinked image permanently. Set alt_text for SEO/accessibility. Returns the new media id (use it with set_featured_image or embed its URL in content). Pass featured_for_post_id to also set it as a post's featured image in the same call.

add_menu_item

ChatGPT
Add an item to a navigation menu. Either link an existing PAGE/POST by id (preferred — pass object_id and object_type so the link follows the page if its URL changes) OR pass a custom url for an external link. Get menu_id from list_menus and page/post ids from list_pages/list_posts. Pass parent_id to nest it as a sub-item (dropdown) under another menu item. Appears at the end of the menu.

assign_menu_location

ChatGPT
Assign a menu to a theme location (e.g. 'primary', 'footer') so it shows on the live site, or pass menu_id=0 to clear that location. Get the location slug from list_menu_locations and the menu id from list_menus. On block/full-site-editing themes there are no classic locations — that's expected.

connect_site

ChatGPT
Connect a self-hosted WordPress site to the user's WP Agent account by its URL. Returns a one-time link to the site's own WordPress admin, where the site owner approves the connection. No WordPress password is involved, and no plugin is required.

create_category

ChatGPT
Create a post category (no-op-safe: if one with this name exists, returns it). Optionally set a parent category id to nest it (for a hierarchy) and a description. Returns the category id.

create_menu

ChatGPT
Create a new navigation menu (e.g. 'Main Menu', 'Footer Menu'). Use this first when the site has no menus, then add_menu_item to fill it and assign_menu_location to make it appear on the site. Returns the new menu id.

create_post

ChatGPT
Create a complete WordPress post OR page in ONE call — title + full HTML content, plus optional status, excerpt, a featured image (media id), and SEO title/meta/focus keyword. For posts you can also pass categories (matched to EXISTING categories by name; unknown ones are reported, not invented) and tags BY NAME (auto-created). Set post_type='page' to create a PAGE (e.g. to then make it the homepage via update_site_settings); pages ignore categories/tags. Defaults to draft; an empty title or body is rejected. THE ONE-IMAGE RULE: when the user wants a post with an image, EMBED the image in the content (an <img> tag with its URL, wrapped in <a href='THE_IMAGE_URL'> for lightbox click-to-zoom) AND pass its media id as featured_image_id — a featured image alone is often NOT shown inside the article (theme-dependent), so an embed-less post looks image-less. Prefer WIDE hero images ('1792x1024'). status='publish' and status='private' make the post visible on the site right away; the server returns a preview instead of creating it unless the confirm parameter is set. If a call times out it may still have created the post — a duplicate with the same title made moments ago is detected and the original is returned instead of creating a second.

create_tag

ChatGPT
Create a post tag (no-op-safe: if one with this name exists, returns it). Returns the tag id.

deactivate_plugin

ChatGPT
Deactivate an active plugin. Deactivating the wrong plugin (security, SEO, cache) can change how the site works, so the server returns a preview instead of deactivating unless the confirm parameter is set.

delete_category

ChatGPT
PERMANENTLY delete a category (WordPress cannot trash terms — deletion is immediate). Posts in it are NOT deleted; they fall back to the default category (usually 'Uncategorized'). Get the id from list_categories. DESTRUCTIVE. The server returns a preview instead of deleting unless the confirm parameter is set.

delete_comment

ChatGPT
Delete a comment. By default it's moved to trash (recoverable). A permanent delete needs both the permanent and confirm parameters set; otherwise the server returns a preview.

delete_media

ChatGPT
PERMANENTLY delete an item from the media library (WordPress cannot trash media — deletion is immediate and unrecoverable; attachments in posts will show as broken images). Get the media_id from list_media. DESTRUCTIVE. The server returns a preview instead of deleting unless the confirm parameter is set.

delete_menu

ChatGPT
PERMANENTLY delete a whole navigation menu and its items (menus don't support trashing — deletion is immediate). The pages/posts the items pointed to are NOT deleted. Get the menu id from list_menus. DESTRUCTIVE. The server returns a preview instead of deleting unless the confirm parameter is set.

delete_post

ChatGPT
Delete a post or page. By default it's moved to TRASH (recoverable from wp-admin) — safe. A permanent delete needs both the permanent and confirm parameters set; otherwise the server returns a preview.

delete_tag

ChatGPT
PERMANENTLY delete a tag (WordPress cannot trash terms — deletion is immediate). Posts keep their other tags; nothing else is deleted. Get the id from list_tags. DESTRUCTIVE. The server returns a preview instead of deleting unless the confirm parameter is set.

disconnect_site

ChatGPT
Disconnect a site from WP Agent by clearing its stored Application-Password credentials. DESTRUCTIVE. The server returns a preview instead of disconnecting unless the confirm parameter is set. The WordPress site itself is untouched, and if the site is also used by WPWriter that connection is preserved (only the keyless credentials are removed). NOTE: the freed site slot enters the plan's swap cooldown (per pricing) — reconnecting the SAME site stays free anytime, but the slot can't be reused for a DIFFERENT site until the cooldown ends.

get_account_identity

ChatGPT
Use when the user asks which WP Agent account or email this connection is signed in with. Returns the email of the WP Agent account that the current connection belongs to. It never returns the WordPress site's admin email or any other person's details.

get_custom_css

ChatGPT
Read the active theme's Additional CSS (the Customizer → Additional CSS box). Read this BEFORE update_custom_css so you can edit the existing rules instead of replacing them blindly. Requires the WP Agent Connector plugin. Large CSS is returned in pages (use offset to continue).

get_post_content

ChatGPT
Read a post's editable title and raw HTML content from WordPress, so you (the assistant) can reason over the real content before editing or optimizing it. Returns the raw HTML exactly as stored. Works for posts AND pages — use the post_id from list_posts / search_posts / list_pages. Long posts are returned in pages — if the result ends with a 'Partial content' note, call again with the suggested offset to read the rest.

get_post_seo_analysis

ChatGPT
Analyze ONE post's or page's on-page SEO and content quality (for a whole-site gap list, use get_posts_seo_overview). Returns 0-100 scores for the SEO title, meta description, URL slug, featured image, content length, heading structure, structured data and internal links, plus content-quality scores and concrete improvement suggestions. Read this before optimizing, then act with update_post_seo / patch_post_content. (SEO title/description scores need the WP Agent Connector plugin to read them; without it the content scores still work.)

get_posts_seo_overview

ChatGPT
Scan recent published posts and report each one's SEO gaps in a table — whether it has an SEO title, meta description, focus keyword, and featured image — so you can spot what to fix across the site. Then drill into a single post with get_post_seo_analysis, or fix one with update_post_seo. (Reading SEO meta needs the WP Agent Connector plugin; featured-image coverage is shown even without it.)

get_revision

ChatGPT
Read the title and content of one saved revision, so you can compare it to the current post or pull back an earlier version (paste it into replace_post_content to restore). Get the revision_id from list_revisions. Long revisions are returned in pages — if the result ends with a 'Partial content' note, call again with the suggested offset.

get_site_overview

ChatGPT
Get a verbose snapshot of a connected WordPress site so you know exactly what you're working with before acting: WordPress/PHP version, active theme, which SEO plugin is active (Yoast/Rank Math/AIOSEO), whether WooCommerce is present, multisite, and the installed plugins. Works on every connected site: without the WP Agent Connector plugin it returns a core snapshot (posts, drafts, pages, active SEO plugin); the plugin adds theme, versions and multisite detail.

get_site_settings

ChatGPT
Read the site's general settings — title, tagline, admin email, timezone, date/time format, posts-per-page, language.

get_usage

ChatGPT
Show the user's current WP Agent plan and live usage: posts used/remaining this month (posts are the only plan limit; words are unlimited), AI image balance, bonus credits, site slots used/included, and subscription status (renewal or cancellation date). USE THIS whenever the user asks how many posts they have left, what plan they're on, how many sites they can connect, or anything about usage/limits/billing status. Present the numbers to the user as-is.

install_plugin

ChatGPT
Install a plugin by its slug (e.g. 'wordpress-seo' for Yoast) — only from the official, publicly vetted WordPress.org directory, never from arbitrary URLs. Because this adds code to the site it always previews first and the server returns a preview instead of installing unless the confirm parameter is set. By default the plugin is installed but left INACTIVE (set activate=true to activate on install). The user's host must allow plugin installs.

list_authors

ChatGPT
List the site's users/authors — id, name, and slug. Use an author id with update_post_author or when creating posts via rest_api.

list_categories

ChatGPT
List a site's post categories — id, name, and post count. Use ids when creating/updating posts, or create_post which takes category names directly.

list_comments

ChatGPT
List comments on the site — id, author, status, the comment text, and which post it's on. status filter: 'hold' (pending moderation), 'approve' (default), 'spam', or 'trash'. Optionally filter by a post id.

list_media

ChatGPT
List items in the site's media library — id, title, URL, alt text, and type. Use a media id with set_featured_image / update_media, or to embed an existing image. Returns the newest first; pass offset to page beyond the first batch, or search to find by filename/title.

list_menu_items

ChatGPT
List the items in a navigation menu (in order) — id, label, URL. Get menu_id from list_menus.

list_menu_locations

ChatGPT
List the theme's menu locations (header, footer, etc.) and which menu is assigned to each. A menu only appears on the site once it's assigned to a location. Use this after create_menu to find where to put it. Note: block / full-site-editing themes register NO classic locations — that's normal, not an error.

list_menus

ChatGPT
List the site's navigation menus — id, name, slug. Use a menu id with list_menu_items / add_menu_item.

list_pages

ChatGPT
List the site's pages (not posts) — id, title, status, URL. Use the ids with the edit/SEO tools, same as posts.

list_plugins

ChatGPT
List the plugins installed on the site — identifier, name, version, and whether each is active. Use the identifier (e.g. 'akismet/akismet') with activate_plugin / deactivate_plugin.

list_posts

ChatGPT
List recent posts on a connected WordPress site — id, title, status, date, and URL. Queries WordPress directly. Use the ids with get_post_content, patch_post_content, update_post_seo, etc.

list_revisions

ChatGPT
List the saved revisions of a post or page — id, date, and author. WordPress keeps a revision on every save, so use this to see the edit history, then get_revision to read a specific older version.

list_sites

ChatGPT
List the WordPress sites connected to this WP Agent account. Returns each site's name, URL, and site_id. Use the site_id with every other tool. Keyless: WP Agent never generates content itself — you (the assistant) write the content and SEO, and these tools execute it against the user's WordPress.

list_tags

ChatGPT
List a site's post tags — id, name, and post count.

moderate_comment

ChatGPT
Moderate a comment: approve it, send it back to pending (hold), mark it spam, or move it to trash. Get the comment id from list_comments. spam/trash are recoverable.

patch_post_content

ChatGPT
Surgically edit a post or page: replace an EXACT snippet of its current HTML with new HTML, leaving everything else untouched. Put the exact text to change in find_text and the replacement in replace_text. YOU DO NOT NEED THE WHOLE ARTICLE IN CONTEXT — this tool re-reads the post server-side and matches find_text there, so you only ever need the snippet you are changing. If you no longer have the text, re-read just the part you need with get_post_content (use offset to jump to it) — never re-read a long post in full just to make an edit. To revise an article THROUGHOUT, call this repeatedly, once per section. That is the intended way; do not fall back to replace_post_content for a multi-part edit. This is the safe way to edit — no full rewrite. Fails if find_text isn't found, or isn't unique unless you set replace_all.

publish_post

ChatGPT
Publish a draft/pending post or page — makes it live publicly. (To schedule for later, use schedule_post.) Posts with an empty body are blocked (pass allow_empty=true only for an intentionally empty page, e.g. a blog Posts page). Outward-facing. The server returns a preview instead of publishing unless the confirm parameter is set.

remove_menu_item

ChatGPT
Remove an item from a navigation menu. DESTRUCTIVE. The server returns a preview of what would be removed unless the confirm parameter is set. Get the item id from list_menu_items.

replace_post_content

ChatGPT
Replace a post or page's ENTIRE body with new HTML. Use this for a full rewrite. For small surgical edits, prefer patch_post_content (safer). Only use this when you are holding the complete new body. If you do not have the full article in context, DO NOT re-read the whole post to get here — use patch_post_content instead, section by section. DESTRUCTIVE: it overwrites the whole body. The server returns a preview instead of replacing it unless the confirm parameter is set.

rest_api_read

ChatGPT
Advanced read-only access for the rare WordPress REST endpoint the dedicated tools don't cover (revisions, custom post types, block patterns, settings, etc.). GET only — it can never change the site. path is relative to the REST root, e.g. '/wp/v2/types' or '/wp/v2/comments?per_page=5'. Tip: GET '/' lists the site's namespaces. Prefer the dedicated tools whenever one exists.

rest_api_write

ChatGPT
Advanced write access for the rare WordPress REST endpoint the dedicated tools don't cover: POST/PUT/PATCH/DELETE. The server returns a preview of exactly what would run unless the confirm parameter is set. Guarded by design: DELETE always trashes, never permanently erases (force is stripped); a new post/page defaults to draft unless you set status; method-override (_method/rest_route) is rejected; and writes to users, plugins, settings, themes, and application passwords are blocked (those go through the dedicated, individually-gated tools). path is relative to the REST root; body is a JSON object string. Prefer the dedicated tools whenever one exists.

schedule_post

ChatGPT
Schedule a post or page to publish automatically at a future time. publish_at MUST be an ISO 8601 datetime WITH a timezone offset so the moment is unambiguous, e.g. 2026-07-01T09:00:00-04:00 (use the site's local offset) or 2026-07-01T13:00:00Z (UTC). A bare time without an offset is rejected. Posts with an empty body are blocked (pass allow_empty=true only for an intentionally empty page). Outward-facing: it goes live automatically. The server returns a preview instead of scheduling it unless the confirm parameter is set. If the user asks for RECURRING auto-posting (e.g. 'post every Monday'), there is no server-side recurrence — offer to write a BATCH of posts now and schedule each across the coming weeks with this tool, or point them at their AI client's own scheduled-tasks feature to run a prompt on a cadence.

search_posts

ChatGPT
Search a connected WordPress site's posts by keyword (title + content). Returns id, title, status, date, URL.

search_stock_photos

ChatGPT
Search free high-quality stock photos (external Unsplash library — NOT the site's own media; for that use list_media). This is the free way to get real photos for a post; for an ORIGINAL AI image on an existing post, use generate_featured_image instead. Returns image URLs with photographer attribution. Pick one and call add_media_from_url with its url to store it in the media library, then set_featured_image or embed it. Use specific queries ('modern kitchen workspace' beats 'kitchen'). Always credit the photographer.

set_post_categories_and_tags

ChatGPT
Set the categories and/or tags on an EXISTING post, by NAME (this assigns terms TO a post — to rename a category/tag itself, use update_category/update_tag). Categories are matched to existing ones (unknown names are reported, not invented); tags are auto-created if missing. By default this REPLACES the post's current categories/tags with exactly what you pass; set add=true to ADD to the existing ones instead. Pass only the one you want to change.

update_category

ChatGPT
Rename a category and/or set its description. Get the category id from list_categories.

update_custom_css

ChatGPT
Replace the active theme's Additional CSS with the CSS you provide. This OVERWRITES all existing Additional CSS (WordPress keeps a revision you can restore), so call get_custom_css first and pass the full combined CSS. Requires the WP Agent Connector plugin. DESTRUCTIVE — pass confirm=true to proceed; without it you get a preview.

update_media

ChatGPT
Update a media library item's metadata — alt text (important for SEO/accessibility), title, and/or description. Pass only the field(s) you want to change; you can set several at once. Get the media_id from list_media.

update_post_author

ChatGPT
Reassign a post to a different author. Get the author_id from list_authors.

update_post_excerpt

ChatGPT
Set a post or page's excerpt (the short summary used in listings and some SEO contexts).

update_post_seo

ChatGPT
Write SEO meta for a post — SEO title, meta description, and/or focus keyword — to whichever SEO plugin is active (Yoast, Rank Math, or All in One SEO). You decide the optimized values; this writes them to WordPress. Only the fields you pass are changed. Uses the WP Agent Connector plugin (the same free plugin offered at connect time) when it is installed; without it, Yoast and Rank Math fields are written through core WordPress REST when this site exposes them there, and only otherwise does this return install instructions.

update_post_title

ChatGPT
Change a post or page's title (a page id from list_pages works the same). Leaves the body untouched.

update_site_settings

ChatGPT
Update general site settings. Only the fields you pass are changed. Supported: title, tagline, timezone, language, posts_per_page, date_format, time_format, comments_enabled (site-wide default for NEW posts — existing posts keep their per-post setting), and the front-page setup — front_page_id makes a PUBLISHED page the site's homepage (create it with create_post post_type='page' first; pass 0 to revert to the latest-posts feed), and posts_page_id makes another published page the blog feed. This is the only settings tool — use it for all of these.

update_tag

ChatGPT
Rename a tag and/or set its description. Get the tag id from list_tags.

upload_attached_images

ChatGPT
Use when the user attached the image or images in this chat. For a public URL use add_media_from_url; for an image only on the user's device, use get_image_upload_link when it is in your tool list. Adds up to 10 attached images to the WordPress media library, each with optional alt text and caption. The server re-saves each image without camera or location data (WebP becomes JPG, or PNG if lossless or transparent) and returns, per image, the WordPress media id and URL, or why that image was not added. Only these returned WordPress URLs work in posts (for create_post); attachment and local URLs do not. The same attachment sent again within a day returns the existing item (best effort). An UNKNOWN outcome could not be confirmed; list_media shows whether it arrived. With featured_for_post_id, the server also sets one of the images as that post's featured image, replacing the current one.

activate_plugin

Claude

add_media_from_url

Claude

add_menu_item

Claude

assign_menu_location

Claude

buy_extra_site

Claude

connect_site

Claude

create_category

Claude

create_menu

Claude

create_post

Claude

create_tag

Claude

deactivate_plugin

Claude

delete_category

Claude

delete_comment

Claude

delete_media

Claude

delete_menu

Claude

delete_post

Claude

delete_tag

Claude

disconnect_site

Claude

get_custom_css

Claude

get_post_content

Claude

get_post_seo_analysis

Claude

get_posts_seo_overview

Claude

get_revision

Claude

get_site_overview

Claude

get_site_settings

Claude

get_usage

Claude

install_plugin

Claude

list_authors

Claude

list_categories

Claude

list_comments

Claude

list_media

Claude

list_menu_items

Claude

list_menu_locations

Claude

list_menus

Claude

list_pages

Claude

list_plugins

Claude

list_posts

Claude

list_revisions

Claude

list_sites

Claude

list_tags

Claude

moderate_comment

Claude

patch_post_content

Claude

publish_post

Claude

recommend_purchase

Claude

remove_menu_item

Claude

replace_post_content

Claude

rest_api_read

Claude

rest_api_write

Claude

schedule_post

Claude

search_posts

Claude

search_stock_photos

Claude

set_post_categories_and_tags

Claude

update_category

Claude

update_custom_css

Claude

update_media

Claude

update_post_author

Claude

update_post_excerpt

Claude

update_post_seo

Claude

update_post_title

Claude

update_site_settings

Claude

update_tag

Claude

Similar Apps

Listed on MCP App Store

Listed on MCP App Store

Add this badge to your site or README. It links to this page.

HTML

<a href="https://mcp-app-store.keenethics-labs.com/app/wp-agent-mcp"><img src="https://mcp-app-store.keenethics-labs.com/badges/listed-on-mcp-app-store.svg" alt="Listed on MCP App Store" width="220" height="44"></a>

Markdown

[![Listed on MCP App Store](https://mcp-app-store.keenethics-labs.com/badges/listed-on-mcp-app-store.svg)](https://mcp-app-store.keenethics-labs.com/app/wp-agent-mcp)