Install
Works with Drupal: ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
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.