📄 中文摘要
随着人工智能代理成为 Drupal 工作流的一部分,需要构建可追踪、可预测和可组合的自动化基础设施。为此,开发了四个小型 Drupal 模块,形成了一个用于代理驱动的网站管理的 MCP 工具包。这些模块解决了代理在修改配置、创建内容或进行审计时所需的四个关键问题:一是提供代理操作的可见性;二是实现对内容和配置的结构化访问;三是支持程序化调用的审计检查;四是提供配置快照以便进行差异比较和持续集成验证。每个模块都专注于解决特定问题,从而提升了 Drupal 的自动化管理能力。
📄 English Summary
Drupal MCP Toolkit: Four Modules for Agent-Driven Site Management
As AI agents become integrated into the Drupal workflow, there is a need for infrastructure that ensures automation is traceable, predictable, and composable. To address this, four small Drupal modules were developed, collectively forming an MCP Toolkit for agent-driven site management. These modules tackle four critical issues that arise when agents modify configurations, create content, or conduct audits: first, they provide visibility into agent actions; second, they enable structured access to content and configurations; third, they allow for programmatically invoked audit checks; and fourth, they offer configuration snapshots for diffing and continuous integration validation. Each module focuses on a specific concern, enhancing the automation capabilities of Drupal.