About
Overview
The Bazel MCP Server enables AI agents to interact with Bazel's build system. It provides tools for building targets, running tests, querying the build graph, and managing remote caching.
Capabilities
Tools & Capabilities
⚡build
Build a Bazel target
⚡test
Run tests for a target
⚡query
Query the build dependency graph
Setup
Installation
bash
Install
npx -y @nicepkg/mcp-server-bazelExamples
Example Usage
javascript
Usage
{
"mcpServers": {
"bazel": {
"command": "npx",
"args": ["-y", "@nicepkg/mcp-server-bazel"]
}
}
}Quick Info
Authorcommunity
LanguageTypeScript
StatusStable
Stars★ 45
Last UpdatedFeb 12, 2026