MCP.so
ログイン

Bazel MCP Server

@aaomidi

Bazel MCP Server について

An MCP server providing common Bazel actions like build, test, and dependency analysis.

基本情報

カテゴリ

開発者ツール

ライセンス

GPL-3.0

ランタイム

go

トランスポート

stdio

公開者

aaomidi

設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Bazel MCP Server?

Bazel MCP Server is a Model Context Protocol (MCP) server that exposes tools for interacting with Bazel projects. It is designed to be used as a tool provider for applications like Claude Desktop, allowing AI assistants to build, test, and query dependencies of Bazel targets.

How to use Bazel MCP Server?

Install the server using go install github.com/aaomidi/mcp-bazel@latest, then configure it in your Claude Desktop settings file (claude_desktop_config.json) by pointing the command field to the installed mcp-bazel binary. After restarting Claude Desktop, the Bazel tools become available.

Key features of Bazel MCP Server

  • Build a specified Bazel target.
  • Find dependencies of a given Bazel target with optional depth.
  • Find reverse dependencies (rdeps) of a target or file path.
  • List direct source files associated with a Bazel target.
  • Run tests for a specified Bazel target.

Use cases of Bazel MCP Server

  • An AI assistant building a Bazel target on demand.
  • Exploring the dependency graph of a Bazel project.
  • Identifying which targets depend on a given file or target.
  • Quickly retrieving source files for a target during code review.
  • Running tests for a specific target without leaving the chat interface.

FAQ from Bazel MCP Server

What tools does Bazel MCP Server provide?

It provides five tools: build, deps, rdeps, sources, and test. Each corresponds to a common Bazel operation.

How do I install Bazel MCP Server?

Run go install github.com/aaomidi/mcp-bazel@latest. This requires a working Go environment with GOPATH and GOBIN set up. The binary is placed in $GOPATH/bin or $HOME/go/bin.

How do I configure Bazel MCP Server with Claude Desktop?

Add an entry to your claude_desktop_config.json under mcpServers with the key "mcp-bazel" and a command pointing to the full path of the mcp-bazel binary.

Is Bazel MCP Server stable?

No, it is under active development. Features and interfaces may change.

What runtime does Bazel MCP Server require?

It requires Go to be installed for the go install step. The server itself runs as a standalone binary.

コメント

「開発者ツール」の他のコンテンツ