Run Bruno collection
run-collectionExecute Bruno API collections via local bru CLI, returning normalized JSON results with request details, failures, and timings; supports environments and secret inheritance.
Instructions
Run a Bruno collection with the local bru CLI and return normalized JSON with success, request summary, per-request details, failures, and execution timings. Provide collection as the collection path; optionally pass environment and non-secret variables as KEY=value strings. For secrets, pass only names through inherited_variables; values are read from the MCP server process and injected via a temporary private --env-file, never via CLI arguments. Collection paths must stay inside the configured workspace roots.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variables | No | Optional Bruno environment variables passed as repeated `--env-var` values. Use KEY=value strings. | |
| collection | Yes | Path to the Bruno collection directory, a .bru/.vru request file, or an opencollection.yml file. When opencollection.yml is provided, the server runs its parent collection directory. | |
| environment | No | Optional Bruno environment name or environment file accepted by `bru run --env`. | |
| inherited_variables | No | Optional names of environment variables to read from the MCP server process and inject into Bruno via a temporary private --env-file (values never appear in CLI arguments or logs). Use this for secrets so the LLM only provides variable names, never values. |