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.

コメント

「その他」の他のコンテンツ