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.
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.
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
.
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
).
The server exposes resources (templates, reads) and tools (calls) defined by the Drupal API during initialization.
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.
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.
Omedia/mcp-server-drupal
December 9, 2024
March 26, 2025
TypeScript