MCP Server RubyGems

by 6

Integrations

  • Provides tools for fetching RubyGems metadata, including gem information, searching for gems, retrieving version information, finding reverse dependencies, and looking up ownership details through the RubyGems.org API.

mcp-服务器-rubygems

用于通过rubygems.org API获取 rubygems 元数据的模型上下文协议服务器。

工具

此 MCP 服务器提供以下工具用于与 RubyGems.org API 交互:

工具描述
get_rubygem_info获取有关 RubyGem 的信息
search_rubygems搜索与查询字符串匹配的 RubyGems
get_gem_versions获取特定 RubyGem 的所有可用版本
get_gem_reverse_dependencies获取依赖于特定 RubyGem 的 gem
get_owner_gems获取特定用户或组织拥有的所有 RubyGem
get_gem_owners获取特定 RubyGem 的所有者

用法

安装依赖项:

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": { "mcp-server-rubygems": { "command": "/path/to/mcp-server-rubygems/build/index.js" } } }

它应该与 Cursor、Cline 等 MCP 客户端类似——只需在您的配置中添加上面的command即可。

调试

由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:

npm run inspector

检查器将提供一个 URL 来访问浏览器中的调试工具。

-
security - not tested
F
license - not found
-
quality - not tested

模型上下文协议服务器允许与 RubyGems.org API 交互以获取有关 Ruby 包的元数据、搜索 gems 以及探索依赖项和所有权信息。

  1. Tools
    1. Usage
      1. Installation
        1. Debugging
      ID: myrihmfllt