VD

vloganathane/drupal-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

0 stars 0 forks 品質 81 トレンド 14MIT

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)
GitHub で README 全文を見る

インストール

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" } } } }