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.
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, including source code and metadata.
how to use BundlerMCP?
To use BundlerMCP, install the gem by adding it to your application's Gemfile and generate the binstub. Configure your client to execute the binstub with the appropriate command and environment variables.
key features of BundlerMCP?
- Lists all bundled Ruby gems with their versions, descriptions, and installation paths.
- Retrieves detailed information about specific gems, including documentation locations and source code file locations.
use cases of BundlerMCP?
- Querying gem details for dependency management in Ruby projects.
- Assisting AI agents in understanding project dependencies.
- Facilitating troubleshooting and documentation access for Ruby gems.
FAQ from BundlerMCP?
- How do I install BundlerMCP?
You can install BundlerMCP by running
bundle add bundler_mcp --group=developmentin your terminal.
- What environment variables are needed?
You may need to set
BUNDLE_GEMFILEto locate your Gemfile andBUNDLER_MCP_LOG_FILEfor logging purposes.
- Is BundlerMCP open source?
Yes! BundlerMCP is open source under the MIT License.