Drupal MCP Connector
MCP server by Wilkes-Liberty Verified · npm:drupal-mcp-connector
Connects MCP clients to one or more Drupal sites over JSON:API or GraphQL. It offers governed reads and writes, plus an optional SSH Drush bridge. Built for teams that manage Drupal content and configuration through an AI assistant.
Install Drupal MCP Connector
Built from the published package, never by AI.
claude mcp add drupal-mcp-connector -- npx -y drupal-mcp-connectorRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"drupal-mcp-connector": {
"args": [
"-y",
"drupal-mcp-connector"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install Drupal MCP Connector in Claude Desktop
{
"mcpServers": {
"drupal-mcp-connector": {
"args": [
"-y",
"drupal-mcp-connector"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"drupal-mcp-connector": {
"args": [
"-y",
"drupal-mcp-connector"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add drupal-mcp-connector -- npx -y drupal-mcp-connector{
"mcpServers": {
"drupal-mcp-connector": {
"args": [
"-y",
"drupal-mcp-connector"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Drupal MCP Connector in Antigravity CLI
gemini mcp add drupal-mcp-connector npx -y drupal-mcp-connectorGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the drupal-mcp-connector block.
About
Drupal MCP Connector is an MCP server that exposes Drupal content and configuration as MCP tools, resources, and prompts. An MCP client can read, audit, and, where permitted, write content through structured operations instead of the admin UI. It supports Drupal core's JSON:API and GraphQL through GraphQL Compose, selectable per site, and normalizes both into one entity shape.
Sites are declared in a config file with a baseUrl and an api setting. An optional SSH Drush bridge adds administrative operations the HTTP APIs cannot reach. A default security preset, production-strict, makes the connector read-only and denies sensitive content types unless a development preset is set explicitly. The project is maintained by Wilkes & Liberty, LLC and is aimed at Drupal site builders and operators who want an AI assistant to audit and manage their sites.
Written from the project's README and checked against it.
Tools it gives your assistant
drupal_list_sitesLists the configured Drupal sites the connector can reach.drupal_governance_statusReports the governance status of the connector and its sites.drupal_create_translationCreates entity translations, with an optional revise flag for published translations.drupal_draft_nested_componentsDrafts nested paragraph components pinned from a host draft, unpublished.drupal_audit_site_healthProduces a scored content, links, and config dashboard with a roll-up grade.drupal_mcp_whoamiReports the tier and capabilities available to the current connector session.drupal_create_nodeCreates content nodes, with a dryRun option to preview the payload first.drupal_list_nodesLists content nodes from a configured site.ReportsTen read-only reports covering stale content, field completeness, SEO and accessibility audits.DrushRuns cache rebuild, cron, config sync, module management, and DB updates over SSH.
What you need
- Node.js
- A Drupal site with JSON:API or GraphQL Compose enabled
- SSH access to the Drupal site for the optional Drush bridge
- An MCP-compatible client
Try asking
- Find all articles missing a meta description and list them.
- Show every user account that has not logged in for 90 days.
- Run an SEO and accessibility audit on the article content type.
Good to know
- The default production-strict preset is read-only and denies sensitive content types.
- GraphQL via GraphQL Compose is read-only and has no server-side field filter, so some results are approximate.
- If only drupal_list_sites and drupal_governance_status appear, the secret environment variables in config.json are not set.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Drupal MCP Connector
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
Drupal MCP Connector: common questions
Does the connector work with both JSON:API and GraphQL?
Yes. Each site can use JSON:API, GraphQL, or both, and the connector returns one canonical entity shape for either backend. Writes go through JSON:API.
Can the assistant change content on my Drupal site?
Only where permitted. The default production-strict preset is read-only, and write tools require a non-read-only setup. The dryRun flag previews create, update, and delete calls without saving anything.
What is the Drush bridge?
It is an optional SSH bridge that adds administrative operations such as cache rebuild, cron, config sync, module management, and database updates.
How do I install Drupal MCP Connector?
In Claude Code run claude mcp add drupal-mcp-connector -- npx -y drupal-mcp-connector. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Drupal MCP Connector the official server?
Drupal MCP Connector is published by npm:drupal-mcp-connector from its verified domain in the official MCP Registry.
Is Drupal MCP Connector free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Drupal MCP Connector safe to use?
It scores 77 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Drupal MCP Connector?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does Drupal MCP Connector work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
