# drupal-modules-mcp

> MCP Server

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.

## Overview

- **Category:** Developer Tools
- **Language:** JavaScript
- **Stars:** 0
- **Forks:** 1
- **Owner:** Cleversoft-IT
- **GitHub:** https://github.com/Cleversoft-IT/drupal-modules-mcp
- **Created:** 2025-02-08T06:29:54+00:00
- **Updated:** 2025-02-15T13:55:53+00:00
- **Source:** https://model-context-protocol.com/servers/drupal-module-mcp-server-data

## Setup

## Setup

1.  Install dependencies:
```bash
npm install
```
2.  Build the server:
```bash
npm run build
```
3.  For development with auto-rebuild:
```bash
npm run watch
```
4.  Add 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`

```json
{
  "mcpServers": {
    "drupal-modules-mcp": {
      "command": "/path/to/drupal-modules-mcp/build/index.js"
    }
  }
}
```
5. Add the server configuration to your IDE's settings for Cline, Roo-Cline, and Windsurf:

   ```json
   {
     "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.
6. Debugging: Use the MCP Inspector:
```bash
npm run inspector
```


## Tools

## Available Tools

1.  `get_module_info` (Fetch comprehensive information about a Drupal module, requiring the module's machine name as a parameter and returning detailed module information.)
