What is A typescript based companion Model Context Protocol server for the Drupal MCP module.?
This is a typescript based companion Model Context Protocol (MCP) server for the Drupal MCP module that works with the STDIO transport. In order to use SSE transport this server is not required. The server supports both authentication via environment variables and exposes resources and tools defined by the Drupal API during initialization.
Documentation
MCP Server for Drupal
This is a typescript based companion Model Context Protocol(MCP) server for the Drupal MCP module that works with the STDIO transport. In order to use SSE transport this server is not required.
[!IMPORTANT]
📖 Detailed docs are avilable at drupalmcp.io
Installation
The STDIO Binary is available through multiple distribution channels to accommodate various environments:
📖 For more details check the Installation section in the docs
Authentication
The server supports both authentication via environment variables. You can use either a auth token or a basic auth with username and password combination . The following environment variables are supported:
DRUPAL_AUTH_TOKEN: The authentication token.
DRUPAL_AUTH_USER: The username for authentication.
DRUPAL_AUTH_PASSWORD: The password for authentication.
[!NOTE]
Make sure to turn the authentication on the Drupal MCP module settings page.
[!NOTE]
If both DRUPAL_AUTH_TOKEN and DRUPAL_AUTH_USER/DRUPAL_AUTH_PASSWORD are set, the token will be used over the username and password.
📖 Check the Authentication section in the docs for more details
MCP
All instruments are defined by the Drupal API during the initialization phase
drupal_mcp_server binaries and container images are signed by cosign using identity-based signing.
You can verify your binary by downloading the signatures.tar.gz file from the release page, extracting the signature and running the following command: