mcp-server-drupal

This repository provides a TypeScript-based Model Context Protocol (MCP) server for Drupal, designed to work with the STDIO transport, facilitating communication between Drupal and applications like Claude Desktop.

42
1

MCP Server for Drupal

This is a TypeScript-based Model Context Protocol (MCP) server designed to work with the Drupal MCP module using the STDIO transport. It's important to note that both the Drupal module and this server are under active development.

Installation and Usage

The server can be installed by downloading the binary for your system from the releases page. To use it with Claude Desktop, you need to add the server configuration in the claude_desktop_config.json file, specifying the binary path and Drupal base URL. Alternatively, the server is available as a Deno module on JSR and can be used via npx.

Authentication

The server supports authentication via environment variables, using either an authentication token (DRUPAL_AUTH_TOKEN) or basic authentication with username and password (DRUPAL_AUTH_USER, DRUPAL_AUTH_PASSWORD).

MCP

The server exposes resources (templates, reads) and tools (calls) defined by the Drupal API during initialization.

Development

The project is built with Deno. Development tasks include installing dependencies, running with auto-rebuild, and building the server for specific platforms. Debugging can be done using the MCP Inspector.

Verifying the binaries

Binaries are signed by cosign using identity-based signing. You can verify your binary by downloading the signatures and running the cosign verify-blob command.

Repository

OM
Omedia

Omedia/mcp-server-drupal

Created

December 9, 2024

Updated

March 26, 2025

Language

TypeScript

Category

Developer Tools