wp_get_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_get_cpt_item

Read-only

Description

Targeted inspection of a single CPT record — full content, title, status, and metadata — is what this tool delivers. Once you've found the item ID from the list tool, Easy MCP AI fetches the complete record from any REST-API-enabled custom post type and surfaces it in your AI conversation. It's the read-before-write step your AI client uses to review a portfolio entry, event, or product before proposing changes.

See it in action

Claude Desktop — MCP Connection
👤
Get the full details of portfolio item ID 88.
🤖
Tool called wp_get_cpt_item
{
  "id": 201,
  "post_type": "product",
  "title": "Premium Plan",
  "status": "publish",
  "meta": { "price": "99", "billing": "monthly", "features": "All features included" },
  "url": "https://yoursite.com/products/premium-plan/"
}

Here are the full details for that custom post type item.

Example Use Cases & Sample Prompts

  1. Reviewing a portfolio entry
    • Prompt: “Get the full details of portfolio item ID 88.”
  2. Checking an event listing
    • Prompt: “Show me the full content of event ID 120.”
  3. Auditing a product entry
    • Prompt: “Get all the details for the ‘products’ post type item with ID 55.”
  4. Pre-edit review
    • Prompt: “Show me testimonial ID 34 before I update it.”
  5. Debugging a CPT record
    • Prompt: “Retrieve the raw content of resource ID 67 so I can check its formatting.”

Frequently Asked Questions

What does wp_get_cpt_item do?

Targeted inspection of a single CPT record — full content, title, status, and metadata — is what this tool delivers. Once you've found the item ID from the list tool, Easy MCP AI fetches the complete record from any REST-API-enabled custom post type and surfaces it in your AI conversation. It's the read-before-write step your AI client uses to review a portfolio entry, event, or product before proposing changes.

How do I use wp_get_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: "Get the full details of portfolio item ID 88."

Do I need Easy MCP AI to use wp_get_cpt_item?

Yes. wp_get_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_get_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.