wp-mcp-control-server
The wp-mcp-control-server connects AI assistants (Cursor, Claude Desktop, etc.) to WordPress, providing 100+ tools across the following areas:
Site & Settings
Health checks, site info, theme/plugin lists, activity logs, cache purge, security posture
Read/update safe settings (title, tagline, front page, posts per page)
Content Management
Full CRUD for pages, posts, categories, tags, menus, and URL redirects
Build structured landing pages (hero, services, testimonials, FAQ, CTA sections)
Unified search across all content types
Media Library
List, get, upload (from URL or base64), update metadata, and delete media items
Elementor Page Builder
Browse widget catalog, get/list full page element tree, find widgets by type
Update widgets by ID, matched text, button text, or image URL
Insert, remove, clone elements/sections; duplicate entire pages; regenerate CSS cache
Gutenberg & Custom Post Types
Manage Gutenberg blocks and insert block patterns
CRUD for custom post types, custom taxonomies, terms, and ACF/meta fields
SEO
Get, update, and audit page SEO metadata
WooCommerce
CRUD for products, orders, bookings, and refunds; update prices; add order notes
Forms, Users, Comments & Widgets
List forms, submissions, and notifications; manage users and roles; moderate comments; update sidebar widgets
Revisions, Plugins & Cron
List/restore content revisions and snapshots; detect plugin conflicts; activate/deactivate plugins; list cron events
Webhooks
Manage custom, WooCommerce, and form webhooks
Batch Operations
Execute up to 20 API calls in a single request
Utilities
Export full site structure as JSON; generate sitemaps in JSON or XML
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@wp-mcp-control-serverCreate a new page titled 'About Us' using the default template"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
WP MCP Control — MCP Server
TypeScript MCP server that connects Cursor, Claude Desktop, and other MCP clients to the WP MCP Control WordPress plugin.
Current version: 2.2.0 (119+ tools)
Quick Install (new computer)
git clone https://github.com/mpierre135/wp-mcp-control-server.git
cd wp-mcp-control-server
npm install
npm run build
cp .env.example .env
# Edit .env with your site URL and tokenThen add to Claude Desktop or Cursor (see below).
Related MCP server: wp-cli-mcp
Setup
npm install
cp .env.example .env
# Edit .env with your credentials
npm run build
npm startEnvironment Variables
Variable | Required | Default | Description |
| Yes | — | WordPress site URL (no trailing slash) |
| Yes | — | API token from plugin settings |
| No |
| Block destructive operations |
| No |
| Validate without making changes |
Claude Desktop Config
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"wp-mcp-control": {
"command": "node",
"args": ["/absolute/path/to/wp-mcp-control-server/dist/index.js"],
"env": {
"WP_MCP_SITE_URL": "https://example.com",
"WP_MCP_TOKEN": "your-token",
"WP_MCP_SAFE_MODE": "true",
"WP_MCP_DRY_RUN": "false"
}
}
}
}Restart Claude Desktop after saving.
Cursor Config
{
"mcpServers": {
"wp-mcp-control": {
"command": "node",
"args": ["/absolute/path/to/mcp-server/dist/index.js"],
"env": {
"WP_MCP_SITE_URL": "https://example.com",
"WP_MCP_TOKEN": "your-token",
"WP_MCP_SAFE_MODE": "true",
"WP_MCP_DRY_RUN": "false"
}
}
}
}Development
npm run dev # Watch mode
npm run build # Compile to dist/Tool Catalog
Site
wp_health_check— Health and statuswp_get_site_info— Site metadatawp_list_themes/wp_list_plugins— Read-only inventorywp_get_settings/wp_update_settings— Safe settings
Pages
wp_list_pages,wp_get_page,wp_create_page,wp_update_page,wp_delete_pagewp_create_landing_page— Structured landing page builder
Posts
wp_list_posts,wp_get_post,wp_create_post,wp_update_post,wp_delete_post
Media
wp_list_media,wp_get_mediawp_upload_media_from_url,wp_upload_media_from_base64wp_update_media_metadata,wp_delete_media
Taxonomies
wp_list_categories,wp_create_category,wp_update_category,wp_delete_categorywp_list_tags,wp_create_tag,wp_update_tag,wp_delete_tag
Menus
wp_list_menus,wp_get_menu_itemswp_create_menu_item,wp_update_menu_item,wp_delete_menu_itemwp_assign_menu_location
Other
wp_search_content— Unified searchwp_batch_operations— Batch API callswp_get_activity_log,wp_restore_snapshotwp_list_redirects,wp_create_redirect,wp_update_redirect,wp_delete_redirectwp_export_site_structure,wp_generate_sitemap
Elementor (Phase 1–3)
wp_elementor_get_widget_catalog— Widget catalog with editable settingswp_elementor_get_structure— Full Elementor element treewp_elementor_list_elements— Flat list of widgets with text previewswp_elementor_find_widgets— Filter by widget_typewp_elementor_update_element— Update catalog-editable widget by element IDwp_elementor_update_text— Find widget by text and replacewp_elementor_update_button— Update button text/URL by match_textwp_elementor_update_image— Update image by element_id or match_urlwp_elementor_insert_widget— Add widget to column/containerwp_elementor_insert_section— Add section (hero/cta/features presets)wp_elementor_remove_element— Delete element by IDwp_elementor_clone_element— Clone subtree with new IDswp_elementor_duplicate_page— Clone Elementor page as draftwp_elementor_find_parent— Find column/container for insertwp_elementor_regenerate_css— Regenerate Elementor CSS cache
v2.0 — Discovery and diagnostics
wp_get_site_blueprint,wp_site_audit,wp_security_posture,wp_purge_cache
v2.0 — Gutenberg, CPT, meta
wp_get_block_structure,wp_list_blocks,wp_update_block,wp_insert_block_patternwp_list_post_types,wp_list_cpt_items,wp_get_cpt_item,wp_create_cpt_item,wp_update_cpt_item,wp_delete_cpt_itemwp_list_taxonomies,wp_list_taxonomy_terms,wp_create_taxonomy_termwp_get_meta_catalog,wp_get_acf_fields,wp_update_acf_fields
v2.0 — SEO and WooCommerce
wp_get_page_seo,wp_update_page_seo,wp_audit_seowp_list_products,wp_get_product,wp_create_product,wp_update_product,wp_delete_product,wp_update_product_pricewp_list_orders,wp_get_order,wp_update_order,wp_add_order_note,wp_refund_orderwp_list_booking_products,wp_get_booking
v2.0 — Forms, users, comments, widgets
wp_list_forms,wp_get_form,wp_update_form_notifications,wp_list_form_submissionswp_list_users,wp_get_user,wp_list_roles,wp_create_userwp_list_comments,wp_moderate_comment,wp_reply_to_commentwp_list_sidebars,wp_list_widget_instances,wp_update_widget_instance
v2.0 — Revisions, plugins, cron
wp_list_revisions,wp_get_revision,wp_get_revision_diff,wp_restore_revision,wp_get_snapshot_diffwp_get_plugin_conflicts,wp_get_plugin_updates,wp_activate_plugin,wp_deactivate_pluginwp_list_cron_events
v2.1 — Webhooks
wp_list_webhook_topics,wp_list_custom_webhooks,wp_create_custom_webhook,wp_test_custom_webhookwp_list_woocommerce_webhooks,wp_create_woocommerce_webhook,wp_delete_woocommerce_webhookwp_list_form_webhooks,wp_create_form_webhook,wp_update_form_webhook,wp_delete_form_webhook
Server version: 2.2.0 — 119+ tools total
Headers Sent to WordPress
Every request includes:
Authorization: Bearer <token>X-WP-MCP-Dry-Run: true|falseX-WP-MCP-Safe-Mode: true|false
These override plugin defaults when set in MCP env vars.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mpierre135/wp-mcp-control-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server