droost_mcp offers droost's content tools to MCP clients (Claude Desktop,
claude.ai and others) through MCP Server
and its Tool API bridge.
It is the part of Droost meant for a production site: an editor works with
the site's content from their AI client, and can do no more than Drupal's
own UI would let them.
Set it up
-
Require MCP Server and its bridge, which droost does not pull in:
composer require 'drupal/mcp_server:^2.0@beta' 'drupal/mcp_server_tool_bridge:^1.0@beta' -
Enable
droostanddroost_mcp, anddroost_canvason a Canvas site. Leavedroost_buildanddroost_devoff. -
Enable the tools you want reachable.
droost_mcpinstalls one mapping per content tool, every one disabled. A tool you do not enable is not listed and cannot be called. -
Grant
use droost content toolsto the roles that may use them. -
Set up MCP Server's authentication (for example
mcp_server_oauth), then connect the client to the site's/mcpendpoint.
How a call is held
Each call over the web is the connected account's own:
- Entity access: view, create, update and delete, as in Drupal's UI.
- Field access: a field it may not edit is refused; one it may not view is withheld from reads and refused in a query's conditions and sort.
- Validation before any save: a user's current password, a free alias, a text format the account may use.
- Counts include only what it may view.
- Writes need their switch armed in
settings.droost.php; over the web a switch nobody set is off. - Every call is kept in an audit log.
The build and developer tools refuse a web request whatever the account
holds. drush mcp:server <account> (MCP Server's stdio mode) runs as that
account and is held the same way.
Disabling a mapping takes its tool off MCP at once, through the admin form or through configuration.
What the client is told
At connection, MCP Server's instructions name each enabled droost tool, what
it is for, and how a call is held, so a client needs no file in a
repository to know the tools are there. For an agent working in the
project, droost_mcp also ships the droost-tools-mcp skill (tool names as
a client lists them, and connecting Claude Code or Codex over stdio), which
droost init installs beside droost-tools.