remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Integrations
Provides tools to fetch detailed information about Drupal modules directly from drupal.org, including module names, descriptions, latest recommended versions, download statistics, status, composer installation commands, Drupal version compatibility, project URLs, and documentation/README
drupal-modules-mcp MCP 服务器
用于从 drupal.org 检索 Drupal 模块信息的模型上下文协议服务器。
这款基于 TypeScript 的 MCP 服务器提供了一些工具,可以直接从 drupal.org 获取 Drupal 模块的详细信息。它可以帮助 AI 助手和其他工具获取 Drupal 模块的准确、最新信息,包括版本兼容性、安装说明和文档。
特征
工具
get_module_info
- 获取有关 Drupal 模块的综合信息- 需要模块的机器名称作为参数
- 返回详细的模块信息包括:
- 名称和描述
- 最新推荐版本
- 下载统计数据
- 模块状态
- Composer 安装命令
- Drupal 版本兼容性
- 项目网址
- 模块文档/自述文件
发展
安装依赖项:
构建服务器:
对于使用自动重建的开发:
安装
克劳德桌面
将服务器配置添加到您的 Claude Desktop 配置中:
在 MacOS 上: ~/Library/Application Support/Claude/claude_desktop_config.json
在 Windows 上: %APPDATA%/Claude/claude_desktop_config.json
Cline、Roo-Cline 和 Windsurf
将服务器配置添加到 IDE 的设置中:
- 打开 IDE 设置
- 导航至 MCP 服务器部分
- 添加具有以下配置的新服务器:Copy
确保将/path/to/drupal-modules-mcp
替换为您安装服务器的实际路径。
调试
由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:
检查器将提供一个 URL 来访问浏览器中的调试工具。
You must be authenticated.
Tools
这个基于 TypeScript 的 MCP 服务器实现了一个简单的注释系统,允许使用带有note://
URI 和元数据的 MCP 概念创建、列出和总结文本注释。