MCP server for WordPress block-level content management with preference-aware editing
MCP server for WordPress block-level content management with preference-aware editing
Here's where Block MCP wins. Most other WordPress MCPs are wrappers around the standard WordPress REST API — fine for writing, but wrong for editing. "Change a heading, then add a button, then fix the next paragraph" could result in your post needing major rehab to get back to correct syntax. Block MCP is the answer to an WordPress block editor MCP that just works.
Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| get_page_blocks | Read a post's blocks. Supports outline, summary_only, search, block_name, render, fields, persist_refs |
| update_block | Update one block's attributes/innerHTML (by flat_index or ref) |
| update_blocks | Apply N independent updates atomically in ONE revision (max 50). All-or-nothing validation — any stale ref / out-of-range index / dual-storage rejection / dupli |
| insert_blocks | Insert blocks at a position (by counter or ref) |
| delete_block | Remove block(s) (by counter or ref) |
| replace_block_range | Atomic single-revision swap of N blocks for M blocks |
| rewrite_post_blocks | Full page rewrite |
| edit_block_tree | 9 path-or-ref-based structural ops |
| insert_pattern | Insert a pattern, synced or inline |
| create_pattern | Create a synced pattern from structured blocks or raw content, with sync-status control |
| revert_to_revision | Roll back to a prior revision ID |
| create_post | Create a post or page (draft, publish, future) — accepts blocks or HTML |
| update_post | Update post metadata, status, terms — covers publish/trash/untrash transitions |
| list_terms | List taxonomy terms (categories, tags, custom) for ID lookup |
| upload_media | Upload via local path, URL sideload (with SSRF guard), or base64. Returns attachment ID + URL |
| list_block_types | Browse registered block types with preference tiers, style variations, and nesting constraints (parent/ancestor/allowed_blocks). Pass include_supports:true for |
| get_site_usage | Block/pattern usage analytics |
| list_binding_sources | Registered block bindings sources (e.g. core/post-meta, core/pattern-overrides) a block's metadata.bindings can reference |
| yoast_get_seo | Read SEO metadata: title, description, robots, OG, Twitter, schema, scores |
| list_templates | Browse a block theme's templates and template parts (filter by type, area, post_type, slug, source) |
| get_template | A single template's metadata, raw content, and parsed blocks |
| update_template | Replace a template/part's entire content, gated by a site setting (off by default) |
| reset_template | Delete a template's database override, reverting it to the theme file |
{
"mcpServers": {
"block-mcp": {
"command": "node",
"args": [
"/absolute/path/to/block-mcp/dist/index.cjs"
],
"env": {
"WORDPRESS_URL": "https://example.com",
"WORDPRESS_USER": "your-wp-username",
"WORDPRESS_APP_PASSWORD": "YOUR_WORDPRESS_APP_PASSWORD"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| WORDPRESS_URL | Declared in the maintainer’s client configuration. | Check documentation |
| WORDPRESS_USER | Declared in the maintainer’s client configuration. | Check documentation |
| WORDPRESS_APP_PASSWORD | Declared in the maintainer’s client configuration. | Check documentation |
Read, search and edit files inside allowed directories with the Model Context Protocol reference Filesystem server.
Search and read your Drive — Docs, Sheets and files become context your assistant can actually use.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Build a programmable telecommunications stack for connecting telephony services with the Internet via a cloud-based utility.
Chat with your second brain — search, read and write vault notes through the Local REST API.
Manage Proxmox hypervisors through a Model Context Protocol server, providing a clean interface for nodes, VMs, and containers.