A machine-readable guide to this site for AI agents and language models is available at/llms.txt(https://dev.acquia.com/llms.txt on the production site).
Model Context Protocol (MCP) capabilities in Drupal for Source CMS accelerate content management. Add MCP server capabilities to expose resources, resource templates, and tools. These components enable AI agents to work with content models, create content, and manage content.
This document explains how to enable and use the MCP server in Source CMS, connect external MCP clients, and identify supported resources and tools.
An MCP server provides a standard method for AI agents and compatible tools to connect to external systems and data sources. With an MCP server, an AI agent or editor can perform the following actions:
With the Source CMS MCP server, AI-powered tools can perform the following actions:
These capabilities are particularly useful for the following actions:
The MCP server is an experimental feature within Source CMS and must be enabled per site.
OAuth configuration: Define scopes and authentication parameters for the server.
To configure the server in Claude Code:
Run the following command: claude mcp add acquia-source-mcp {ACQUIA_SOURCE_SITE_MCP_URL} --transport http --scope project.
Ensure that you replace {ACQUIA_SOURCE_SITE_MCP_URL} with the MCP URL provided in MCP Client Configuration in your Source CMS site.
/mcp to manage MCP servers.acquia-source-mcp.The MCP server exposes tools grouped into three domains:
Each domain exposes the following components:
Type | Name / Purpose | Identifier / URI |
|---|---|---|
Resource | List content types | drupal://content-types |
Resource | List media types | drupal://media-types |
Resource | List vocabularies | drupal://vocabularies |
Resource | List text formats | drupal://filter-formats |
Resource template | Load entity by type and ID | drupal://entity/{entity_type_id}/{id} |
Tool | Create node | create_node |
Tool | Update node | update_node |
Tool | Batch create nodes | batch_create_nodes |
Tool | Create media (file-based) | create_media |
Type | Name / Purpose | Identifier / URI |
|---|---|---|
Resource | List content-type field storages | drupal://content-types/fields |
Resource | List field types | drupal://field-types |
Resource template | Content type JSON Schema | drupal://content-types/{bundle} |
Resource template | Media type JSON Schema | drupal://media-types/{bundle} |
Resource template | Vocabulary JSON Schema | drupal://vocabularies/{vid} |
Tool | Create content type | create_content_type |
Tool | Add field to content type | add_field_to_content_type |
Tool | Update field config | update_field_config |
Type | Name / Purpose | Identifier / URI |
|---|---|---|
Resource | List Drupal Canvas components | canvas://components |
Resource | List Drupal Canvas pages | canvas://pages |
Resource template | Drupal Canvas component detail | canvas://components/{id} |
Tool | Create Drupal Canvas page | create_canvas_page |
Tool | Update Drupal Canvas page metadata | update_canvas_page |
Tool | Delete Drupal Canvas page | delete_canvas_page |
Tool | Get page layout | get_page_layout |
Tool | Set page layout | set_page_layout |
Tool | Add component to page | add_component_to_page |
The MCP Inspector is a development and Quality Engineering tool to debug and interact with MCP servers. For day-to-day usage, configure an AI agent or MCP-capable client.
Run the following command: npx @modelcontextprotocol/inspector --transport http.
After you connect, explore the exposed server components with the following options:
Tool |
Create remote video (OEmbed) |
create_remote_video |
| Tool | Create media using DAM assets | create_dam_media |
Tool | Get or create taxonomy term | get_or_create_term |
Tool | List entities | list_entities |
Tool | Move component | move_component |
Tool | Remove component | remove_component |
Tool | Update component props | update_component_props |
If this content did not answer your questions, try searching or contacting our support team for further assistance.
Tool |
Create remote video (OEmbed) |
create_remote_video |
| Tool | Create media using DAM assets | create_dam_media |
Tool | Get or create taxonomy term | get_or_create_term |
Tool | List entities | list_entities |
Tool | Move component | move_component |
Tool | Remove component | remove_component |
Tool | Update component props | update_component_props |
If this content did not answer your questions, try searching or contacting our support team for further assistance.