MCP server for Drupal via Drush. Lets AI agents (Claude Code, Gemini CLI, etc.) interact with any Drupal 10+/11+ site - locally, over SSH, or via Docker - by executing Drush commands.
# drush-mcp
MCP server for Drupal via Drush. Lets AI agents (Claude Code, Gemini CLI, etc.) interact with any Drupal 10+/11+ site - locally, over SSH, or via Docker - by executing Drush commands.
Two packages:
- **`@bloomidea/drush-mcp`** (npm) - TypeScript MCP server
- **`bloomidea/drush-mcp-bridge`** (Composer) - PHP Drush bridge for structured entity operations
## Requirements
- Node.js 18+
- PHP 8.1+
- Drush 12+ or 13+
- Drupal 10+ or 11+
## Quick Start
Install the MCP server:
```bash
npm install -g @bloomidea/drush-mcp
```
Install the Drush bridge on your Drupal site:
```bash
composer require bloomidea/drush-mcp-bridge
```
Add the [agent skill](skills/drupal/SKILL.md) so your agent knows how to work with Drupal entities, fields, and groups:
```bash
npx skills add Bloomidea/drush-mcp
```
> *"create a task in the Atrium group"* / *"list all published articles"* / *"check Drupal status"* / *"add a comment to node 123"*
>
> Works with [Claude Code, Gemini, Codex, Gemini, Windsurf, and 37+ agents](https://add-skill.org/).
Register in Claude Code (local):
```bash
Claude MCP add drupal -- drush-mcp --local --command "drush"
```
Or with SSH:
```bash
Claude MCP add drupal -- drush-mcp --ssh --host example.com --user deploy --root /var/www/html
```
## Configuration
Three methods: CLI flags, YAML config file, or environment variables.
### CLI Flags
```bash
# Local
drush-mcp --local --command "ddev drush"
# SSH
drush-mcp --ssh --host example.com --user deploy --root /var/www/html
# Docker (static container name)
drush-mcp --docker --host example.com --user deploy --container mycontainer
# Docker (dynamic container lookup via filter)
drush-mcp --docker --host example.com --user deploy --container-filter "label=coolify.serviceName=myapp"
```
### Config File
Create `drush-mcp.yml` in your project root or home directory, or pass `--config path`:
```yaml
sites:
production:
transport: ssh
host: example.com
user: deploy
root: /var/www/hGoogle's AI-powered research notebook that ingests your documents and becomes an expert on your content. Generates audio overviews, study guides, FAQs, and interactive discussions from uploaded sources.
Google DeepMind's experimental AI agent that can navigate websites, fill forms, and complete multi-step browser tasks autonomously. Uses Gemini's multimodal understanding to interact with web interfaces.
Google DeepMind's universal AI assistant prototype that can see, hear, and respond in real-time through your device camera and microphone. Demonstrates the future of multimodal AI interaction.
Google Cloud's enterprise platform for building, deploying, and managing AI agents powered by Gemini. Supports multi-agent orchestration, tool integration, and enterprise governance.
Gemini's agentic research capability that autonomously browses the web, synthesizes information from dozens of sources, and produces comprehensive research reports on any topic.
Interactive coding and content creation agent that generates, previews, and iterates on code, documents, and interactive applications in a side panel. Supports HTML/CSS/JS, Python, and more.