wp_create_menu_item is one of 214 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_create_menu_item

Destructive

Description

Your navigation menu is how visitors find their way around, but adding a link normally means clicking into the menu editor and dragging items into place. Instead, just tell Claude or ChatGPT what to add - a link to a page, a blog post, a category archive, or any custom URL - along with the label you want and where it should sit, and Easy MCP AI drops it into the right menu. The new item appears on your live site immediately, no drag-and-drop needed.

See it in action

Claude Desktop — MCP Connection
👤
Add the new 'Pricing' page to the primary navigation menu.
🤖
Tool called wp_create_menu_item
{
  "item_id": 21,
  "menu_id": 3,
  "title": "Services",
  "url": "/services/",
  "position": 3,
  "type": "custom"
}

New item 'Services' has been added to Primary Navigation at position 3.

Example Use Cases & Sample Prompts

  1. Adding a new page to navigation
    • Prompt: “Add the new ‘Pricing’ page to the primary navigation menu.”
  2. Adding a custom link
    • Prompt: “Add a ‘Blog’ link pointing to ‘/blog’ at the end of the header menu.”
  3. Building a dropdown
    • Prompt: “Add three submenu items under ‘Services’ in the main menu: ‘SEO’, ‘Web Design’, and ‘Content’.”
  4. Adding a CTA to the menu
    • Prompt: “Add a ‘Get Started’ link to the header menu as the last item, pointing to the /contact page.”
  5. Linking to a category
    • Prompt: “Add a ‘Tutorials’ link to the blog navigation that points to the Tutorials category archive.”

Frequently Asked Questions

What does wp_create_menu_item do?

Your navigation menu is how visitors find their way around, but adding a link normally means clicking into the menu editor and dragging items into place. Instead, just tell Claude or ChatGPT what to add - a link to a page, a blog post, a category archive, or any custom URL - along with the label you want and where it should sit, and Easy MCP AI drops it into the right menu. The new item appears on your live site immediately, no drag-and-drop needed.

How do I use wp_create_menu_item 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: "Add the new 'Pricing' page to the primary navigation menu."

Do I need Easy MCP AI to use wp_create_menu_item?

Yes. wp_create_menu_item is one of 214 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_create_menu_item and all 96 core 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.