Bruno MCP

Integrations

  • Enables running Bruno API test collections, with support for environment files and variables, providing detailed test results including success/failure status, test summaries, and execution timings.

ブルーノ MCP サーバー

Brunoコレクションの実行を可能にするMCP(Model Context Protocol)サーバー。このサーバーにより、LLMはBrunoを使用してAPIテストを実行し、標準化されたインターフェースを通じて詳細な結果を取得できます。

特徴

  • Bruno CLI を使用して Bruno コレクションを実行する
  • 環境ファイルのサポート
  • 環境変数のサポート
  • 詳細なテスト結果には以下が含まれます:
    • 全体的な成功/失敗のステータス
    • テストの概要(合計、合格、不合格)
    • 詳細な障害情報
    • 実行タイミング

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop 用の Bruno MCP Server を自動的にインストールするには:

npx -y @smithery/cli install @hungthai1401/bruno-mcp --client claude

手動インストール

# Install dependencies npm install # Build the project npm run build

構成

~/Library/Application Support/Claude/claude_desktop_config.jsonにある Claude デスクトップ構成ファイルにサーバーを追加します。

{ "mcpServers": { "bruno-runner": { "command": "npx", "args": ["-y", "bruno-mcp"], } } }

利用可能なツール

ランコレクション

Bruno コレクションを実行し、テスト結果を返します。

パラメータ:

  • collection (必須): ブルーノコレクションへのパス
  • environment (オプション): 環境ファイルへのパス
  • variables (オプション): キーと値のペアとしての環境変数

応答例:

{ "success": true, "summary": { "total": 5, "failed": 0, "passed": 5 }, "failures": [], "timings": { "started": "2024-03-14T10:00:00.000Z", "completed": "2024-03-14T10:00:01.000Z", "duration": 1000 } }

クロードでの使用例

Claude でサーバーを使用するには、Bruno コレクションを実行するように要求します。

「/path/to/collection.bru で Bruno コレクションを実行し、すべてのテストに合格したかどうかを教えてください」

クロードは次のことを行います:

  1. 実行収集ツールを使用する
  2. テスト結果を分析する
  3. 人間に分かりやすい実行概要を提供する

発達

プロジェクト構造

src/ ├── index.ts # Entry point ├── server.ts # MCP Server implementation ├── runner.ts # Bruno runner implementation └── types.ts # Type definitions

テストの実行

# Run tests npm test # Run tests with coverage npm test:coverage

建物

# Build the project npm run build # Clean build artifacts npm run clean

ライセンス

マサチューセッツ工科大学

-
security - not tested
F
license - not found
-
quality - not tested

Bruno Collections を実行するための MCP サーバー

  1. Features
    1. Installation
      1. Installing via Smithery
      2. Manual Installation
    2. Configuration
      1. Available Tools
        1. run-collection
        2. Example Usage in Claude
      2. Development
        1. Project Structure
        2. Running Tests
        3. Building
      3. License
        ID: e67ylblx9z