WordPress MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | debug, info, warn, error (default: info) | info |
| WORDPRESS_URL | Yes | WordPress site URL (e.g., https://your-site.com) | |
| WORDPRESS_PASSWORD | Yes | Application Password (generate in WP Admin > Users > Profile) | |
| WORDPRESS_USERNAME | Yes | WordPress admin username |
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 | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_postsC | Retrieve WordPress posts with optional filtering and pagination |
| get_postB | Retrieve a single post by ID |
| create_postC | Create a new WordPress post |
| update_postC | Update an existing WordPress post |
| delete_postB | Delete a WordPress post (moves to trash) |
| get_categoriesC | Retrieve WordPress categories |
| get_tagsC | Retrieve WordPress tags |
| publish_postB | Publish a draft or pending post immediately |
| get_site_infoC | Get WordPress site information and capabilities |
| search_siteA | Search across all WordPress content types (posts, pages, categories, tags, media) in a single query. Returns matching results with their type, title, and URL. |
| upload_mediaA | Upload a media file (image, video, PDF, etc.) to WordPress. Provide file data as base64-encoded string. Returns the attachment ID which can be used as featured_media on posts. |
| get_mediaA | Get details of a single media attachment by ID (URL, dimensions, alt text, etc.) |
| list_mediaB | List media attachments in the WordPress media library with optional filtering |
| delete_mediaB | Permanently delete a media attachment from WordPress |
| get_pagesC | Retrieve WordPress pages with optional filtering and pagination |
| get_pageC | Retrieve a single WordPress page by ID |
| create_pageC | Create a new WordPress page |
| update_pageC | Update an existing WordPress page |
| delete_pageB | Delete a WordPress page (moves to trash) |
| publish_pageB | Publish a draft or pending page immediately |
| get_commentsB | Retrieve WordPress comments with optional filtering by post, status, and search |
| create_commentB | Create a new comment on a WordPress post |
| update_commentB | Update an existing comment (content or moderation status) |
| delete_commentA | Delete a WordPress comment (moves to trash by default) |
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 24 tools
Most tools target a distinct resource+action pair (post vs page vs media vs comment), making selection straightforward. Minor overlap exists between search_site and the type-specific get_* listing tools, and publish_post/publish_page partially overlap with update_post/update_page's status changes, but descriptions clarify the intended use.
Every tool follows a clean verb_noun pattern (get_posts, create_page, update_comment, delete_media, publish_post). Singular/plural is used deliberately to distinguish single-item (get_post) from collection (get_posts) operations.
24 tools is on the high side but justified by the breadth of WordPress entities (posts, pages, media, comments, categories, tags) and their lifecycle operations. Each tool maps to a real operation, though a few could be consolidated (e.g. publish_* as an update_post status field).
Posts, pages, comments, and media have near-complete lifecycle coverage, but categories and tags are read-only with no create/update/delete, and media lacks an update operation (e.g. alt text, metadata). There are also dead ends such as no single-comment retrieval and no user/author management.