mcp-bazel

mcp-bazel

3.3

If you are the rightful owner of mcp-bazel and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Bazel MCP Server is a Model Context Protocol server designed to provide tools for interacting with Bazel projects, currently under active development.

The Bazel MCP Server is a specialized server that facilitates interaction with Bazel projects through a set of tools exposed via the Model Context Protocol (MCP). It is designed to be integrated with applications like the Claude Desktop app, providing functionalities such as building Bazel targets, finding dependencies, reverse dependencies, source files, and running tests. As the project is under active development, features and interfaces are subject to change. The server is implemented in Go and can be installed using the Go toolchain, making it accessible for developers familiar with Bazel and Go environments.

Features

  • build: Builds a specified Bazel target.
  • deps: Finds the dependencies of a given Bazel target, with an optional depth parameter.
  • rdeps: Finds all Bazel targets that depend on a given target or file path, with an optional depth parameter.
  • sources: Finds the direct source files associated with a given Bazel target.
  • test: Runs tests for a specified Bazel target.