Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

mcp_tools

32 sites No security coverage
View on drupal.org

MCP Tools connects Drupal to AI assistants (Claude, Cursor, Windsurf) via the Model Context Protocol. Describe what you want in plain English — the AI handles the Drupal work.

Example

You: "Create a blog with articles, categories, tags, and an editor role"
AI:  Creates the content type, taxonomies, fields, role, and permissions

Quick Start

  1. Install:

    composer require drupal/mcp_tools

    drush en mcp_tools -y
  2. Configure: Visit /admin/config/services/mcp-tools and choose a preset:
    • Development: Full access, no rate limiting
    • Staging: Config-only mode, rate limited, audit logging
    • Production: Read-only mode, strict limits, full audit trail
  3. Connect your AI tool: See transport options below

Option A: STDIO Transport (Recommended for Local)

Enable the STDIO module:

drush en mcp_tools_stdio -y

Generate config automatically:

drush mcp-tools:client-config > .mcp.json

Detects DDEV/Lando environments and outputs ready-to-use config. Use --scope=read for read-only.

Claude Code (run from your Drupal directory):

cd /path/to/drupal
claude mcp add --scope project drupal -- drush mcp-tools:serve --quiet --uid=1 --scope=read,write

Or add .mcp.json to your Drupal project root:

{
  "mcpServers": {
    "drupal": {
      "command": "drush",
      "args": ["mcp-tools:serve", "--quiet", "--uid=1", "--scope=read,write"]
    }
  }
}

Option B: HTTP Transport (Remote/Docker)

Enable the remote module:

drush en mcp_tools_remote -y

Configure execution user: Visit /admin/config/services/mcp-tools/remote

  • Quick setup: Check "Use site admin (uid 1)" — simple for development
  • Production: Click "Create MCP Executor Account" for a dedicated service account

Generate an API key:

drush mcp-tools:remote-key-create --label="Claude" --scopes=read,write

Copy the key shown (it's only displayed once).

Claude Code one-liner:

claude mcp add drupal http://localhost:8080/_mcp_tools --transport http -H "Authorization: Bearer YOUR_API_KEY"

Or add to .mcp.json:

{
  "mcpServers": {
    "drupal": {
      "type": "http",
      "url": "http://localhost:8080/_mcp_tools",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Manage keys at /admin/config/services/mcp-tools/remote or via drush mcp-tools:remote-key-list.

What's Included

222 tools across 34 optional submodules:

  • Site Building: Content types, fields, taxonomies, roles, permissions, menus
  • Content: Create/edit/publish nodes, media, bulk operations
  • Views & Layout: Views, blocks, Layout Builder, image styles
  • Admin: Cache, cron, config management, security audits

Security

  • Scoped access (read/write/admin per connection)
  • Read-only and config-only modes
  • Rate limiting and audit logging
  • Designed for local development — remote access is optional

Requirements

  • Drupal 10.3+ or 11
  • Tool API module
  • PHP 8.3+

Links

GitHub ·
Client Integrations ·
Issue Queue

Activity

Total releases
20
First release
Jan 2026
Latest release
1 month ago
Release cadence
3 days
Stability
0% stable

Release Timeline

Releases

Version Type Release date
1.0.0-beta7 Pre-release Mar 10, 2026
1.0.0-beta6 Pre-release Mar 10, 2026
1.0.0-beta5 Pre-release Feb 26, 2026
1.0.0-beta4 Pre-release Feb 26, 2026
1.0.0-beta3 Pre-release Feb 26, 2026
1.0.0-beta2 Pre-release Feb 6, 2026
1.0.0-beta1 Pre-release Jan 10, 2026
1.0.0-alpha26 Pre-release Jan 9, 2026
1.0.0-alpha24 Pre-release Jan 8, 2026
1.0.0-alpha23 Pre-release Jan 8, 2026
1.0.0-alpha21 Pre-release Jan 7, 2026
1.0.0-alpha20 Pre-release Jan 4, 2026
1.0.0-alpha18 Pre-release Jan 4, 2026
1.0.0-alpha17 Pre-release Jan 4, 2026
1.0.0-alpha16 Pre-release Jan 4, 2026
1.0.0-alpha15 Pre-release Jan 4, 2026
1.0.0-alpha14 Pre-release Jan 4, 2026
1.0.0-alpha13 Pre-release Jan 4, 2026
1.0.0-alpha12 Pre-release Jan 4, 2026
1.0.0-alpha1 Pre-release Jan 3, 2026