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-onlyDescription
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
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
- Auditing synced patterns
- Prompt: “Show me all my reusable blocks so I can see what synced patterns I have.”
- Finding a block to update
- Prompt: “List all reusable blocks containing the word ‘CTA’ in the title.”
- Content inventory
- Prompt: “How many reusable blocks do I currently have on my site?”
- Pre-update review
- Prompt: “Show me all reusable blocks before I start updating the site’s design.”
- 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.
Related Tools
BlocksCreate a new reusable block (synced pattern) with a title and block content
Delete a reusable block (trash or force-delete)
Get a single reusable block by ID with full block markup
Update an existing reusable block's title or content — syncs everywhere it's embedded
Step 1
Get the Plugin
Install Easy MCP AI on your WordPress site to unlock wp_list_blocks and all 74 tools instantly.
Step 2
Connect Your AI Client
Already have the plugin? Step-by-step setup guides for Claude, ChatGPT, Cursor, Windsurf, and 10+ more.