About AI
AI is an MCP server published by WordPress in the Developer Tools category: aI features and experiments for WordPress. Modular framework for testing AI capabilities. Conduid read 14 tools from its source: editor-duplicate-block, editor-get-block-types, editor-get-document, editor-insert-block, editor-move-block, editor-publish and 8 more. No package is published for it, so it installs from a source checkout.
The repository has 408 stars and 229 forks, is licensed GPL-2.0, and its last commit was on 1 Dec 2026. The latest release is 1.5.0 (30 Oct 2026): New Experiment: Content Verification, that adds read-only detection of C2PA Content Credentials in uploaded JPEG/PNG/WebP images (#459). It follows 1.4.0 (5 Oct 2026), and the 5 most recent releases go back to 1.1.0 (1 Jul 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include experiments, wordpress, artificial-intelligence, abilities, devtools and wordpress-plugin.
Install
git clone https://github.com/WordPress/aiTools (14)
editor-duplicate-blockDuplicate an existing block identified by clientId. The copy appears directly after the original. Returns the clientId of the copy.| Parameter | Type | Description |
|---|---|---|
| clientId * | string | clientId from editor-get-document. |
editor-get-block-typesDiscover what can be inserted. Without name: lists the block types the editor allows at the top level, or inside the container named by parentClientId, optionally filtered by a search word. With name: returns that block type's attributes and their types, so attributes can be set correctly. Changes nothing.| Parameter | Type | Description |
|---|---|---|
| name | string | A block name, to get its attribute schema, for example core/image. |
| parentClientId | string | List what is allowed inside this container instead of at the top level. |
| search | string | Filter the list by a word in the name or title. |
editor-get-documentRead the post open in the editor: its ID, type, status, title, and an outline of its blocks with each block's clientId, block name and a short text preview. Call this first to find the clientId of a block before changing it. Changes nothing.editor-insert-blockInsert a new block into the post open in the editor. Defaults to a paragraph (core/paragraph) with the given text in attributes.content; use core/heading with attributes.content and attributes.level for a heading. Appends at the end of the post unless afterClientId names the block to insert after, or parentClientId names a container (group, column, list, quote) to insert into as its last child. Refuses a block the editor does not allow at that position. The new block appears on the page and is selected.| Parameter | Type | Description |
|---|---|---|
| afterClientId | string | clientId of the block to insert after. Omit to append at the end. |
| attributes | object | Block attributes. For text blocks, content is the text (inline HTML allowed). |
| blockName | string | Block name, for example core/paragraph, core/heading, core/list. Default core/paragraph. |
| parentClientId | string | clientId of a container block to insert into, as its last child. Ignored when afterClientId is given. |
editor-move-blockMove an existing block identified by clientId: after the block named by afterClientId, or into the container named by parentClientId as its last child, or to the top of its current parent when neither is given. The block visibly moves on the page and is selected.| Parameter | Type | Description |
|---|---|---|
| afterClientId | string | clientId of the block it should follow. |
| clientId * | string | clientId of the block to move. |
| parentClientId | string | clientId of a container to move it into. Ignored when afterClientId is given. |
editor-publishPublish the post open in the editor: its status becomes published and it is saved. Visible to the public afterwards, so confirm with the person before calling this.editor-remove-blockRemove an existing block identified by clientId. The block disappears from the page; the person can undo it.| Parameter | Type | Description |
|---|---|---|
| clientId * | string | clientId from editor-get-document. |
editor-saveSave the post open in the editor without changing its status: a draft stays a draft, a published post updates. Returns the status.editor-select-blockHighlight a block on the page identified by clientId, to point the person at it. Changes nothing.| Parameter | Type | Description |
|---|---|---|
| clientId * | string | clientId from editor-get-document. |
editor-set-titleSet the title of the post open in the editor. The title field updates on the page.| Parameter | Type | Description |
|---|---|---|
| title * | string | The new title. |
editor-transform-blockTurn an existing block into another block type, the way the editor's own Transform menu does, for example a paragraph into a heading or a list into paragraphs. Fails when the editor has no transform between the two types. Returns the new clientIds.| Parameter | Type | Description |
|---|---|---|
| blockName * | string | Target block name, for example core/heading. |
| clientId * | string | clientId from editor-get-document. |
editor-undoUndo the last change in the editor, exactly like the editor's own Undo button. Each tool call that changed something is one undo step. Returns the document as it is afterwards.editor-update-block-attributesChange any attributes of an existing block identified by clientId, for example the level of a heading or the alignment of an image. Attributes not given are left as they are. The block updates on the page and is selected.| Parameter | Type | Description |
|---|---|---|
| attributes * | object | Attributes to set. |
| clientId * | string | clientId from editor-get-document. |
editor-update-block-textReplace the text of an existing paragraph, heading, list item, verse, preformatted or code block identified by clientId. For a quote, edit its inner paragraphs; for a pullquote, use editor-update-block-attributes with its value attribute. Refuses a block locked against editing. The block updates on the page and is selected.| Parameter | Type | Description |
|---|---|---|
| clientId * | string | clientId from editor-get-document. |
| content * | string | The new text (inline HTML allowed). |
Security checks
Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.6K words.
- ✓License declaredThe repository declares the GPL-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by composer.lock and package-lock.json.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
1 check has not been run yet.
Releases
README
The repository's README runs to about 1.6K words, fetched 2 days ago. The original in the repository is authoritative.
Read full README