# drupal-tools-mcp

> MCP Server

This repository provides a TypeScript-based MCP server demonstrating core Model Context Protocol concepts with a simple notes system, including resource management, tool execution, and prompt generation for LLM summarization.

## Overview

- **Category:** Developer Tools
- **Language:** JavaScript
- **Stars:** 0
- **Forks:** 1
- **Owner:** Cleversoft-IT
- **GitHub:** https://github.com/Cleversoft-IT/drupal-tools-mcp
- **Created:** 2025-02-07T18:27:27+00:00
- **Updated:** 2025-02-07T18:52:01+00:00
- **Source:** https://model-context-protocol.com/servers/drupal-development-model-context-protocol-servers

## 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.  To use with Claude Desktop, add the server config:

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

## Tools

## Available Tools

1.  Resources: List and access notes via `note://` URIs, each note has a title, content and metadata, and plain text mime type for simple content access.
2.  `create_note`: Create new text notes, taking title and content as required parameters and storing note in server state.
3.  `summarize_notes`: Generate a summary of all stored notes, including all note contents as embedded resources and returning structured prompt for LLM summarization.
