Wordpress MCP Agent Bridge logo

Wordpress MCP Agent Bridge

by nipun-arora

WordPress MCP bridge for Rank Math SEO, JSON-LD schema, verified writes, snapshots, restores, and guarded content changes.

Install Wordpress MCP Agent Bridge

Run the project’s own setup commands, in order.

Setup steps from the project

nipun-arora/wordpress-mcp-agent-bridge installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    docker build -f docker/Dockerfile -t agent-bridge-mcp-demo:latest .
    

Overview

nipun-arora/wordpress-mcp-agent-bridge MCP server connects self-hosted WordPress sites to MCP clients through the official WordPress MCP Adapter endpoint. It exposes Rank Math SEO and JSON-LD schema operations, content snapshots, restore workflows, health checks, and cache purging, with database read-back verification for writes. Additive-only protections, capability checks, audit-oriented snapshots, and read-only or disabled kill switches help control agent changes. Reach for it when an agent needs to manage WordPress SEO and schema without bypassing authorization or losing a recovery path.

Use cases

  • Update Rank Math SEO fields on WordPress posts
  • Manage JSON-LD schema entries with confirmation
  • Capture and verify post content snapshots
  • Restore a post after validating its snapshot hash
  • Keep agent edits read-only during maintenance

Key features

  • Rank Math SEO field read and write operations
  • JSON-LD schema inspection and updates
  • SHA-256 content hashes and snapshots
  • Verified database read-back after writes
  • Additive-only write confirmation
  • Read-only and disabled configuration switches

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

12/12 checks healthy over the last 44d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
Last commit2mo agoMost recent push to the default branch.

How Wordpress MCP Agent Bridge works

What nipun-arora/wordpress-mcp-agent-bridge MCP server does

The nipun-arora/wordpress-mcp-agent-bridge MCP server adds an agent-facing safety and SEO layer to self-hosted WordPress. It is intended for WordPress.org installations rather than WordPress.com, and can operate alongside Elementor editing tools without writing Elementor's _elementor_data field itself.

Its main scope is Rank Math metadata, JSON-LD schema, snapshots, verification, and controlled writes. The bridge can read and update Rank Math SEO fields for an individual post, read and update schema entries, report installation and environment health, expose a snapshot manifest, restore saved content, and purge LiteSpeed cache through a separate route. The documented abilities are surfaced under the agent-bridge category when the WordPress Abilities API is available.

How it works

MCP clients connect through the official WordPress MCP Adapter endpoint. The adapter can expose the bridge's public abilities as MCP tools. WordPress 6.9 and later includes the required Abilities API; older supported installations can use the standalone mcp-adapter plugin.

Before reporting an SEO or schema write as successful, the bridge reads the value back from WordPress and compares it with the requested value while accounting for WordPress type conversion. It also maintains a SHA-256 content hash for each page and post. The hash covers post content, Elementor data, and the bridge-managed SEO and schema metadata, allowing callers to detect changes.

Restores require two checks: the supplied confirmation token must match the snapshot's own hash, and the snapshot must recompute to that same hash. The caller must also provide a fresh confirmation of the post's current live state. A successful restore returns the resulting document so the caller can verify convergence.

Setup and configuration

The documented runtime requirements are WordPress 6.9 or newer and PHP 8.1 or newer. Authentication uses a WordPress Application Password through the REST surface. The bridge is designed for Claude Code and other MCP clients, including Cursor, Windsurf, Codex CLI, and Gemini CLI.

Two constants in wp-config.php provide operator-controlled shutdown modes:

  • AGENT_BRIDGE_DISABLED makes all routes return HTTP 503, including reads.
  • AGENT_BRIDGE_READ_ONLY blocks writes while leaving reads available.

The additive-only behavior can be disabled with the agent_bridge_additive_only filter. By default, changes to posts that existed before activation require the current content hash in the X-Agent-Bridge-Confirm header. Newer content is exempt from that pre-existing-content check.

Tools and capabilities

The documented abilities include:

  • get-health: reports versions and SSL or proxy diagnostics, requiring manage_options.
  • get-seo and update-seo: read or modify Rank Math SEO fields for a post.
  • get-schema and update-schema: read or modify JSON-LD schema entries; sending schema: null deletes an entry.
  • Snapshot manifest and restore operations for tracking and recovering post state.
  • A separate cache-purge operation for LiteSpeed cache.

Post-scoped operations check edit_post for the specific post. Site-wide operations such as restore, health, cache purge, and hash backfill require manage_options where documented. The same permission and safety checks apply through REST routes and the Abilities API.

Limitations and notes

The bridge is for self-hosted WordPress, not WordPress.com. Its documented WordPress baseline is 6.9+, with PHP 8.1+. Elementor editing is outside its write scope: the bridge does not modify _elementor_data and is intended to complement, rather than replace, an Elementor MCP.

Read-only mode also blocks snapshot-manifest hash backfills, even though that operation can be requested through a GET parameter. Cache purging is intentionally separate from content writes so an agent can write, purge LiteSpeed cache, and then perform a verification read in sequence.

The nipun-arora/wordpress-mcp-agent-bridge MCP server does not treat an HTTP 200 response alone as proof that a write persisted. Agents must follow the snapshot and confirmation requirements when changing pre-existing content or restoring a document.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Wordpress MCP Agent Bridge

nipun-arora/wordpress-mcp-agent-bridge is an MCP server that connects self-hosted WordPress to MCP clients through the WordPress MCP Adapter. Its main tools read and update Rank Math SEO fields, manage JSON-LD schema, expose health information, create snapshot manifests, restore content, and purge LiteSpeed cache with permission and verification checks.

Install it for a self-hosted WordPress.org site, then connect an MCP client through the official WordPress MCP Adapter endpoint and authenticate with a WordPress Application Password. WordPress 6.9+ provides the Abilities API; older supported installations can add the standalone mcp-adapter plugin.

Yes, Cursor is named as a supported MCP client. It connects through the same official WordPress MCP Adapter endpoint used by Claude Code and other MCP clients, with the REST surface requiring a WordPress Application Password.

It reads SEO and schema values back from the WordPress database immediately after writing them and compares the stored values with the requested values. If the read-back does not match, the route returns an error instead of reporting the change as saved.

Set `AGENT_BRIDGE_READ_ONLY` in `wp-config.php`. The bridge then refuses writes while continuing to serve reads, and it also blocks snapshot-manifest hash backfills requested through the rebuild operation.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewWordpress MCP Agent Bridge AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/nipun-arora-wordpress-mcp-agent-bridge?style=directory)](https://allmcps.com/mcp/nipun-arora-wordpress-mcp-agent-bridge)
HTML Embed
<a href="https://allmcps.com/mcp/nipun-arora-wordpress-mcp-agent-bridge"><img src="https://allmcps.com/api/badge/nipun-arora-wordpress-mcp-agent-bridge?style=directory" alt="Wordpress MCP Agent Bridge on AllMCPs" /></a>