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-only

Description

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

Claude Desktop — MCP Connection
👤
List all published pages on the site.
🤖
Tool called 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

  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.”

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.

Step 1

Get the Plugin

Install Easy MCP AI on your WordPress site to unlock wp_list_pages and all 74 tools instantly.

Download Free Plugin

Step 2

Connect Your AI Client

Already have the plugin? Step-by-step setup guides for Claude, ChatGPT, Cursor, Windsurf, and 10+ more.

View Setup Guides →

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.