MCP Tools

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

Recommended Usage (Local-First)

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

Tooling Strategy (How We Keep It Safe)

Config-as-Code Workflow

If you use write tools to create or change configuration, export your config and commit it to Git to avoid configuration drift.

Features

205 tools across 29 submodules covering site building, content, admin, and automation:

Site Building

Views & Display

Content & Media

Administration

MCP Transports

Security Built-In

Installation

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.

Starter Bundles

Enable only what you need. Common starting points:

Requirements

Maintainers / Support

Maintained by CodeWheel.

Tip: If you use write tools to create configuration, export config after changes (config-as-code workflow).