← Back to Tools Reference

wp_list_pages

Read-only

Description

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

  1. Finding draft pages
    • Prompt: “Show me all pages that are currently in draft status.”
  2. Mapping site structure
    • Prompt: “List all published pages and show me which ones have parent pages so I can understand the site hierarchy.”
  3. Audit for outdated content
    • Prompt: “List all pages and highlight any that haven’t been updated in over a year.”
  4. Finding unpublished pages
    • Prompt: “Are there any pages still in draft that I may have forgotten about?”
  5. 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.

Download Plugin