MCP.so
登录

BundlerMCP MCP Server

@subelsky

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

subelsky

关于 BundlerMCP MCP Server

A Model Context Protocol (MCP) server enabling AI agents to query information about gems in a Ruby project's Gemfile, including source code and metadata.

#ruby#bundler#mcp

BundlerMCP MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "bundler_mcp": {
      "command": "npx",
      "args": [
        "@modelcontextprotocol/inspector",
        "./bin/bundler_mcp"
      ]
    }
  }
}

BundlerMCP MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is BundlerMCP?

BundlerMCP is a Model Context Protocol (MCP) server that enables AI agents to query information about dependencies in a Ruby project’s Gemfile. It is built with fast-mcp and is intended for developers using Ruby and Bundler.

How to use BundlerMCP?

Install the gem (bundle add bundler_mcp --group=development), generate the binstub (bundle binstubs bundler_mcp), then configure your MCP client to execute the binstub (e.g., in an mcp.json file). Optionally set BUNDLER_MCP_LOG_FILE for logging or BUNDLE_GEMFILE for a custom Gemfile path.

Key features of BundlerMCP

  • Lists all bundled Ruby gems with versions, descriptions, and paths
  • Retrieves detailed information about a specific gem
  • Provides top-level documentation locations (e.g., README, CHANGELOG)
  • Supports logging for troubleshooting via environment variable
  • Built on the Model Context Protocol for AI agent integration

Use cases of BundlerMCP

  • AI assistant answering “which version of this gem am I using?”
  • AI agent listing all project dependencies with descriptions
  • AI tool retrieving source code file locations of a specific gem
  • Debugging gem documentation by querying installation paths

常见问题

1

What does BundlerMCP do?

It allows AI agents to query Ruby project dependencies from a `Gemfile`, providing gem versions, descriptions, installation paths, and documentation locations.

2

How do I install and set up BundlerMCP?

Add the gem to your development group (`bundle add bundler_mcp --group=development`), then generate the binstub (`bundle binstubs bundler_mcp`). Configure your client with the path to the binstub as shown in the Usage section.

3

What client configurations are supported?

The README provides examples for Claude and Cursor using an `mcp.json` file, with the command set to the binstub path. You can also set environment variables like `BUNDLER_MCP_LOG_FILE` and `BUNDLE_GEMFILE`.

4

What tools does BundlerMCP provide?

Two tools: `list_project_gems` (lists all gems with versions, descriptions, paths, and documentation locations) and `get_gem_details` (retrieves detailed info for a specific gem, including source code file locations).

5

How can I test BundlerMCP without a client?

Use the MCP Inspector: `npx @modelcontextprotocol/inspector ./bin/bundler_mcp`. You can enable logging and specify a custom Gemfile via environment variables.

评论

其他 分类下的更多 MCP 服务器