Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
DEBUG | No | Enable verbose logging to the console. | |
MCP_LOG_PATH | No | The path to write server logs to. | |
MCP_BAZEL_PATH | No | The path to the Bazel binary to use. | |
MCP_WORKSPACE_PATH | No | The path to the Bazel workspace to use. | |
MCP_WORKSPACE_CONFIG | No | The configuration of the workspace to use. By default, this uses the .bazelrc file in the workspace root. |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
bazel_build_target | Build specified Bazel targets |
bazel_query_target | Query the Bazel dependency graph for targets matching a pattern |
bazel_test_target | Run Bazel tests for specified targets |
bazel_list_targets | List all available Bazel targets under a given path |
bazel_fetch_dependencies | Fetch Bazel external dependencies |
bazel_set_workspace_path | Set the current Bazel workspace path for subsequent commands |