Skip to content
MCP Server Directory logo
developer-tools

Mcp Server Drupal

TS based companion MCP server for the Drupal MCP module that works with the STDIO transport.

Reviewed overview

MCP 服务器概览

MCP Server for Drupal

A Model Context Protocol server

This is a TypeScript-based MCP server for Drupal.

Features

Resources
  • All the resources defined by the Drupal API during the initialization phase
Tools
  • All the tools defined by the Drupal API during the initialization phase
Prompts
  • All the prompts defined by the Drupal API during the initialization phase

Development

Install dependencies:

bun install

Build the server:

bun run build

For development with auto-rebuild:

bun run dev

Installation

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "mcp-server-drupal": {
      "command": "__BINARY_PATH__",
      "args": ["--drupalBaseUrl", "__DRUPAL_BASE_URL__"],
      "env": {}
    }
  }
}
Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

bun run inspector

The Inspector will provide a URL to access debugging tools in your browser.