Bazel MCP Server
JSON →Exposes the Bazel build system to AI agents, enabling them to build, query, test, and manage dependencies.
Install
npx -y github:nacgarg/bazel-mcp-server Tools · 6
- bazel_build_target Build specified Bazel targets
- bazel_query_target Query the dependency graph for targets matching a pattern
- bazel_test_target Run tests for specified targets
- bazel_list_targets List all available targets in the workspace (requires path parameter, use "//" for all targets)
- bazel_fetch_dependencies Fetch external dependencies
- bazel_set_workspace_path Change the Bazel workspace path at runtime
Links
★ 9 GitHub stars