mcp-bruno
v0.1.1Python MCP server for running and inspecting Bruno API collections.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
run-collection Run Bruno collection
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.
| Parameter | Type | Description |
|---|---|---|
collection * | string | 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 | Optional Bruno environment name or environment file accepted by `bru run --env`. | |
inherited_variables | Optional names of environment variables to read from the MCP server process and pass to Bruno as `--env-var`. Use this for secrets so the LLM only provides variable names, never values. | |
variables | Optional Bruno environment variables passed as repeated `--env-var` values. Use KEY=value strings. |
list-collections List Bruno collections
List Bruno collections below a root directory or configured roots. Use this when the user gives a partial collection name instead of a full path.
| Parameter | Type | Description |
|---|---|---|
query | Optional case-insensitive text used to filter collection names and paths. | |
root | Optional Bruno root directory. When omitted, the server uses roots from bruno-mcp.toml or ~/.config/bruno-mcp/config.toml. |
discover-environments Discover Bruno environments
Inspect the folder structure around a Bruno collection and return the sibling environments directory, available environment names, and variable names. Secret values are not returned.
| Parameter | Type | Description |
|---|---|---|
collection * | string | Path to a Bruno collection under a bruno/collections-style tree. The server will look for a sibling environments directory. |
list-request-filters List Bruno request filters
Inspect OpenCollection YAML requests and return enabled and disabled query params that can be used as filter scenarios. Secret values are not returned.
| Parameter | Type | Description |
|---|---|---|
collection * | string | Path to the Bruno collection directory or opencollection.yml file to inspect for query filters. |
run-filter-scenarios Run Bruno filter scenarios
Run temporary Bruno request variants with selected disabled query params enabled, then validate HTTP status and response payload consistency. Each request is also run once without filters (baseline) to distinguish an ignored filter (response identical to baseline) from a filter that legitimately returns zero matches. Infrastructure failures (auth, routing, timeout, connectivity) are reported as inconclusive, never as filter defects. Source collection files are not modified.
| Parameter | Type | Description |
|---|---|---|
collection * | string | Path to the Bruno collection directory or opencollection.yml file. |
environment | Optional Bruno environment name. | |
inherited_variables | Optional secret variable names to inherit from the MCP server process. | |
max_scenarios | integer | Maximum number of generated scenarios when scenarios are omitted. |
scenarios | Optional explicit filter scenarios. When omitted, scenarios are generated from disabled query params. | |
variables | Optional non-secret KEY=value variables. |
read-result-artifact Read Bruno result artifact
Read a bounded, redacted summary from a raw Bruno JSON artifact path returned by run-collection or run-filter-scenarios. Use this when response data is too large to include directly in a tool result.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path returned by run-collection or run-filter-scenarios as artifact_path. |
max_items | integer | Maximum response items to sample per request. |
run-full-validation Run full Bruno validation (endpoints then filters)
Two-phase validation. Phase 1 runs the collection once and checks every endpoint is reachable (HTTP status, no request errors). Phase 2 only runs if phase 1 passes: it tests every documented disabled query filter across every endpoint in temporary request copies, without modifying source files. Each scenario is compared against an unfiltered baseline to distinguish ignored filters from legitimate zero-match results, and infrastructure failures are marked inconclusive instead of failed. Returns a consolidated result stating which phase ran, per-endpoint baseline status, and per-endpoint per-fil…
| Parameter | Type | Description |
|---|---|---|
collection * | string | Path to the Bruno collection directory or opencollection.yml file. |
environment | Optional Bruno environment name. | |
inherited_variables | Optional secret variable names to inherit from the MCP server process. | |
max_scenarios | integer | Maximum number of filter scenarios to run in phase 2, across all endpoints combined. |
variables | Optional non-secret KEY=value variables. |