Summary: MCP Tools lets AI assistants build and manage Drupal sites through the Model Context Protocol (MCP) using Drupal’s Tool API. Create content types, fields, views, roles, blocks, and more by describing what you want.
Example
You: "Create a blog with articles, categories, tags, and an editor role" AI: Creates the content type, taxonomies, fields, role, and permissions
MCP Tools is designed primarily for local development and prototyping. Remote exposure is supported, but intentionally optional.
| Environment | Read Tools | Write Tools | Recommendation |
|---|---|---|---|
| Local dev | ✅ Safe | ✅ Safe | Full functionality |
| Staging | ✅ Safe | ⚠️ Caution | Use config-only mode or limit scopes |
| Production | ⚠️ Careful | ❌ Not recommended | Read-only mode strongly advised |
read/write/admin) gate what a client can do.If you use write tools to create or change configuration, export your config and commit it to Git to avoid configuration drift.
drush cex -y after changes.mcp_tools_config to preview/export via tools (mcp_config_changes, mcp_config_preview, mcp_config_export).205 tools across 29 submodules covering site building, content, admin, and automation:
Site Building
Views & Display
Content & Media
Administration
mcp_tools_stdio — STDIO server via Drush.mcp_tools_remote — HTTP endpoint with API key authentication + optional IP allowlist and key TTL (intended for trusted networks).mcp_tools_mcp_server — bridge to drupal/mcp_server when upstream is stable.drush en mcp_tools -y drush en mcp_tools_content mcp_tools_structure mcp_tools_views -y
Configure MCP Tools at /admin/config/services/mcp-tools.
Maintained by CodeWheel.
Tip: If you use write tools to create configuration, export config after changes (config-as-code workflow).