wp_update_cpt_item 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_update_cpt_item

Destructive

Description

Updating a CPT item — rescheduling an event, revising a project description, promoting a draft to published — is a conversation with your AI client when Easy MCP AI is installed. Provide the CPT slug, the item ID, and the fields to change, and Easy MCP AI applies the update through the WordPress REST API in one round trip. All 162 Easy MCP AI tools follow the same pattern: AI client → Easy MCP AI → WordPress, with no Node.js or external proxy involved.

See it in action

Claude Desktop — MCP Connection
👤
Update portfolio item ID 88 to change the project description to the new copy I'll provide.
🤖
Tool call wp_list_cpt_items

Locating the custom post type item to update…

{
  "post_type": "product",
  "total": 5,
  "items": [
    { "id": 201, "title": "Premium Plan", "status": "publish", "meta": { "price": "79" } },
    { "id": 202, "title": "Starter Plan", "status": "publish", "meta": { "price": "19" } }
  ]
}
next step
Tool called wp_update_cpt_item
{
  "id": 201,
  "post_type": "product",
  "title": "Premium Plan",
  "status": "publish",
  "updated_fields": ["title", "meta.price"]
}

Found product #201 — 'Premium Plan'. Price has been updated to $99 and meta fields saved.

Example Use Cases & Sample Prompts

  1. Updating a portfolio project
    • Prompt: “Update portfolio item ID 88 to change the project description to the new copy I’ll provide.”
  2. Rescheduling an event
    • Prompt: “Update event ID 120 to change the date to March 15, 2025.”
  3. Revising a testimonial
    • Prompt: “Update testimonial ID 34 — the client wants to adjust their quote.”
  4. Publishing a draft CPT item
    • Prompt: “Publish the draft portfolio item ID 102 that I just finished reviewing.”
  5. Bulk status update
    • Prompt: “Archive all events from 2023 by setting their status to ‘private’.”

Frequently Asked Questions

What does wp_update_cpt_item do?

Updating a CPT item — rescheduling an event, revising a project description, promoting a draft to published — is a conversation with your AI client when Easy MCP AI is installed. Provide the CPT slug, the item ID, and the fields to change, and Easy MCP AI applies the update through the WordPress REST API in one round trip. All 162 Easy MCP AI tools follow the same pattern: AI client → Easy MCP AI → WordPress, with no Node.js or external proxy involved.

How do I use wp_update_cpt_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: "Update portfolio item ID 88 to change the project description to the new copy I'll provide."

Do I need Easy MCP AI to use wp_update_cpt_item?

Yes. wp_update_cpt_item 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_update_cpt_item 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.