Does Bazel MCP Server require a Bazel binary on the system?
Yes, a Bazel binary must be available. It is usually auto-detected, but the path can be explicitly set via `--bazel_path` or the `MCP_BAZEL_PATH` environment variable.
@MCP-Mirror
基本信息
Mirror of
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"nacgarg_bazel-mcp-server": {
"command": "npx",
"args": [
"-y",
"github:nacgarg/bazel-mcp-server"
]
}
}
}Build specified Bazel targets
Query the dependency graph for targets matching a pattern
Run tests for specified targets
List all available targets in the workspace (requires path parameter, use "//" for all targets)
Fetch external dependencies
Change the Bazel workspace path at runtime
Bazel MCP Server is a local server that exposes functionality of the Bazel build system to MCP-enabled AI agents. It is designed for environments where the command-line tool is absent or the shell has a misconfigured environment preventing Bazel use.
Install and run via npx -y github:nacgarg/bazel-mcp-server or clone the repository and build from source. Configuration can be provided through CLI arguments, environment variables, or a configuration file using keys like --bazel_path, --workspace_path, --workspace_config, and --log_path. The server is invoked automatically by MCP clients such as Cursor (via .cursor/mcp.json) or Claude Desktop.
bazel_build_targetYes, a Bazel binary must be available. It is usually auto-detected, but the path can be explicitly set via `--bazel_path` or the `MCP_BAZEL_PATH` environment variable.
Yes, the `bazel_set_workspace_path` tool allows changing the workspace path at runtime.
The server works with any MCP-compatible client, including Cursor and Claude Desktop. Note that with Cursor Remote SSH sessions, the server runs locally and may not function as expected.
Configuration is resolved in this order: CLI arguments, environment variables, then a configuration file. Key settings include `--bazel_path`, `--workspace_path`, `--workspace_config`, and `--log_path`.
Yes, each tool (except `bazel_set_workspace_path`) supports an `additionalArgs` parameter for passing flags like `--verbose_failures` or `--test_output=all`.

Model Context Protocol Servers
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Senso MCP turns a Joomla 5 or 6 site into a remote MCP server. It runs inside Joomla itself (no extra server, no Node.js bridge) and is secured with OAuth 2.1 and Joomla's own ACL. The free pack lets an AI assistant crea

Health by Dr Brad works out a health plan from your own results: which screening is due at your age, and evidence-based suggestions, each with the reason and the published guideline or study behind it. Your record is one
评论