Bazel Mcp

Created By
saeid-rez7 hours ago
A local MCP server that exposes Bazel build system capabilities to AI assistants. ## Tools | Tool | Description | |------|-------------| | `bazel_query` | Run arbitrary `bazel query` expressions | | `list_targets` | List targets in a package or subtree | | `get_deps` | Direct or transitive dependencies of a target | | `get_rdeps` | Reverse dependencies within a scope | | `show_target_info` | Rule definition via `query --output=build` | | `bazel_build` | Run `bazel build` | | `bazel_test` | Run `bazel test` with structured results | | `explain_build_file` | Read BUILD file contents for analysis |

Server Config

{
  "mcpServers": {
    "bazel": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/saeid-rez/bazel-mcp",
        "bazel-mcp"
      ]
    }
  }
}
Project Info
Created At
7 hours ago
Updated At
7 hours ago
Author Name
saeid-rez
Star
-
Language
-
License
-
Category

Recommend Servers

View All
Reeve

5 hours ago
Silkgeo Geo

22 minutes ago