wp_get_revision is one of 162 MCP tools included in Easy MCP AI β€” the WordPress plugin that connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin β†’

wp_get_revision

Read-only

Description

Time travel for your content: fetch any saved revision by ID and read the exact post as it existed at that moment. Easy MCP AI retrieves the full block markup or classic content of the revision so your AI client can diff it against the current version, extract a paragraph that was accidentally deleted, or confirm whether the version is worth restoring β€” all in plain conversation before you commit to any change.

See it in action

Claude Desktop β€” MCP Connection
πŸ‘€
Show me the full content of revision ID 56 so I can compare it to the current version.
πŸ€–
Tool call wp_list_revisions

Fetching revision history for the post…

{
  "post_id": 42,
  "total": 4,
  "revisions": [
    { "revision_id": 55, "date": "2024-03-15 14:22", "author": "admin" },
    { "revision_id": 52, "date": "2024-03-14 09:10", "author": "admin" }
  ]
}
next step
Tool called wp_get_revision
{
  "revision_id": 55,
  "post_id": 42,
  "date": "2024-03-15 14:22",
  "author": "admin",
  "title": "Productivity Tips for 2024",
  "modified_fields": ["content", "title"]
}

Found revision #55 (most recent, saved March 15 by admin). Here are the full details.

Example Use Cases & Sample Prompts

  1. Comparing a revision to current content
    • Prompt: β€œShow me the full content of revision ID 56 so I can compare it to the current version.”
  2. Recovering deleted content
    • Prompt: β€œGet revision ID 44 β€” I accidentally deleted a paragraph and need to recover it.”
  3. Reviewing a specific version
    • Prompt: β€œShow me what post ID 45 looked like in its third revision.”
  4. Pre-restore check
    • Prompt: β€œGet the full content of revision ID 89 before I decide whether to restore it.”
  5. Content archaeology
    • Prompt: β€œPull the oldest revision of the β€˜About Us’ page so I can see the original copy.”

Frequently Asked Questions

What does wp_get_revision do?

Time travel for your content: fetch any saved revision by ID and read the exact post as it existed at that moment. Easy MCP AI retrieves the full block markup or classic content of the revision so your AI client can diff it against the current version, extract a paragraph that was accidentally deleted, or confirm whether the version is worth restoring β€” all in plain conversation before you commit to any change.

How do I use wp_get_revision with my AI assistant?

Install the Easy MCP AI WordPress plugin, generate an API token in your dashboard, and connect your AI client (Claude, ChatGPT, Cursor, or any MCP-compatible assistant). Then simply describe what you want in natural language β€” for example: "Show me the full content of revision ID 56 so I can compare it to the current version."

Do I need Easy MCP AI to use wp_get_revision?

Yes. wp_get_revision is one of 162 MCP tools bundled inside the Easy MCP AI WordPress plugin. Install the free plugin from WordPress.org, connect your AI client, and this tool becomes available immediately β€” no coding required.

Step 1

Get the Plugin

Install Easy MCP AI on your WordPress site to unlock wp_get_revision and all 74 tools instantly.

Download Free Plugin

Step 2

Connect Your AI Client

Already have the plugin? Step-by-step setup guides for Claude, ChatGPT, Cursor, Windsurf, and 10+ more.

View Setup Guides β†’

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates β€” be the first to know what's next.

No spam, unsubscribe anytime.