MCP server

MCP WordPress Server: Manage Pages, Posts and Blocks

The mcp-wordpress MCP server connects an AI coding agent to the WordPress REST API, with 80 tools for pages, posts, Gutenberg blocks, shortcodes and menus.

Run
npx @leonardobora/mcp-wordpress
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the mcp-wordpress MCP server?

mcp-wordpress is an MCP server over the WordPress REST API, installed with npx @leonardobora/mcp-wordpress or by cloning the repository. After setting WP_SITE_URL, WP_USERNAME and WP_APP_PASSWORD, it gives an agent 80 tools for pages, posts, media, Gutenberg blocks, classic widgets, menus, taxonomies, revisions and Elementor-authored content.

mcp-wordpress wraps the WordPress REST API in 80 MCP tools, so an agent can manage a site's pages, posts, media, menus and taxonomies the same way a person would through wp-admin.

It also handles Gutenberg block content directly, with block-aware reading and editing, plus a shortcode parser for sites that still rely on shortcodes rather than blocks.

What it changes in your workflow

  • An agent reads and edits a page's actual Gutenberg blocks, instead of only overwriting a raw content string.
  • Shortcodes get parsed and can be replaced in bulk, across many posts at once.
  • Revisions, synced patterns and media are reachable the same way pages and posts are.
  • Mutations can run in a dry-run mode first, showing what would change before anything is written.

Setup requirements

mcp-wordpress
AuthA WordPress application password, created in the user's own profile
ConfigWP_SITE_URL, WP_USERNAME, WP_APP_PASSWORD in your client's MCP config
CacheAn optional small PHP add-on for flushing common cache plugins
Elementor contentReadable and editable as page content through the standard tools

Who it is for

Best for

  • Agents managing WordPress content day to day: posts, pages, media and menus through one server.
  • Sites built with Gutenberg blocks that want block-level edits rather than raw HTML overwrites.
  • Bulk shortcode or content changes across many posts, checked with a dry run first.

Not for

  • Editing a page built in Divi rather than Gutenberg or classic WordPress content needs the DiviOps MCP server, built specifically for Divi 5.
  • Driving many different WordPress page builders at once from one server is the wider scope the Respira WordPress MCP server covers across 17 builders.
  • Working with Elementor's own page data model directly, rather than through generic post content, is the job the EMCP Proxy connects an agent to.
  • Turning an existing Elementor page into native Gutenberg blocks, rather than editing either format in place, is a one-time move that the Elementor to Gutenberg migration skill handles.

Use it with UiChemy

This server edits content on a WordPress site that already exists. For a brand new page from a Figma design, UiChemy Figma to WordPress or AI to WordPress builds the editable Elementor or Gutenberg page first. Click Get Started on uichemy.com.