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 | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/mvtandas/wp-cli-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server