wp-cli-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WP_SSH | No | SSH connection string | |
| WP_URL | No | Site URL (multisite) | |
| WP_PATH | No | Local WordPress path |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| wp_core_versionB | Get WordPress version |
| wp_core_check_updateB | Check for WordPress core updates |
| wp_plugin_listB | List all installed plugins with status |
| wp_plugin_installC | Install a plugin from wordpress.org |
| wp_plugin_activateC | Activate an installed plugin |
| wp_plugin_deactivateC | Deactivate a plugin |
| wp_plugin_deleteC | Delete a plugin |
| wp_plugin_searchC | Search wordpress.org plugin directory |
| wp_theme_listB | List all installed themes |
| wp_theme_installC | Install a theme from wordpress.org |
| wp_theme_activateC | Activate a theme |
| wp_theme_deleteC | Delete a theme |
| wp_post_listC | List posts of any type |
| wp_post_getC | Get a single post by ID |
| wp_post_createC | Create a new post or page |
| wp_post_updateC | Update an existing post |
| wp_post_deleteC | Delete a post |
| wp_user_listB | List all users |
| wp_user_createC | Create a new user |
| wp_option_getB | Get a WordPress option value |
| wp_option_updateC | Update a WordPress option |
| wp_menu_listB | List all navigation menus |
| wp_menu_createC | Create a new navigation menu |
| wp_menu_item_addC | Add a custom link to a menu |
| wp_media_importC | Import media from URL |
| wp_db_queryB | Execute a raw SQL query (read-only recommended) |
| wp_db_exportC | Export database to SQL file |
| wp_search_replaceC | Search and replace in database |
| wp_scaffold_themeC | Generate a child theme skeleton |
| wp_scaffold_pluginC | Generate a plugin skeleton |
| wp_scaffold_blockC | Generate a Gutenberg block skeleton |
| wp_rewrite_flushB | Flush rewrite rules (fix permalink issues) |
| wp_cache_flushB | Flush the WordPress object cache |
| wp_cli_rawC | Execute any WP-CLI command directly |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 34 tools
Every tool has a clearly distinct purpose targeting specific WordPress resources and actions. For example, wp_post_create, wp_post_update, and wp_post_delete are clearly differentiated for post management, and there are no overlapping tools that could cause confusion.
All tools follow a consistent wp_ prefix with verb_noun pattern (e.g., wp_post_create, wp_plugin_activate). The naming is uniform throughout, using snake_case consistently without any deviations or mixed conventions.
With 34 tools, the count is borderline high for a WordPress CLI server. While it covers many aspects comprehensively, it may feel heavy and could potentially overwhelm agents with its breadth, though each tool serves a specific purpose.
The tool set provides complete coverage for WordPress management, including core, plugins, themes, posts, users, database, and scaffolding. It supports full CRUD operations for key resources like posts and plugins, with no obvious gaps in the domain.