Skip to main content
Glama

Bazel MCP Server

by nacgarg

bazel_test_target

Execute Bazel tests for specific targets by specifying target paths and optional command-line arguments, enabling efficient testing within Bazel projects managed by the Bazel MCP Server.

Instructions

Run Bazel tests for specified targets

Input Schema

NameRequiredDescriptionDefault
additionalArgsNoAdditional Bazel command line arguments (e.g. ['--cache_test_results=no', '--test_output=all'])
targetsYesList of Bazel test targets to run (e.g. ['//path/to:test'])

Input Schema (JSON Schema)

{ "properties": { "additionalArgs": { "description": "Additional Bazel command line arguments (e.g. ['--cache_test_results=no', '--test_output=all'])", "items": { "type": "string" }, "type": "array" }, "targets": { "description": "List of Bazel test targets to run (e.g. ['//path/to:test'])", "items": { "type": "string" }, "type": "array" } }, "required": [ "targets" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nacgarg/bazel-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server