Skip to main content
Glama

Bruno MCP

MCP server for Bruno API collections that executes requests via the Bruno CLI tool.

Prerequisites

1. Install Bruno CLI

The Bruno CLI tool (bru) must be installed and available in your PATH.

  1. Install Bruno CLI using npm

npm install -g @usebruno/cli
  1. Verify installation:

    bru --version

uv is the recommended way to install and run bruno-mcp. It includes uvx, which handles package installation and execution automatically.

curl -LsSf https://astral.sh/uv/install.sh | sh

Related MCP server: Bruno MCP

Setup

MCP Configuration (uvx)

Configure the MCP server by adding an entry to your IDE. For Cursor, create or edit the configuration file at ~/.cursor/mcp.json:

{
  "mcpServers": {
    "bruno-mcp": {
      "command": "uvx",
      "args": ["bruno-mcp"],
      "env": {
        "BRUNO_COLLECTION_PATH": "/path/to/your/bruno/collection"
      }
    }
  }
}

The only configuration required is BRUNO_COLLECTION_PATH, which should point to your Bruno collection directory. To load multiple collections, separate paths with : (Unix/Mac) or ; (Windows), e.g. BRUNO_COLLECTION_PATH="/path/to/collection1:/path/to/collection2".

Alternative: Run Server Manually

If you prefer not to use uvx, you can clone the repository and run the server directly:

git clone https://github.com/jackmulligan-ire/bruno-mcp.git
cd bruno-mcp
uv sync

Then configure your MCP client with the full paths:

{
  "mcpServers": {
    "bruno-mcp": {
      "command": "/path/to/bruno-mcp/.venv/bin/python",
      "args": ["-m", "bruno_mcp"],
      "cwd": "/path/to/bruno-mcp",
      "env": {
        "BRUNO_COLLECTION_PATH": "/path/to/your/bruno/collection",
        "PYTHONPATH": "/path/to/bruno-mcp/src"
      }
    }
  }
}

After updating the configuration file, enable the server in your IDE's MCP settings.

Usage Notes

Multiple Collections

When BRUNO_COLLECTION_PATH contains multiple paths (separated by : on Unix/Mac or ; on Windows), the server loads all collections at startup. The first path is the initial active collection. Use the list_collections tool or bruno://collections resource to see available collections, and set_active_collection to switch which collection tools operate on.

Variable Overrides

The run_request_by_id tool accepts a variable_overrides parameter that maps to the Bruno CLI's --env-var flag. This allows you to substitute {{variable}} placeholders in your .bru files at runtime.

Important limitation: --env-var can only override variables that are already defined in a Bruno environment. It cannot introduce new variables, or replace the values of pre-request and post-request variables. If a variable is not defined in any environment, the override will be silently ignored and the placeholder will resolve to an empty string.

To use variable overrides:

  1. Define the variable in a Bruno environment file (even as an empty string):

    vars {
      postId:
    }
  2. Pass variable_overrides when calling the tool. For example, if you have a .bru file with the URL https://api.example.com/posts/{{postId}} and an environment called dev that defines postId, you would call:

    • variable_overrides: {"postId": "42"}

A
license - permissive license
-
quality - not tested
A
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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/jackmulligan-ire/bruno-mcp'

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