wp_list_menu_items 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_menu_items

Read-only

Description

Item IDs, labels, URLs, parent references, and sort order β€” Easy MCP AI surfaces all of it for a specific menu in one call, so your AI client can target exact items for sub-menu insertion or removal without any guesswork. This is the essential read step before any structural navigation edit when working through Claude Desktop, Cursor, Zed, or any of the other 12 supported clients. Easy MCP AI routes the request straight to your WordPress site; no external proxy sits in the middle.

See it in action

Claude Desktop β€” MCP Connection
πŸ‘€
List all items in the main header navigation menu.
πŸ€–
Tool called wp_list_menu_items
{
  "menu_id": 3,
  "menu_name": "Primary Navigation",
  "total": 6,
  "items": [
    { "id": 12, "title": "Home", "type": "page", "position": 1 },
    { "id": 13, "title": "About", "type": "page", "position": 2 },
    { "id": 14, "title": "Blog", "type": "post_type", "position": 3 }
  ]
}

Primary Navigation has 6 items. Here's the full list.

Example Use Cases & Sample Prompts

  1. Full menu review
    • Prompt: β€œList all items in the primary navigation menu so I can see the full structure.”
  2. Checking dropdown structure
    • Prompt: β€œList all items in the header menu and show which ones are dropdown children.”
  3. Finding outdated links
    • Prompt: β€œList all footer menu items and flag any that link to pages that no longer exist.”
  4. Menu restructure planning
    • Prompt: β€œShow me all items in the main menu with their order so I can plan how to rearrange them.”
  5. Validating menu after change
    • Prompt: β€œAfter adding the new β€˜Pricing’ link, list all menu items to confirm it’s in the right position.”

Frequently Asked Questions

What does wp_list_menu_items do?

Item IDs, labels, URLs, parent references, and sort order β€” Easy MCP AI surfaces all of it for a specific menu in one call, so your AI client can target exact items for sub-menu insertion or removal without any guesswork. This is the essential read step before any structural navigation edit when working through Claude Desktop, Cursor, Zed, or any of the other 12 supported clients. Easy MCP AI routes the request straight to your WordPress site; no external proxy sits in the middle.

How do I use wp_list_menu_items 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 items in the main header navigation menu."

Do I need Easy MCP AI to use wp_list_menu_items?

Yes. wp_list_menu_items 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_menu_items 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.