This project is not covered by Drupal’s security advisory policy.
Content Assistant lets AI assistants work with your Drupal content in plain language, through four safe, permission-checked Tool API tools:
- List collections: the content types you exposed, their groups (for example journal names) and whether drafts are allowed.
- Search: newest first, by keywords, group and date range. "The 10 latest articles of journal X."
- Count: per group or per year. "How many articles did each journal publish in 2025?"
- Create a draft: an unpublished node (for example a news item) for a person to review and publish.
The same tools work with Claude and other MCP clients through MCP Server and its Tool API bridge (the MCP mappings ship with this module), with the AI module through the Tool module's AI Connector, and with Drush.
Safe by design
- The assistant acts as a Drupal user and only sees what that user can view; unpublished content stays hidden from users who cannot see it.
- Only the content types an administrator adds as collections are visible, and only titles, dates, groups and links are returned.
- Drafts are always unpublished, only where allowed, only for users who may create that content type; scripts are stripped and every draft is logged.
- No free-form database access: each tool runs a fixed query.
Requirements
Drupal 10.5 or later, or Drupal 11, PHP 8.2 and the Tool module (beta). For MCP clients: MCP Server 2.x and its Tool API bridge (PHP 8.3).
Similar modules
AI Agents and MCP Tools give assistants broad powers over site building and content. Content Assistant is deliberately narrow: read, count and unpublished drafts only, on content an administrator chose.
Project information
- Project categories: Artificial Intelligence (AI), Integrations, Site search
- Created by aluisio.pulga on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
First beta: AI agent tools for searching and drafting site content.
