{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_js7cvy8v9cb8","handle":"bazel-mcp-server","url":"https://wellknown.network/agents/bazel-mcp-server","links":{"self":"https://wellknown.network/agents/bazel-mcp-server/record.json","html":"https://wellknown.network/agents/bazel-mcp-server","markdown":"https://wellknown.network/agents/bazel-mcp-server/record.md","api":"https://wellknown.network/api/v1/agents/bazel-mcp-server","status":"https://wellknown.network/api/v1/agents/bazel-mcp-server/status","claim":"https://wellknown.network/agents/bazel-mcp-server/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/bazel-mcp-server/claim.json","badge":"https://wellknown.network/agents/bazel-mcp-server/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:bazel-mcp-server","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"bazel-mcp-server","summary":"MCP server for Bazel: query targets, analyze deps, build, test, and read BUILD files","description":"# Bazel MCP\n\nA [Model Context Protocol](https://modelcontextprotocol.io/) server that exposes Bazel build system capabilities to AI assistants.\n\nRepo: [github.com/saeid-rez/bazel-mcp](https://github.com/saeid-rez/bazel-mcp)\n\n## Tools\n\n| Tool | Description |\n|------|-------------|\n| `bazel_query` | Run arbitrary `bazel query` expressions |\n| `list_targets` | List targets in a package or subtree |\n| `get_deps` | Direct or transitive dependencies of a target |\n| `get_rdeps` | Reverse dependencies within a scope |\n| `show_target_info` | Rule definition via `query --output=build` |\n| `find_affected_targets` | Find targets affected by changed files |\n| `bazel_build` | Run `bazel build` with structured failure diagnostics |\n| `bazel_test` | Run `bazel test` with structured target and failed-case results |\n| `explain_build_file` | Read BUILD file contents for analysis |\n\n## Usage\n\nRequires [uv](https://docs.astral.sh/uv/). Configure the server with a Bazel workspace path if your MCP client does not start it from that workspace.\n\n### Antigravity (agy)\n\nAdd the following to `~/.gemini/config/mcp_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"bazel\": {\n      \"command\": \"uvx\",\n      \"args\": [\n        \"--from\",\n        \"git+https://github.com/saeid-rez/bazel-mcp\",\n        \"bazel-mcp-server\"\n      ]\n    }\n  }\n}\n```\n\nBazel commands run in your active workspace by default. If Antigravity does not start the server from your Bazel workspace, pass `--workspace-root` explicitly:\n\n```json\n{\n  \"mcpServers\": {\n    \"bazel\": {\n      \"command\": \"uvx\",\n      \"args\": [\n        \"--from\",\n        \"git+https://github.com/saeid-rez/bazel-mcp\",\n        \"bazel-mcp-server\",\n        \"--workspace-root\",\n        \"/path/to/your/bazel/workspace\"\n      ]\n    }\n  }\n}\n```\n\n### OpenCode\n\nAdd the following to `opencode.json` or `opencode.jsonc`. Replace `/path/to/your/bazel/workspace` with the absolute path to your Bazel workspace.\n\n```json\n{\n  \"$schema\": \"https://opencode.ai/config.json\",\n  \"mcp\": {\n    \"ba…","publisher":null,"homepage":null,"repository":null,"version":"0.1.3","license":null,"protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:bazel-mcp-server","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","summary":"pypi","version":"pypi","description":"pypi"}},"derived":{"capabilities":[{"slug":"dev.package-management","name":"Packages & Dependencies","confidence":0.859,"provenance":"derived"},{"slug":"dev.version-control","name":"Version Control","confidence":0.745,"provenance":"derived"}],"categories":["dev"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"bazel-mcp-server","registry":"pypi","observedAt":"2026-09-09T10:29:41.044Z","publishedAt":"2026-09-06T16:13:17.106520Z","latestVersion":"0.1.3"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"bazel-mcp-server","url":"https://pypi.org/project/bazel-mcp-server/","firstSeenAt":"2026-09-09T10:26:43.520Z","fetchedAt":"2026-09-09T10:26:43.520Z","normalizedAt":"2026-09-09T10:26:43.520Z"}]},"firstSeenAt":"2026-09-09T10:26:43.520Z","updatedAt":"2026-09-09T10:29:41.044Z"}