Drupal-Modules-MCP MCP Server
drupal-modules-mcp MCP 服务器
模型上下文协议服务器
这是一个基于 TypeScript 的 MCP 服务器,实现了一个简单的笔记系统。它通过提供以下内容来演示 MCP 的核心概念:
用 URI 和元数据表示文本注释的资源
创建新笔记的工具
生成笔记摘要的提示
特征
资源
通过
note://URI 列出并访问笔记每个笔记都有标题、内容和元数据
用于简单内容访问的纯文本 MIME 类型
工具
create_note创建新的文本注释将标题和内容作为必需参数
将注释存储在服务器状态中
提示
summarize_notes- 生成所有存储笔记的摘要包含所有笔记内容作为嵌入资源
返回 LLM 摘要的结构化提示
Related MCP server: github-manager MCP Server
发展
安装依赖项:
npm install构建服务器:
npm run build对于使用自动重建的开发:
npm run watch安装
要与 Claude Desktop 一起使用,请添加服务器配置:
在 MacOS 上: ~/Library/Application Support/Claude/claude_desktop_config.json在 Windows 上: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"drupal-modules-mcp": {
"command": "/path/to/drupal-modules-mcp/build/index.js"
}
}
}调试
由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:
npm run inspector检查器将提供一个 URL 来访问浏览器中的调试工具。
Available Tools
1 toolget_command_infoB
Get detailed information about a specific Drush command
| Name | Required | Description | Default |
|---|---|---|---|
| command_name | Yes | Name of the Drush command | |
| version | No | Drush version (e.g. '13.x'). Defaults to '13.x' |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. It states this is a read operation ('Get'), but doesn't mention potential side effects, error conditions, authentication requirements, rate limits, or what format the detailed information returns in. This leaves significant gaps for a tool that presumably queries command documentation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that gets straight to the point with zero wasted words. It's appropriately sized for a simple lookup tool and front-loads the essential information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple read operation with no output schema and no annotations, the description adequately states the basic purpose but lacks important context about return format, error handling, and typical usage patterns. It's minimally viable but has clear gaps in completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema has 100% description coverage, so the baseline is 3. The description doesn't add any parameter-specific information beyond what's already in the schema descriptions, so it doesn't compensate or provide additional value regarding parameter usage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('Get detailed information') and resource ('about a specific Drush command'), making the purpose immediately understandable. It doesn't need to distinguish from siblings since none exist, so a 4 is appropriate rather than a 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives, prerequisites, or typical use cases. It simply states what the tool does without contextual guidance for the agent.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
- First observed
get_command_info
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion or overlap between tools. The tool's purpose is clearly defined and distinct by default.
A single tool inherently has perfect naming consistency, as there are no other tools to compare against. The tool name follows a clear verb_noun pattern (get_command_info).
A single tool is too few for a server named 'Drupal-Modules-MCP', which suggests a broader scope related to Drupal modules. This feels thin and incomplete for the apparent domain.
The tool surface is severely incomplete for a Drupal modules server. It only provides information about Drush commands, lacking any tools for listing, installing, updating, or managing modules, which are core operations in this domain.
Maintenance
Related MCP Connectors
Google Keep-style notes app with an MCP server for AI agents to read/write notes.
Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.
An MCP server that used to create notes
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceThis TypeScript-based MCP server enables users to manage and summarize text notes, providing tools for note creation and summarization prompts.2,784 npm10MIT
- AlicenseNot gradedqualityNot gradedmaintenanceThis TypeScript-based MCP server enables users to manage a simple notes system with capabilities to create and summarize notes through structured prompts and resources.1 npm-
- AlicenseNot gradedqualityDmaintenanceThis TypeScript-based MCP server allows users to manage a simple notes system through creating and summarizing text notes using Model Context Protocol (MCP).1,439 npm8MIT
- FlicenseNot gradedqualityDmaintenanceA TypeScript-based MCP server that enables users to manage text notes with features like note creation and summary generation using a Model Context Protocol.1-