AI agents can connect to Drupal through MCP. Before giving one access, I’d ask: what does it actually need to do?
Imagine an editor asking an agent to update an event page. The agent finds the page, reads it, and prepares a draft revision. If the site uses Content Moderation, the editor can review that revision and decide whether to publish it.
The MCP Server module can expose Drupal actions as tools. The Agent Access recipe helps connect an assistant through a person’s Drupal account and permissions. We still have to choose which tools to expose.
A useful first test: connect as an editor and ask the agent to prepare that event update. Then ask it to publish and delete the page. Both requests should fail if those actions are outside the editor’s permissions and the tools you allowed.
Start with one task, give the agent only the access it needs, and keep the final publishing decision with a person.
What Drupal task would you let an AI agent handle first?
Try this on a test site
Connect the agent as an editor, with only the tools needed to find content and prepare an update. Ask it to find an event page and create a draft revision.
Then ask it to publish or delete the page. If the editor should not have those permissions, confirm that both requests are denied. Check the resulting revision in Drupal before letting anyone publish it.
The exact draft behavior depends on the tools and Content Moderation workflow configured on your site.
Top comments (0)