{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_knhk5kdnxq3q","handle":"bazel-mcp","url":"https://wellknown.network/agents/bazel-mcp","links":{"self":"https://wellknown.network/agents/bazel-mcp/record.json","html":"https://wellknown.network/agents/bazel-mcp","markdown":"https://wellknown.network/agents/bazel-mcp/record.md","api":"https://wellknown.network/api/v1/agents/bazel-mcp","status":"https://wellknown.network/api/v1/agents/bazel-mcp/status","claim":"https://wellknown.network/agents/bazel-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/bazel-mcp/claim.json","badge":"https://wellknown.network/agents/bazel-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:bazel-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"bazel-mcp","summary":"MCP server exposing Bazel build/run/test/query as tools","description":"# bazel-mcp\n\n[![Python Version](https://img.shields.io/pypi/pyversions/bazel-mcp)](https://pypi.org/project/bazel-mcp/)\n[![PyPI Version](https://img.shields.io/pypi/v/bazel-mcp)](https://pypi.org/project/bazel-mcp/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![MCP](https://img.shields.io/badge/MCP-Compatible-blue)](https://modelcontextprotocol.io/)\n\n**Integrate Bazel with AI coding assistants via the Model Context Protocol**\n\nbazel-mcp is a [Model Context Protocol](https://modelcontextprotocol.io/) server that exposes your Bazel workspace to AI assistants like Claude (in VS Code or Cursor). It enables AI assistants to understand and work with Bazel projects by providing direct access to build, test, run, and query capabilities.\n\n## Why bazel-mcp?\n\n- **🤖 AI-Native Development**: Let AI assistants build, test, and run Bazel targets directly\n- **📦 Zero Configuration**: Automatically discovers all Bazel targets in your workspace\n- **🔄 Real-time Streaming**: See build and test output as it happens\n- **🎯 Smart Context**: AI understands your build graph and dependencies\n- **⚡ Fast Iteration**: No context switching between AI chat and terminal\n\n## Installation\n\n### From PyPI (Recommended)\n\n```bash\npip install bazel-mcp\n```\n\n### From Source\n\n```bash\ngit clone https://github.com/sandeepnmenon/py_bazel_mcp\ncd py_bazel_mcp\npip install -e .\n```\n\n## Quick Start\n\n### 1. Configure Your Editor\n\n#### VS Code (Claude Extension)\n\nCreate `.vscode/mcp.json` in your workspace:\n\n```json\n{\n  \"mcpServers\": {\n    \"bazel-mcp\": {\n      \"command\": \"bazel-mcp\",\n      \"args\": [\"--repo\", \"${workspaceFolder}\"]\n    }\n  }\n}\n```\n\n#### Cursor\n\nAdd as a custom MCP server:\n1. Settings → MCP Servers → Add Custom Server\n2. Command: `bazel-mcp`\n3. Args: `--repo /path/to/your/bazel/workspace`\n\n### 2. Verify Setup\n\nAsk your AI assistant:\n> \"Can you list all Bazel targets in this workspace?\"\n\nThe assistant should use the `bazel_list_targets`…","publisher":{"name":"Sandeep Menon","url":null},"homepage":null,"repository":null,"version":"1.0.2","license":"MIT","protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:bazel-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","summary":"pypi","version":"pypi","description":"pypi","publisherName":"pypi"}},"derived":{"capabilities":[{"slug":"dev.package-management","name":"Packages & Dependencies","confidence":0.825,"provenance":"derived"},{"slug":"dev.terminal","name":"Terminal & Shell","confidence":0.779,"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","registry":"pypi","observedAt":"2026-09-09T10:29:40.226Z","publishedAt":"2025-10-04T06:32:07.052430Z","latestVersion":"1.0.2"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"bazel-mcp","url":"https://pypi.org/project/bazel-mcp/","firstSeenAt":"2026-09-09T10:26:43.277Z","fetchedAt":"2026-09-09T10:26:43.277Z","normalizedAt":"2026-09-09T10:26:43.277Z"}]},"firstSeenAt":"2026-09-09T10:26:43.277Z","updatedAt":"2026-09-09T10:29:40.226Z"}