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-onlyDescription
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
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" }
]
} 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
- 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.β
- Recovering deleted content
- Prompt: βGet revision ID 44 β I accidentally deleted a paragraph and need to recover it.β
- Reviewing a specific version
- Prompt: βShow me what post ID 45 looked like in its third revision.β
- Pre-restore check
- Prompt: βGet the full content of revision ID 89 before I decide whether to restore it.β
- 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.
Related Tools
RevisionsStep 1
Get the Plugin
Install Easy MCP AI on your WordPress site to unlock wp_get_revision and all 74 tools instantly.
Step 2
Connect Your AI Client
Already have the plugin? Step-by-step setup guides for Claude, ChatGPT, Cursor, Windsurf, and 10+ more.