This repository provides a Model Context Protocol (MCP) server, built in TypeScript, for fetching detailed information about Drupal modules directly from drupal.org, aiding AI assistants with accurate module data.
A Model Context Protocol server designed to retrieve Drupal module information from drupal.org.
This TypeScript-based MCP server provides tools to fetch detailed information about Drupal modules directly from drupal.org. It assists AI tools in obtaining accurate, up-to-date information about Drupal modules, including version compatibility, installation instructions, and documentation.
get_module_info - Fetches comprehensive information about a Drupal module.Install dependencies:
npm installBuild the server:
npm run buildFor development with auto-rebuild:
npm run watchAdd the server config to your Claude Desktop configuration:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "drupal-modules-mcp": {
      "command": "/path/to/drupal-modules-mcp/build/index.js"
    }
  }
}Add the server configuration to your IDE's settings:
{
  "drupal-modules-mcp": {
    "command": "/path/to/drupal-modules-mcp/build/index.js"
  }
}Make sure to replace /path/to/drupal-modules-mcp with the actual path where you installed the server.
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspectorThe Inspector will provide a URL to access debugging tools in your browser.
Cleversoft-IT/drupal-modules-mcp
February 8, 2025
February 15, 2025
JavaScript