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.
A Model Context Protocol server.
This is a TypeScript-based MCP server implementing a simple notes system, demonstrating core MCP concepts by providing resources, tools, and prompts.
note:// URIs.create_note - Creates new text notes.summarize_notes - Generates a summary of all stored notes.Install dependencies:
npm installBuild the server:
npm run buildFor development with auto-rebuild:
npm run watchTo 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
{
  "mcpServers": {
    "drupal-modules-mcp": {
      "command": "/path/to/drupal-modules-mcp/build/index.js"
    }
  }
}Since MCP servers communicate over stdio, debugging can be challenging. Use the MCP Inspector, available as a package script:
npm run inspectorThe Inspector provides a URL to access debugging tools in your browser.
Cleversoft-IT/drupal-tools-mcp
February 7, 2025
February 7, 2025
JavaScript