Clojars-MCP-Server

Clojars-MCP-Server

Okay, I understand. Please provide the English text you want me to translate into Chinese. I will translate it, keeping in mind the context of providing up-to-date dependency information for Clojure libraries. This will help me choose the most accurate and relevant Chinese terms. For example, you could give me sentences like: * "This library depends on Clojure 1.10.3 or later." * "The latest version of this library is 2.0.1." * "This dependency is optional." * "This library has a transitive dependency on SLF4J." * "Please update your dependencies to the latest versions." I'm ready when you are!

Category
访问服务器

Tools

get_clojars_latest_version

Get the latest version of a Clojars dependency (Maven artifact)

check_clojars_version_exists

Check if a specific version of a Clojars dependency exists

README

Clojars MCP 服务器

npm version

一个 模型上下文协议 (MCP) 服务器,提供从 Clojars 获取依赖信息的工具。Clojars 是 Clojure 社区用于 Cline、Roo Code、Cody、Claude Desktop 等的构件仓库。

<a href="https://glama.ai/mcp/servers/i37857er6w"><img width="380" height="200" src="https://glama.ai/mcp/servers/i37857er6w/badge" alt="Clojars-MCP-Server MCP server" /></a>

安装

通过 npx 安装

使用 Clojars MCP 服务器的最快方法是直接使用 npx 运行它:

npx clojars-deps-server

您也可以全局安装它:

npm install -g clojars-deps-server

通过 Smithery 安装

要通过 Smithery 为 Claude Desktop 自动安装 Clojars Dependency Server:

npx -y @smithery/cli install clojars-deps-server --client claude

手动安装

  1. 克隆此仓库:
git clone https://github.com/yourusername/clojars-deps-server.git
cd clojars-deps-server
  1. 安装依赖:
npm install
  1. 构建服务器:
npm run build
  1. 将服务器添加到您的 Claude 配置:

对于 VSCode Claude 扩展,添加到 cline_mcp_settings.json (通常位于 macOS 上的 ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/):

{
  "mcpServers": {
    "clojars-deps-server": {
      "command": "node",
      "args": ["/path/to/clojars-deps-server/build/index.js"]
    }
  }
}

对于 Claude 桌面应用,添加到 claude_desktop_config.json (通常位于 macOS 上的 ~/Library/Application Support/Claude/):

{
  "mcpServers": {
    "clojars-deps-server": {
      "command": "node",
      "args": ["/path/to/clojars-deps-server/build/index.js"]
    }
  }
}

添加服务器配置后,Claude 将在启动时自动检测并连接到服务器。服务器的功能将在 Claude 的系统提示中“Connected MCP Servers”下列出,使其可供使用。

特性

  • 获取任何 Clojars 依赖的最新版本
  • 检查特定版本的依赖是否存在
  • 简单、集中的响应
  • 通过 MCP 轻松与 Claude 集成

工作原理

当此 MCP 服务器在 Claude 的设置中配置后,它会自动在 Claude 的系统提示中的“Connected MCP Servers”部分中可用。这使 Claude 了解服务器的功能,并允许它通过 use_mcp_tool 命令使用提供的工具。

该服务器公开了两个工具:

get_clojars_latest_version

{
  "name": "get_clojars_latest_version",
  "description": "获取 Clojars 依赖项(Maven 工件)的最新版本",
  "inputSchema": {
    "type": "object",
    "properties": {
      "dependency": {
        "type": "string",
        "description": "Clojars 依赖项名称,格式为 \"group/artifact\"(例如 \"metosin/reitit\")"
      }
    },
    "required": ["dependency"]
  }
}

check_clojars_version_exists

{
  "name": "check_clojars_version_exists",
  "description": "检查特定版本的 Clojars 依赖项是否存在",
  "inputSchema": {
    "type": "object",
    "properties": {
      "dependency": {
        "type": "string",
        "description": "Clojars 依赖项名称,格式为 \"group/artifact\"(例如 \"metosin/reitit\")"
      },
      "version": {
        "type": "string",
        "description": "要检查的版本(例如 \"0.7.2\")"
      }
    },
    "required": ["dependency", "version"]
  }
}

工具名称和描述经过专门设计,旨在帮助 Claude 了解这些工具用于从 Clojars 检索版本信息。当用户询问 Clojars 依赖项时,Claude 可以根据以下内容识别出这些工具适合该任务:

  • 工具名称明确表明其用途
  • 描述指定它们用于“Clojars 依赖项(Maven 工件)”
  • 示例格式显示了典型的 Clojars 依赖项模式

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选