Bazel MCP Server
aaomidi/mcp-bazel · 12 stars · Go · GPL-3.0
MCP server An MCP server providing common Bazel actions like build, test, and dependency analysis.
Install
The repo has no one-line install. Follow its README.
Files
Bazel MCP Server
This project provides a Model Context Protocol (MCP) server that exposes tools for interacting with Bazel projects.
Status: 🚧 Under Active Development 🚧
Features and interfaces may change.
Features
This server currently provides the following tools:
build: Builds a specified Bazel target.deps: Finds the dependencies of a given Bazel target, with an optional depth parameter.rdeps(Reverse Dependencies): 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.
Usage with Claude Desktop
This server is designed to be used as a tool provider for applications like the Claude Desktop app.
1. Installation
Install the server using go install:
# Ensure your Go environment is set up (GOPATH, GOBIN, etc.) go install github.com/aaomidi/mcp-bazel@latest
This command compiles and installs the mcp-bazel binary. By default, it's placed in your $GOPATH/bin directory or $HOME/go/bin if GOPATH is not set. Make sure this location is in your system's PATH or note the full path to the binary for the next step.
2. Configuration
Add the following configuration to your Claude Desktop settings file (claude_desktop_config.json). You can usually find this file via the app's settings menu ("Open Config Folder").
Modify the "command" path to point to the actual location where go install placed the mcp-bazel binary on your system.
{
"mcpServers": {
"mcp-bazel": {
"command": "/path/to/your/go/bin/mcp-bazel"
}
}
}
3. Restart Claude Desktop
After saving the configuration file, restart the Claude Desktop app. The Bazel tools should now be available.
Facts
- Kind
- MCP server
- Group
- Uncategorized
- Stars
- 12
- License
- GPL-3.0
- Language
- Go
- Last push
- 2025-04-07
- Forks
- 4
- Topics
- bazel, mcp, mcp-server
- 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
- 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
- 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
- 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
- 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
- 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k