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
Enables fetching dependency information from Clojars, the Clojure community's artifact repository, allowing users to get the latest version of dependencies and check if specific versions exist
Clojars MCP 服务器
模型上下文协议 (MCP)服务器提供从Clojars获取依赖信息的工具,Clojure 社区为 Cline、Roo Code、Cody、Claude Desktop 等提供的工件存储库。
安装
通过 npx 安装
使用 Clojars MCP 服务器的最快方法是直接使用 npx 运行它:
您也可以全局安装它:
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 Clojars Dependency Server:
手动安装
- 克隆此存储库:
- 安装依赖项:
- 构建服务器:
- 将服务器添加到您的 Claude 配置中:
对于 VSCode Claude 扩展,添加到cline_mcp_settings.json
(通常位于 macOS 上的~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/
):
对于 Claude 桌面应用程序,添加到claude_desktop_config.json
(通常位于 macOS 上的~/Library/Application Support/Claude/
):
添加服务器配置后,Claude 将在启动时自动检测并连接服务器。服务器的功能将在 Claude 的系统提示符下“已连接的 MCP 服务器”中列出,可供使用。
特征
- 获取任何 Clojars 依赖项的最新版本
- 检查依赖项的特定版本是否存在
- 简单、有针对性的回应
- 通过 MCP 轻松与 Claude 集成
工作原理
在 Claude 的设置中配置此 MCP 服务器后,它将自动在 Claude 系统提示符下的“已连接的 MCP 服务器”部分中可用。这使 Claude 能够感知服务器的功能,并允许其通过use_mcp_tool
命令使用提供的工具。
该服务器公开了两个工具:
获取clojars_latest_version
检查clojars版本是否存在
这些工具的名称和描述是专门为帮助 Claude 理解这些工具用于从 Clojars 中检索版本信息而设计的。当用户询问 Clojars 的依赖关系时,Claude 可以根据以下信息识别出这些工具适合该任务:
- 工具名称明确表明了其用途
- 描述指出它们用于“Clojars 依赖项(Maven 工件)”
- 示例格式展示了典型的 Clojars 依赖模式