Install

Works with Drupal: ^10 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 51.38 KB
MD5: bf7ffeb35d0de0cecd04e5d068d9c056
SHA-1: 25001521cf42f6811ef440cc36dfc4569fea37cd
SHA-256: 32c291a25c59d20a8cba007b334a75df8365eb7c5a192f3e72f11324ef54cf4a
Download zip 80.16 KB
MD5: ec30b93b2a5551a40bd2b827b3d41ba9
SHA-1: be4a44239579ab6667b79f748425b91be5041635
SHA-256: 0ac7ecb7b2799d31abab4e09fddc109529438112e1fd8b0f2d0cb4b863c84dc9

Release notes

MCP integration

New ai_content_assistant_mcp submodule exposes Drupal as an MCP server. External AI clients (Claude Desktop, Claude Code, etc.) authenticate via OAuth and invoke five tools:

- list_content_types — bundles the current user can create.
- describe_content_type — schema/field hints for a single bundle.
- list_entities — referenceable entities for entity-reference fields.
- get_node — fetch a node's fields and paragraphs.
- create_node — generate a node end-to-end through ContentGenerator.

Built on drupal/mcp_server (dev-2.x) with simple_oauth + simple_oauth_21. See README for setup.

Schema discovery & generation hardening

- Prompt exposes per-field hints: fixed-cardinality limit, allowed text formats, link title / link_type settings.
- Entity-reference values validated through the field's selection plugin — wrong-bundle and non-existent IDs are skipped silently.
- Link fields enforce both the URI-scheme allowlist and the internal/external link_type setting.
- Formatted-text fields accept a plain string or {value: …} and respect allowed_formats when choosing a fallback format.
- Multi-value entity-reference fields accept an array of {target_id} items; image-media fields additionally accept {image_prompt} for AI generation.

Tests

Kernel coverage expanded for both services; shared field/paragraph factories extracted into EntityFieldKernelTestTrait.

Created by: andrtroe
Created on: 18 May 2026 at 10:22 UTC
Last updated: 18 May 2026 at 10:22 UTC
Bug fixes
New features

Other releases