MCP.so
Sign In

BundlerMCP

@subelsky

About BundlerMCP

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.

Basic information

Category

Other

License

MIT

Runtime

ruby

Transports

stdio

Publisher

subelsky

Config

Add this server to your MCP-compatible client using the configuration below.

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

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

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

FAQ from BundlerMCP

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.

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.

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.

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).

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.

Comments

More Other MCP servers