# WordPress MCP Server

> Manage WordPress site content and features through MCP.

- **URL**: https://followmcp.com/en/servers/mcp-wp
- **Category**: Other
- **Origin**: Community
- **Stars**: 101
- **FMRS Score**: 42/100 (Grade D)
- **Source**: https://github.com/InstaWP/mcp-wp

- **Runtimes**: Node.js 18+
- **Auth**: API key / credential required

## Overview
This server lets MCP-compatible clients manage one or more WordPress sites through the WordPress REST API. It provides unified content and taxonomy operations plus tools for media, users, comments, plugins, and the plugin directory. The optional SQL query tool requires a custom REST endpoint on the WordPress site.

## Best for
- WordPress site administrators and content teams managing resources exposed by the WordPress REST API from an MCP client.
- Teams that need to connect multiple WordPress sites through one server instance.

## Not for
- Projects that do not use WordPress or cannot enable the WordPress REST API.
- Workflows that require database changes through the SQL tool, which is limited to read-only queries.
- Workflows that expect SEO metadata keys not registered for REST to be writable by default.

## Required permissions
- Requires a WordPress site URL, username, and application password for REST API authentication.
- The custom SQL endpoint requires a user with the manage_options capability.
- Available operations depend on the WordPress account's permissions and the content types, taxonomies, and plugins enabled on the site.

## Risks
- Content, media, user, comment, and plugin tools can create, update, delete, or change site state; check account permissions and the target site before using credentials.
- WordPress core drops meta keys that are not registered with show_in_rest; SEO plugin fields may not be writable by default.
- The SQL tool allows read-only queries, but queries can still be resource-intensive. The README recommends a database account with SELECT only and no FILE privilege.
- Debug logs go to stderr. The README says credential fields are redacted, but query text, ordinary request bodies, and result rows are not.

## Tools (44)
- `list_sites`: List configured WordPress sites.
- `get_site`: Get details about a specific site configuration.
- `test_site`: Test the connection to a specific WordPress site.
- `list_content`: List content of any type with filtering and pagination.
- `get_content`: Get content by ID and type.
- `create_content`: Create content of any type.
- `update_content`: Update content, including targeted partial edits.
- `delete_content`: Delete content.
- `discover_content_types`: Find content types available on the site.
- `find_content_by_url`: Find content from a WordPress URL and optionally update it.
- `get_content_by_slug`: Search across content types by slug.
- `get_content_summary`: Return a content summary by ID or URL, including fields such as title, status, taxonomies, and word count.
- `discover_taxonomies`: Find taxonomies available on the site.
- `list_terms`: List terms in a taxonomy.
- `get_term`: Get a taxonomy term by ID.
- `create_term`: Create a term in a taxonomy.
- `update_term`: Update a term.
- `delete_term`: Delete a term.
- `assign_terms_to_content`: Assign taxonomy terms to content.
- `get_content_terms`: Get all terms associated with content.
- `list_media`: List media items with pagination and search.
- `get_media`: Get a media item by ID.
- `create_media`: Create a media item from a URL or local file path.
- `update_media`: Update a media item.
- `delete_media`: Delete a media item.
- `edit_media`: Legacy alias for update_media kept for backward compatibility.
- `list_users`: List users with filtering, sorting, and pagination.
- `get_user`: Get a user by ID.
- `create_user`: Create a user.
- `update_user`: Update a user.
- `delete_user`: Delete a user.
- `list_comments`: List comments with filtering, sorting, and pagination.
- `get_comment`: Get a comment by ID.
- `create_comment`: Create a comment.
- `update_comment`: Update a comment.
- `delete_comment`: Delete a comment.
- `list_plugins`: List plugins installed on the site.
- `get_plugin`: Get details about a specific plugin.
- `activate_plugin`: Activate a plugin.
- `deactivate_plugin`: Deactivate a plugin.
- `create_plugin`: Create a plugin.
- `search_plugins`: Search the WordPress.org plugin directory.
- `get_plugin_info`: Get plugin details from the WordPress.org directory.
- `execute_sql_query`: Run read-only SQL queries against the WordPress database through a custom endpoint.
