wp_list_pages 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_list_pages
Read-onlyDescription
Your site's full page inventory — IDs, titles, statuses, and parent-child relationships — surfaced in a single conversational query. Easy MCP AI makes this the natural first step in any page workflow: find the right page, then update, delete, or restructure it, all without the WordPress admin panel. Whether you're using Claude Desktop, Cursor, n8n, or Claude Desktop, Cursor, n8n, or any MCP-compatible AI assistant, this read-only call gives your AI the map it needs to act with confidence.
See it in action
wp_list_pages {
"total": 8,
"pages": [
{ "page_id": 2, "title": "Sample Page", "status": "publish" },
{ "page_id": 15, "title": "About Us", "status": "publish" },
{ "page_id": 18, "title": "Contact", "status": "publish" }
]
} Found 8 pages on your site. Here's the complete list.
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.”
Frequently Asked Questions
What does wp_list_pages do?
Your site's full page inventory — IDs, titles, statuses, and parent-child relationships — surfaced in a single conversational query. Easy MCP AI makes this the natural first step in any page workflow: find the right page, then update, delete, or restructure it, all without the WordPress admin panel. Whether you're using Claude Desktop, Cursor, n8n, or Claude Desktop, Cursor, n8n, or any MCP-compatible AI assistant, this read-only call gives your AI the map it needs to act with confidence.
How do I use wp_list_pages 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: "List all published pages on the site."
Do I need Easy MCP AI to use wp_list_pages?
Yes. wp_list_pages 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
PagesHave your AI create a new WordPress page with title, content, and status
Trash or permanently delete a specific page by ID
Fetch the full content and metadata of a specific page by ID
Update a page's title, content, status, or parent by ID
List all registered WordPress navigation menus with IDs and locations
Step 1
Get the Plugin
Install Easy MCP AI on your WordPress site to unlock wp_list_pages 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.