Skip to main content
Glama

Bazel MCP Server

by nacgarg

bazel_fetch_dependencies

Fetch external dependencies for specific Bazel targets, enabling AI agents to manage Bazel projects using additional command-line arguments without direct access to Bazel.

Instructions

Fetch Bazel external dependencies

Input Schema

NameRequiredDescriptionDefault
additionalArgsNoAdditional Bazel command line arguments (e.g. ['--experimental_repository_cache_hardlinks', '--repository_cache=path/to/cache'])
targetsNoList of specific targets to fetch dependencies for

Input Schema (JSON Schema)

{ "properties": { "additionalArgs": { "description": "Additional Bazel command line arguments (e.g. ['--experimental_repository_cache_hardlinks', '--repository_cache=path/to/cache'])", "items": { "type": "string" }, "type": "array" }, "targets": { "description": "List of specific targets to fetch dependencies for", "items": { "type": "string" }, "type": "array" } }, "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