List Block Types
Lists the block types this site can use, from WordPress and from plugins, with each one's description, where it may be placed (some blocks only go inside a particular parent), and optionally its settings with their types and allowed values. Read-only. Use it to find the right block before writing block markup, and to check a setting's name and allowed values. Pass "name" for one block's full settings.
Also known as: available blocks, block library, what blocks can I use, block settings reference.
| Property | Value |
|---|---|
| Ability slug | mosmcp/block-types-list |
| Wire tool name | mosmcp__block-types-list |
| Category | Block Editor (mosmcp-blocks) |
| Plan | Free |
Required access
| Requirement | Value |
|---|---|
| Capability | edit_posts |
| Minimum default role | Contributor |
| Annotations | readOnly: true · destructive: false · idempotent: true · openWorld: false |
Input schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| search | string | — | Keyword matched against the name, title, description and keywords. | |
| category | string | — | Block category, such as "text", "media", "design", "widgets", "theme" or "embed". | |
| name | string | — | One exact block type, such as "core/cover"; returns its settings too. | |
| include_attributes | boolean | false |
Include every type's settings. Large; prefer "name" for one block. | |
| per_page | integer (1–200) | 50 |
Maximum block types to return. | |
| offset | integer (min 0) | 0 |
Block types to skip, for the next page. |
Output schema
| Field | Type | Required | Description |
|---|---|---|---|
| total | integer | Yes | |
| showing | integer | ||
| offset | integer | ||
| truncated | boolean | ||
| types | object[] | Yes | |
| types[].name | string | ||
| types[].title | string | ||
| types[].description | string | ||
| types[].category | string | ||
| types[].is_dynamic | boolean | ||
| types[].parent | string[] | When set, the block may only be placed directly inside one of these. | |
| types[].ancestor | string[] | When set, the block may only be placed somewhere inside one of these. | |
| types[].allowed_blocks | string[] | When set, only these blocks may be placed inside it. | |
| types[].attributes | object[] | ||
| notes | string[] |
| << Previous | Next >> |
|---|---|
| Insert Blocks | List Blocks in Content |
For more information about the Secure MCP Server for WordPress plugin, explore the following resources:
Product Overview | Pricing | Try for Free | Documentation
If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.