← Back to Tools Reference
Download Plugin
wp_list_pages
Read-onlyDescription
Use this tool to get a complete list of pages on your WordPress site, including their ID, title, status, and parent-child hierarchy. This is the starting point before editing, deleting, or restructuring pages — letting your AI find the right page ID to work with.
See it in action
Claude Desktop — MCP Connection
👤
List all published pages on the site.
🤖
Calling Tool: wp_list_pages
Done! I've used wp_list_pages to complete that for you.
{"status": "success"} Example Use Cases & Sample Prompts
- Finding draft pages
- Prompt: “Show me all pages that are currently in draft status.”
- Mapping site structure
- Prompt: “List all published pages and show me which ones have parent pages so I can understand the site hierarchy.”
- Audit for outdated content
- Prompt: “List all pages and highlight any that haven’t been updated in over a year.”
- Finding unpublished pages
- Prompt: “Are there any pages still in draft that I may have forgotten about?”
- Parent page audit
- Prompt: “List all child pages under the ‘Services’ parent page.”
Access this tool today
Install the Easy MCP AI plugin to securely expose wp_list_pages to Claude, ChatGPT, and more.