B

Bazel

Integrates with Bazel build systems to enable target building, test running, dependency analysis, and source file identification without requiring command-line

Bazel·No reviews yet
Repo
Share:

About

Integrates with Bazel build systems to enable target building, test running, dependency analysis, and source file identification without requiring command-line syntax knowledge.

Example tools

Illustrative tool names — the actual tool set is defined by the server at runtime.

list_resources
Enumerate resources exposed by this MCP
get_resource
Fetch a resource by ID
invoke
Invoke the primary action of this MCP

Screenshots

No screenshots yet.

Frequently Asked Questions

Common questions about Bazel.

What is the primary function of the Bazel MCP?
The Bazel MCP integrates with Bazel build systems to enable target building, test running, and dependency analysis. It allows these operations without direct command-line syntax knowledge, streamlining interaction with Bazel.
How do I install the Bazel MCP into an MCP client like Cursor?
The installation process depends on the specific MCP client's interface. Generally, you would locate an option for adding a new MCP, then provide the Bazel MCP's slug or its repository URL to the client for integration.
Does the Bazel MCP require an API key or other credentials for operation?
No, the Bazel MCP does not require an API key, OAuth, or any other credentials. Its authentication type is listed as 'none', indicating it operates without external authentication mechanisms.
What core capabilities does the Bazel MCP offer?
The Bazel MCP offers capabilities such as building specific targets, executing tests, analyzing project dependencies, and identifying source files. These functions are exposed to simplify development workflows within Bazel projects.
Is there a cost associated with using the Bazel MCP?
The Bazel MCP itself is open source and available on GitHub, implying no direct cost for its use. However, the operational costs of your Bazel build environment and any associated infrastructure are separate and depend on your deployment.
What are the limitations or prerequisites for using the Bazel MCP?
A key prerequisite for the Bazel MCP is an existing Bazel build system environment. Its functionality is entirely dependent on and integrated with an active Bazel project. Without a Bazel workspace, the MCP cannot perform its intended operations.

Install Bazel

Claude Desktop

Add this to claude_desktop_config.json.

{
  "mcpServers": {
    "bazel": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-bazel"
      ]
    }
  }
}

Cursor

Add this to ~/.cursor/mcp.json.

{
  "mcpServers": {
    "bazel": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-bazel"
      ]
    }
  }
}

VS Code

Add this to your workspace settings.json.

{
  "mcp.servers": {
    "bazel": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-bazel"
      ]
    }
  }
}

Reviews

Sign in to leave a review.

No reviews yet. Be the first!

Discussion(0)

Sign in to join the discussion.

No comments yet.