Claude Desktop "mcp-server-drupal failed, Error:server disconnected

Created on 22 June 2025, about 1 month ago

Hi all,

I am trying to connect to Claude Desktop but Claude > Settings > Developer says "mcp-server-drupal failed, Error:server disconnected"

Any ideas please ?

I am using Windows WSL2 / Docker Desktop / DDEV / Ubuntu terminal

I am using Basic Auth at /admin/config/mcp and I am following the example claude_desktop_config.json at https://drupalmcp.io/en/mcp-server/connect-to-llms/

my claude_desktop_config.json =

{
  "mcpServers": {
    "mcp-server-drupal": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "DRUPAL_AUTH_USER",
        "-e",
        "DRUPAL_AUTH_PASSWORD",
        "--network=host",
        "ghcr.io/omedia/mcp-server-drupal:latest",
        "--drupal-url=https://d11-test.ddev.site",
        "--unsafe-net"
      ],
      "env": {
        "DRUPAL_AUTH_USER": "admin",
        "DRUPAL_AUTH_PASSWORD": "admin"
      }
    }
  },
  "globalShortcut": ""
}

Claude log files = https://pastebin.com/aHqzPFaE

An ideas please?

💬 Support request
Status

Active

Version

1.1

Component

Miscellaneous

Created by

🇬🇧United Kingdom juc1

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024