wp_list_blocks 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_blocks

Read-only

Description

Reusable blocks — stored as the wp_block post type — are the building blocks of consistent, sitewide design. Easy MCP AI gives your AI client a paginated, filterable view of every synced pattern on your site, making it easy to take inventory before a redesign or track down a pattern by name. Finding the right block ID here is the necessary first step before reading, updating, or removing a specific pattern.

See it in action

Claude Desktop — MCP Connection
👤
Show me all my reusable blocks so I can see what synced patterns I have.
🤖
Tool called wp_list_blocks
{
  "total": 3,
  "blocks": [
    { "block_id": 101, "title": "Newsletter CTA", "status": "publish" },
    { "block_id": 102, "title": "Team Bio Card", "status": "publish" },
    { "block_id": 103, "title": "Pricing Table", "status": "draft" }
  ]
}

Found 3 reusable blocks in your block library.

Example Use Cases & Sample Prompts

  1. Auditing synced patterns
    • Prompt: “Show me all my reusable blocks so I can see what synced patterns I have.”
  2. Finding a block to update
    • Prompt: “List all reusable blocks containing the word ‘CTA’ in the title.”
  3. Content inventory
    • Prompt: “How many reusable blocks do I currently have on my site?”
  4. Pre-update review
    • Prompt: “Show me all reusable blocks before I start updating the site’s design.”
  5. Finding orphaned blocks
    • Prompt: “List all reusable blocks — I want to find any that are no longer being used.”

Frequently Asked Questions

What does wp_list_blocks do?

Reusable blocks — stored as the wp_block post type — are the building blocks of consistent, sitewide design. Easy MCP AI gives your AI client a paginated, filterable view of every synced pattern on your site, making it easy to take inventory before a redesign or track down a pattern by name. Finding the right block ID here is the necessary first step before reading, updating, or removing a specific pattern.

How do I use wp_list_blocks 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: "Show me all my reusable blocks so I can see what synced patterns I have."

Do I need Easy MCP AI to use wp_list_blocks?

Yes. wp_list_blocks 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_blocks 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.