Query information about dependencies in a Ruby project's Gemfile.
A Model Context Protocol (MCP) server enabling AI agents to query information about dependencies in a Ruby project's Gemfile
. Built with fast-mcp.
Install the gem and add to the application's Gemfile by executing:
bundle add bundler_mcp --group=development
bundle binstubs bundler_mcp
{
"mcpServers": {
"bundler-mcp": {
"command": "/Users/mike/my_project/bin/bundler_mcp"
}
}
}
{
"mcpServers": {
"bundler-mcp": {
"command": "/Users/mike/my_project/bin/bundler_mcp",
"env": {
"BUNDLER_MCP_LOG_FILE": "/Users/mike/my_project/log/mcp.log",
"BUNDLE_GEMFILE": "/Users/mike/my_project/subdir/Gemfile"
}
}
}
}
The server provides two tools for AI agents:
Lists all bundled Ruby gems with their:
README
and CHANGELOG
)Retrieves detailed information about a specific gem, including:
BUNDLE_GEMFILE
: Used by Bundler to locate your Gemfile. If you use the binstub method described in the Usage section, this is usually not needed.BUNDLER_MCP_LOG_FILE
: Path to log file. Useful for troubleshooting (defaults to no logging)After checking out the repo, run bin/setup
to install dependencies and bundle exec rspec
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
You can test the server directly using the MCP inspector:
# Basic usage
npx @modelcontextprotocol/inspector ./bin/bundler_mcp
# With logging enabled
BUNDLER_MCP_LOG_FILE=/tmp/log/mcp.log npx @modelcontextprotocol/inspector ./bin/bundler_mcp
# With custom Gemfile
BUNDLE_GEMFILE=./other/Gemfile npx @modelcontextprotocol/inspector ./bin/bundler_mcp
To install this gem onto your local machine, run bundle exec rake install
. To release a new version:
version.rb
bundle exec rake release
This will:
.gem
file to rubygems.orgBug reports and pull requests are welcome on GitHub at https://github.com/subelsky/bundler_mcp.
Open source under the terms of the MIT License.
Converts LaTeX mathematical expressions to MathML format using MathJax-node.
A server for blockchain interactions, offering Ethereum vanity address generation, 4byte lookup, ABI encoding, and multi-chain RPC calls.
An MCP server that integrates with Ollama to provide tools for file operations, calculations, and text processing. Requires a running Ollama instance.
Embeds intelligent guidance into AI workflows to organize development and ensure quality.
Tool platform by IBM to build, test and deploy tools for any data source
MCP server for text-to-graphql, integrates with Claude Desktop and Cursor.
Tools to query latest Maven dependency information
A Model Context Protocol (MCP) server for square
Clojure linter
A platform-agnostic server for scalable mobile automation and development across iOS, Android, simulators, and emulators.