MCP.so
登录

Bazel MCP Server

@aaomidi

基本信息

分类

开发工具

许可证

GPL-3.0

传输方式

stdio

作者

aaomidi

关于 Bazel MCP Server

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

Bazel MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Bazel MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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.

常见问题

1

What tools does Bazel MCP Server provide?

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

2

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

3

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.

4

Is Bazel MCP Server stable?

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

5

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.

评论

开发工具 分类下的更多 MCP 服务器