WP Agent - WordPress publishing & management with Claude
WordPress MCP server: publish posts, AI images, SEO and full site management, self-hosted
Links
README
From the repo.
WP Agent — WordPress MCP Server
WordPress publishing and management with Claude. Connect your self-hosted WordPress site to AI assistants (Claude, ChatGPT, Cursor, and any MCP client) and run your whole site from chat: write and publish posts and pages, create AI featured and in-post images, manage SEO, media, categories, tags and menus, moderate comments, and manage plugins, themes and site settings — all on your own site, with your own credentials.
WP Agent is a Model Context Protocol (MCP) server for WordPress. 69 tools. Remote Streamable HTTP with OAuth 2.0 — keyless, no API key to paste. A free account is created on first connect (25 posts/month, no card).
- 🌐 Website: https://www.getwpagent.com
- 📚 Install & docs: https://www.getwpagent.com/docs
- 🔌 Endpoint:
https://mcp.getwpagent.com/mcp
Connect
WP Agent is a remote MCP server — no install, no local process. Point your client at the endpoint; OAuth runs automatically on first connect.
- Endpoint:
https://mcp.getwpagent.com/mcp(Streamable HTTP) - Auth: OAuth 2.0 (Dynamic Client Registration + PKCE — keyless). An account is auto-created on first sign-in.
Claude / generic MCP client (JSON)
{
"mcpServers": {
"wp-agent": {
"url": "https://mcp.getwpagent.com/mcp"
}
}
}
Cursor
Add the url above in Cursor's Settings → Tools & MCP, or install from the listing on
cursor.directory.
Full per-client instructions: https://www.getwpagent.com/docs
To connect a WordPress site, install the free WP Agent Connector plugin (or use an application password on WordPress 5.6+); the assistant walks you through it on first use.
What you can do (69 tools)
| Area | Example tools |
|---|---|
| Content generation | create_post, replace_post_content, patch_post_content, generate_image |
| Posts & pages | list_posts, list_pages, publish_post, schedule_post, update_post_title, update_post_excerpt |
| SEO | get_post_seo_analysis, update_post_seo, get_posts_seo_overview |
| Images & media | generate_image, set_featured_image, add_media_from_url, search_stock_photos, update_media |
| Taxonomies & menus | create_category, create_tag, list_categories, create_menu, add_menu_item |
| Comments | list_comments, moderate_comment, delete_comment |
| Site management | get_site_settings, update_site_settings, install_plugin, activate_plugin, update_custom_css |
| Sites & usage | list_sites, connect_site, get_site_overview, get_usage |
Read operations are read-only; destructive and publish operations require explicit user intent.
How it works / data ownership
WP Agent does not wrap or resell a third-party API. Each user connects their own self-hosted WordPress site with their own credentials. WP Agent provides the AI content and site-management infrastructure. Credentials are encrypted at rest; OAuth tokens are scoped per user. Image generation exists only to create supporting visuals (featured/hero/in-post images) saved into your own WordPress media library — not as a standalone service.
Support
- Docs: https://www.getwpagent.com/docs
- Email: hello@getwpagent.com
- Issues: use this repository's issue tracker.
License
MIT — see LICENSE. (This repository hosts the MCP server's public metadata and
documentation; the server itself runs at mcp.getwpagent.com.)
Config for your environment
Use the endpoint URL below in your config. No API key — you connect directly.
Tool
OS
Config file: ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server": {
"url": "https://mcp.getwpagent.com/mcp"
}
}
}Paste into mcpServers in the config file. Restart Cursor after saving.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.