drupal-modules-mcp logo

drupal-modules-mcp

by Cleversoft-IT

The drupal-modules-mcp server is a Model Context Protocol (MCP) server designed to retrieve Drupal module information from drupal.org. It provides tools to fetch detailed and up-to-date information about Drupal modules, including version compatibility and installation instructions.

View on GitHub

Last updated: N/A

What is drupal-modules-mcp?

The drupal-modules-mcp server is a TypeScript-based MCP server that fetches comprehensive information about Drupal modules directly from drupal.org. It enables AI assistants and other tools to access accurate details about Drupal modules, including version compatibility, installation instructions, and documentation.

How to use drupal-modules-mcp?

To use the server, you need to install it and configure it with your application (e.g., Claude Desktop, Cline, Roo-Cline, or Windsurf). This involves adding the server configuration to your application's settings, specifying the path to the server's executable. The server then provides the get_module_info tool, which accepts a Drupal module's machine name as a parameter and returns detailed information about the module.

Key features of drupal-modules-mcp

  • Fetches Drupal module information from drupal.org

  • Provides the get_module_info tool

  • Returns module name, description, latest version, download statistics, and status

  • Provides Composer installation command, Drupal version compatibility, project URL, and documentation links

Use cases of drupal-modules-mcp

  • Enabling AI assistants to provide accurate Drupal module information

  • Providing up-to-date module details for developers

  • Automating module information retrieval for documentation generation

  • Integrating module information into development tools and IDEs

FAQ from drupal-modules-mcp

What is the purpose of this server?

The server provides a way to programmatically access detailed information about Drupal modules from drupal.org.

What kind of information can I retrieve?

You can retrieve information such as the module's name, description, latest version, download statistics, status, Composer installation command, Drupal version compatibility, project URL, and documentation links.

How do I install the server?

You need to clone the repository, install dependencies using npm install, and build the server using npm run build.

How do I configure the server with my application?

You need to add the server configuration to your application's settings, specifying the path to the server's executable (e.g., in Claude Desktop's claude_desktop_config.json).

How can I debug the server?

You can use the MCP Inspector, which is available as a package script (npm run inspector).