← Back to Tools Reference

wp_get_menu

Read-only

Description

Use this tool to retrieve a specific navigation menu along with all of its current items, their order, and parent-child relationships. Your AI uses this to understand the menu structure before adding, reordering, or removing items.

See it in action

Claude Desktop — MCP Connection
👤
Show me all items in the primary navigation menu.
🤖
Calling Tool: wp_get_menu
Done! I've used wp_get_menu to complete that for you.
{"status": "success"}

Example Use Cases & Sample Prompts

  1. Reviewing navigation structure
    • Prompt: “Show me the full structure of the primary navigation menu.”
  2. Before editing
    • Prompt: “Fetch the footer menu so I can see what links are currently there before we update it.”
  3. Checking a specific menu
    • Prompt: “What links are in the ‘Mobile Menu’ and in what order?”
  4. Audit navigation for dead links
    • Prompt: “List all links in the main navigation so I can verify none of them are broken or outdated.”
  5. Documentation
    • Prompt: “Get all navigation menus and their items so I can document the site structure.”

Access this tool today

Install the Easy MCP AI plugin to securely expose wp_get_menu to Claude, ChatGPT, and more.

Download Plugin