
vloganathane/drupal-mcp-server
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
A Model Context Protocol (MCP) server for Drupal operations. Provides for site analysis, migration, content management, configuration, commerce, headless, DevOps, security, and more.
Обзор
A Model Context Protocol (MCP) server for Drupal operations. Provides for site analysis, migration, content management, configuration, commerce, headless, DevOps, security, and more. - — Access JSON:API, GraphQL, Drush, and AI through one MCP server - — Content analysis, field mapping, and migration planning with your choice of LLM - — Stdio for desktop apps, HTTP/SSE for remote deployments - — Input validation, OAuth 2.1, no shell injection - — 37 tool modules covering every major Drupal subsystem - — Full support for Drupal's REST endpoints, schema introspection, sparse fieldsets - — Execute any Drush command (cache, cron, updb, watchdog, php-eval, etc.
README
Показан фрагмент оригинального README. Открыть оригинал.
Drupal MCP Server
A Model Context Protocol (MCP) server for Drupal operations. Provides 414 tools across 41 modules for site analysis, migration, content management, configuration, commerce, headless, DevOps, security, and more.
Demo
A real run — version check, the nine supported clients, live detection of the agents on this machine, and a zero-install start straight from PyPI:
Why Use This?
- Unified interface — Access JSON:API, GraphQL, Drush, and AI through one MCP server
- AI-powered — Content analysis, field mapping, and migration planning with your choice of LLM
- Multi-transport — Stdio for desktop apps, HTTP/SSE for remote deployments
- Secure — Input validation, OAuth 2.1, no shell injection
- Comprehensive — 41 tool modules covering every major Drupal subsystem
Features
- JSON:API & GraphQL — Full support for Drupal’s REST endpoints, schema introspection, sparse fieldsets
- Drush Integration — Execute any Drush command (cache, cron, updb, watchdog, php-eval, etc.)
- DDEV/Lando/Acquia Support — Local and cloud development environment management
- AI-Powered Tools — Multi-provider AI (Ollama, OpenAI, Anthropic, NVIDIA NIM, Google)
- Migration Assistance — Generate and validate migration configurations, D7→D10 upgrades
- Security Audits — PHPStan, Drupal Check, dependency scanning, SQL injection, XSS, CSP, file permissions
- Content Management — CRUD for nodes, media, users, taxonomy, comments, revisions, paragraphs
- Commerce — Stores, products, orders, payments, promotions, shipping (18 tools)
- Configuration — Export/import, sync, diff, split (7 tools)
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →Конфигурация
{
"mcpServers": {
"drupal": {
"command": "drupal-mcp",
"env": {
"DRUPAL_BASE_URL": "https://your-drupal-site.com",
"DRUPAL_USERNAME": "admin",
"DRUPAL_PASSWORD": "secret"
}
}
}
}