GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
Python MCP server for running and inspecting Bruno API collections.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
BRUNO_AUTH_TOKEN标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"bruno": {
"command": "uvx",
"args": [
"mcp-bruno"
],
"env": {
"BRUNO_AUTH_TOKEN": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add bruno --env BRUNO_AUTH_TOKEN=your-value -- uvx mcp-bruno运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"bruno": {
"command": "uvx",
"args": [
"mcp-bruno"
],
"env": {
"BRUNO_AUTH_TOKEN": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"bruno": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-bruno"
],
"env": {
"BRUNO_AUTH_TOKEN": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 Kta41 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:BRUNO_AUTH_TOKEN
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.1)于38天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Python MCP server for running Bruno collections. It exposes a Model Context Protocol server over
stdiowith tools that run collections through thebruCLI and return normalized JSON results.
*Note: All examples in this repository use placeholder names (project1, /home/user/project/bruno, example.test). Replace them with your own paths and collection names.*
inherited_variables. Secret values are injected through a temporary, owner-only --env-file and the child process environment — they never appear in CLI arguments (ps output) or logs.success, summary, failures, and timings.uvnpm *(only if the Bruno CLI is not already installed)*The installer checks whether the Bruno CLI command bru is available. If it is missing, the server fails with an explicit error instead of silently installing packages. To install the pinned version manually:
npm install -g @usebruno/cli@4.2.0
Runtime auto-install is available but opt-in: set BRUNO_MCP_AUTO_INSTALL_BRU=1 (or auto_install = true under [bruno] in the config file) and the server installs exactly the pinned version from cli_version / BRUNO_MCP_BRU_VERSION.
Install dependencies using uv:
uv sync
*(If your configured package index does not mirror the MCP Python SDK, point uv at PyPI for the sync: UV_DEFAULT_INDEX=https://pypi.org/simple uv sync)*
You can run the server directly using uv:
uv run bruno-mcp
*Alternatively, run the module directly inside the uv environment: uv run python -m bruno_mcp*
Example MCP stdio configuration from this workspace root:
{
"mcpServers": { "bruno-runner": { "command": "uv", "args": ["run", "bruno-mcp"] } } }
bruno-mcp.toml)Default roots and auth aliases can be configured in bruno-mcp.toml in the current working directory, or globally in ~/.config/bruno-mcp/config.toml.
See bruno-mcp.example.toml for a commented template:
[workspace]
roots = [ "/home/user/project/bruno" ]
[bruno] cli_version = "4.2.0" # pinned Bruno CLI version auto_install = false # never install bru silently at runtime
[limits] run_timeout_seconds = 300 max_output_bytes = 8388608 max_concurrent_runs = 2
[artifacts] ttl_hours = 24 # raw reports are auto-deleted after this max_files = 50
[security] enforce_root_confinement = true # reject collection paths outside workspace roots
[auth] inherited_variables = [ "BRUNO_AUTH_TOKEN", "BRUNO_API_KEY" ]
[defaults] environment = "dev"
Every setting can also be set via environment variables (BRUNO_MCP_BRU_VERSION, BRUNO_MCP_AUTO_INSTALL_BRU, BRUNO_MCP_RUN_TIMEOUT, BRUNO_MCP_MAX_OUTPUT_BYTES, BRUNO_MCP_MAX_CONCURRENT_RUNS, BRUNO_MCP_ARTIFACTS_DIR, BRUNO_MCP_ARTIFACT_TTL_HOURS, BRUNO_MCP_ARTIFACT_MAX_FILES, BRUNO_MCP_ENFORCE_ROOT_CONFINEMENT, BRUNO_MCP_LOG_LEVEL), which take precedence over the file.
Note: The installer creates
~/.config/bruno-mcp/config.tomlwith a dummy root. Localbruno-mcp.tomlfiles are git-ignored so real paths and environment names are never committed.
From the project root, install dependencies with uv:
UV_DEFAULT_INDEX=[https://pypi.org/simple](https://pypi.org/simple) uv sync
Ensure the Bruno CLI is available (bru --version). This repository includes .vscode/mcp.json, allowing VS Code to discover the local MCP server from the workspace:
{
"servers": { "bruno-runner": { "type": "stdio", "command": "uv", "args": ["run", "bruno-mcp"] } } }
Reload the VS Code window after syncing dependencies. The bruno-runner server should now be available in the MCP servers list.
To install the MCP server in the VS Code user profile so it is available from any workspace:
uv run python scripts/install_vscode.py
*(To also install the reusable Copilot prompt and agent globally, append --with-copilot-customizations to the command above).*
To install it manually in another local VS Code workspace, change the command args to include --directory:
"args": ["--directory", "/home/user/mcp-bruno", "run", "bruno-mcp"]
list-collectionsLists Bruno collections below a root directory or configured roots. Use it when the user provides a partial collection name instead of a full path.
collections/ and environments/).run-collectionRuns a Bruno collection and returns normalized execution results.
KEY=value strings.--env-file and the child process environment ({{process.env.NAME}} also works) — never in CLI arguments.View detailed authentication & path behavior
Auth Handling: For secrets, prefer inherited_variables instead of writing values in chat. By default, the secure MCP input BRUNO_AUTH_TOKEN can satisfy Bruno variables named bearerToken, BEARER_TOKEN, AUTH_TOKEN, TOKEN, accessToken, or access_token. Secrets are injected via a temporary private --env-file; if the selected --env environment file declares the same variable (which would take precedence inside bru), the run transparently switches to a temporary sanitized copy of the collection with the conflicting entry removed, so the injected secret always wins and source files are never modified.
Workspace confinement: When [workspace] roots are configured (and at least one exists on disk), collection paths outside those roots are rejected with a clear error. Set enforce_root_confinement = false to disable.
Execution limits: Each bru run has a configurable timeout (run_timeout_seconds, default 300s), bounded stdout/stderr capture (max_output_bytes), and a concurrency cap (max_concurrent_runs). Raw JSON reports are stored as artifacts with owner-only (0600) permissions and expire automatically (ttl_hours / max_files). Structured logs go to stderr (BRUNO_MCP_LOG_LEVEL).
Supported Collection Inputs:
/path/to/bruno/collections/project1/path/to/bruno/collections/project1/request.bru.vru request file: /path/to/bruno/collections/project1/request.vru/path/to/bruno/collections/project1/opencollection.ymlWhen Bruno failures look like authentication problems, the response includes auth_failure: true and an auth_message.
Example with inherited secrets:
{
"collection": "/home/user/project/bruno/collections/project1", "environment": "dev", "inherited_variables": ["BRUNO_AUTH_TOKEN"] }
</details>
discover-environmentsInspects the folder structure around a Bruno collection and returns the sibling environments directory, available environment names, and variable names (without returning secret values).
read-result-artifactReads a bounded, redacted summary from the raw Bruno JSON artifact path returned by run-collection.
artifact.path value returned by a previous run.list-request-filters & run-filter-scenarioslist-request-filters: Inspects YAML request files and returns query params split into enabled and disabled groups.run-filter-scenarios: Runs temporary request variants with selected disabled query params enabled without modifying the source files.run-full-validationTwo-phase orchestration in a single tool call:
4xx/5xx).These workflows use the MCP server configured as bruno-runner; installing a skill or prompt does not install or configure the server. Configure the server in your client first using the MCP configuration above.
The repository includes a custom agent and a slash-command prompt. From this repository root, copy them into the target workspace:
mkdir -p /path/to/workspace/.github/agents /path/to/workspace/.github/prompts
cp copilot/agents/bruno-runner.agent.md /path/to/workspace/.github/agents/ cp copilot/prompts/run-bruno-collection.prompt.md /path/to/workspace/.github/prompts/
Select the bruno-runner custom agent in Copilot Chat's agent picker (@bruno-runner where supported), or run /run-bruno-collection [environment] in Chat. The slash command works independently of selecting the custom agent.
Alternatively, install both globally with:
uv run python scripts/install_vscode.py --with-copilot-customizations
The universal Bruno Runner skill consolidates collection discovery, environment selection, standard runs, targeted filter scenarios, full two-phase validation, secret safety, and reporting rules.
For Claude Code, copy it into the target project's skill directory:
mkdir -p /path/to/workspace/.claude/skills/bruno-runner
cp skills/bruno-runner/SKILL.md /path/to/workspace/.claude/skills/bruno-runner/SKILL.md
Or symlink the skill directory using an absolute source path:
mkdir -p /path/to/workspace/.claude/skills
ln -s /absolute/path/to/mcp-bruno/skills/bruno-runner /path/to/workspace/.claude/skills/bruno-runner
For Cursor, copy or symlink the same directory to .cursor/skills/bruno-runner/; for Windsurf, use .windsurf/skills/bruno-runner/ in the target workspace. Skill discovery depends on your client's version and configuration. For clients using rules instead, adapt th
只显示了开头部分;其余内容请在仓库中阅读