MCP Server RubyGems
mcp-服务器-rubygems 
用于通过rubygems.org API获取 rubygems 元数据的模型上下文协议服务器。
工具
此 MCP 服务器提供以下工具用于与 RubyGems.org API 交互:
工具 | 描述 |
| 获取有关 RubyGem 的信息 |
| 搜索与查询字符串匹配的 RubyGems |
| 获取特定 RubyGem 的所有可用版本 |
| 获取依赖于特定 RubyGem 的 gem |
| 获取特定用户或组织拥有的所有 RubyGem |
| 获取特定 RubyGem 的所有者 |
Related MCP server: GitHub Tools 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": {
"mcp-server-rubygems": {
"command": "/path/to/mcp-server-rubygems/build/index.js"
}
}
}它应该与 Cursor、Cline 等 MCP 客户端类似——只需在您的配置中添加上面的command即可。
调试
由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:
npm run inspector检查器将提供一个 URL 来访问浏览器中的调试工具。
Available Tools
6 toolsget_gem_ownersC
Get the owners of a specific RubyGem
Inputs: $schema, additionalProperties, properties, required, +1 more.
get_gem_reverse_dependenciesC
Get gems that depend on a specific RubyGem
Inputs: $schema, additionalProperties, properties, required, +1 more.
get_gem_versionsC
Get all available versions of a specific RubyGem
Inputs: $schema, additionalProperties, properties, required, +1 more.
get_owner_gemsC
Get all RubyGems owned by a specific user or organization
Inputs: $schema, additionalProperties, properties, required, +1 more.
get_rubygem_infoC
Get information about a RubyGem from the RubyGems.org API
Inputs: $schema, additionalProperties, properties, required, +1 more.
search_rubygemsA
Search for RubyGems matching a query string. The search matches against gem names and descriptions. Returns up to 10 results by default (customizable with limit parameter), ordered by relevance. Example queries: "authentication", "rails middleware", "aws sdk"
Inputs: $schema, additionalProperties, properties, required, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool has a clearly distinct purpose with no ambiguity: get_gem_owners retrieves owners of a gem, get_gem_reverse_dependencies finds dependent gems, get_gem_versions lists versions, get_owner_gems shows gems owned by a user/org, get_rubygem_info provides general gem information, and search_rubygems searches for gems. The descriptions clearly differentiate their functions, making misselection unlikely.
All tools follow a consistent verb_noun pattern with 'get_' or 'search_' prefixes followed by descriptive nouns (e.g., get_gem_owners, search_rubygems). The naming is uniform throughout, using snake_case consistently without any deviations or mixed conventions.
With 6 tools, the count is well-scoped for a RubyGems server, covering key operations like searching, retrieving info, versions, dependencies, and ownership. Each tool earns its place without feeling excessive or insufficient for the domain's typical needs.
The tool set provides comprehensive read-only coverage for querying RubyGems, including search, info retrieval, version history, dependencies, and ownership. A minor gap exists in write operations (e.g., publishing or managing gems), but this is reasonable for a query-focused server, and agents can work around this limitation.
Maintenance
Related MCP Connectors
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Model Context Protocol server for Studex tools, notifications, and profile integrations
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
Related MCP Servers
- AlicenseDqualityDmaintenanceA Model Context Protocol server that allows AI models to fetch detailed information about npm packages and discover popular packages in the npm ecosystem.1ISC
- FlicenseNot gradedqualityNot gradedmaintenanceModel Context Protocol server that enables interaction with GitHub repositories, issues, pull requests, and search functionality through natural language.1-
- AlicenseNot gradedqualityCmaintenanceA Model Context Protocol server for querying PyPI package information, dependencies, and compatibility checking. Supports advanced dependency analysis, download statistics, and trending analysis.90 PyPI19MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server for querying package registries (npm, PyPI, crates.io) to retrieve metadata, release timelines, and maintenance signals.1MIT