Drupal Canvas Tools
Drupal Canvas Tools gives an AI agent (or a script) a safe, command-line way to build Drupal Canvas pages.
Features
Drupal Canvas Tools exposes a set of Tool API operations, so building a page becomes a sequence of named commands instead of clicks in a browser.
The operations cover the page-building lifecycle: creating and managing pages, placing and arranging components, setting their props or binding them to entity fields, working with content templates, and publishing the draft Drupal Canvas keeps while you edit. Each one runs with drush tool:run.
Because every operation is a Tool API plugin, it is also available over MCP (via mcp_server_tool_bridge) with no extra code. That is the point: an AI agent can build a real Canvas page by calling these tools, just as a developer would from the CLI.
Post-Installation
TBD
Additional modules
- MCP Server —allows using MCP capabilities.
- MCP Server Tool Bridge — surfaces each Canvas Tools operation as an MCP tool, so an AI agent can call them.
- Tool Belt — ready-made Tool API operations for content modeling (content types, fields, nodes). Pairs well: model your content with Tool Belt, then build pages with Canvas Tools.