- AUDIT
- TARGET
- ACTION
- REVIEW
Short answer
How do I delete old posts and pages with my AI?
Your AI agent uses your WordPress connection to list your existing content and then executes deletions for the specific items you target. You get a clean site without manually clicking through the WordPress admin dashboard. This breakdown shows how the agent identifies and removes your content.
Cleanup outcomes.
Where your content lands.
The agent handles the heavy lifting of finding and removing specific items.
AUDIT
Content inventory
The AI pulls a full list of your posts and pages. You see exactly what is currently live on your site.
TARGET
Specific selection
You tell the agent which posts are outdated or irrelevant. It identifies the exact IDs needed for removal.
ACTION
Permanent removal
The agent deletes the chosen posts or pages. Your site is updated immediately without manual intervention.
REVIEW
Human verification
You decide which content stays and which goes. The AI only deletes what you explicitly confirm.
The workflow
What your AI does when the request arrives.
The agent handles the heavy lifting of site navigation and execution.
Scan your site
The agent looks through your entire WordPress database to find every published post and page.
list_blog_postsIdentify targets
The agent filters the list based on your criteria, like date, title, or category, to find the old content.
list_blog_postsExecute deletion
Once you confirm, the agent removes the specific posts you identified from your site.
delete_postConfirm results
The agent verifies the items are gone and reports back to you.
list_blog_posts
Try it
Copy these to start.
Use these prompts to begin your cleanup.
Starting points
Swap out the bracketed text with your actual site details.
WordPress Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_uw0wz2afJasiiS3mN2qtyQVu5rv5vKrcdbEKxq2k/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — WordPress capabilities are ready to use.
{
"mcpServers": {
"wordpress-mcp": {
"url": "https://edge.vinkius.com/vk_preview_uw0wz2afJasiiS3mN2qtyQVu5rv5vKrcdbEKxq2k/mcp"
}
}
}List all my blog posts from 2022 so I can see what is outdated.
Find all pages on my site that mention 'old product name' and list them.
Delete the post titled 'Summer Sale 2021' from my WordPress site.
Show me all my published posts so I can decide what to remove.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect WordPress once, then ask.
One connection links your site to your AI. Your credentials stay encrypted and secure on our side.
Connect WordPress to your AIFAQ
How this task behaves.
- 01
Can the AI create new blog posts?
No. This specific connector is built for listing and deleting existing content.
- 02
Will the AI delete posts without asking me?
No. You must instruct the agent to delete specific items; it does not perform bulk deletions autonomously.
- 03
Can the AI change my theme or plugins?
No. The agent only has access to post and page data.
- 04
Does the AI delete posts from the trash or permanently?
The tool performs a direct deletion of the post as specified by the command.
- 05
Can I use this to update the text inside a post?
No. The current tools only allow for listing and deleting content, not editing the body text.
More questions about WordPress? The Connector page answers them. See everything the WordPress Connector can do
Connect WordPress to Claude, Cursor, ChatGPT & more
