Bazel MCP Server
@aaomidi
About Bazel MCP Server
An MCP server providing common Bazel actions like build, test, and dependency analysis.
Basic information
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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.
More Developer Tools MCP servers
Burp Suite MCP Server Extension
PortSwiggerMCP Server for Burp
DevDocs by CyberAGI 🚀
cyberagiincCompletely free, private, UI based Tech Documentation MCP server. Designed for coders and software developers in mind. Easily integrate into Cursor, Windsurf, Cline, Roo Code, Claude Desktop App
Hello World MCP Server (Reference Extension)
anthropicsDesktop Extensions: One-click local MCP server installation in desktop apps
Grafana MCP server
grafanaMCP server for Grafana
Code Index MCP
johnhuang316A Model Context Protocol (MCP) server that helps large language models index, search, and analyze code repositories with minimal setup
Comments