HB

hungthai1401/bruno-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

44 stars 9 forks 품질 70 트렌드 8

hungthai1401/bruno-mcp는 https://github.com/hungthai1401/bruno-mcp.]에서 수입된 MCP 서버 후보입니다

개요

hungthai1401/bruno-mcp는 https://github.com/hungthai1401/bruno-mcp.]에서 수입된 MCP 서버 후보입니다

개요(AI 번역)

Bruno 컬렉션을 실행할 수 있는 MCP(Model Context Protocol) 서버. 이 서버는 Bruno를 사용하여 API 테스트를 실행하고 표준화 된 인터페이스를 통해 상세한 결과를 얻을 수 있습니다.

특징

  • Bruno CLI를 사용하여 Bruno 컬렉션을 실행
  • 환경 파일을 위한 지원
  • 환경변수 지원
  • 다음과 같은 상세한 시험 결과:
  • 전반적인 성공 / 실패 상태
  • 시험 요약 (총, 통과, 실패)
  • 상세한 실패 정보
  • 실행 타이밍

설치

Smithery를 통해 설치

Smithery를 통해 Claude Desktop용 Bruno MCP Server를 자동으로 설치하십시오.

수동 설치

구성

~/Library/Application Support/Claude/claude_desktop_config.json]에서 Claude 데스크톱 구성 파일에 서버 추가:

사용 가능한 도구

런칭

Bruno 컬렉션을 실행하고 테스트 결과를 반환합니다.

** 모수: **

  • collection (필수): 브루노 컬렉션의 길
  • (선택) [T2]]: 환경 파일 경로
  • (선택) [T3]]: key-value 쌍으로 환경 변수

시험 응답:

Claude의 사용 예제

Bruno 컬렉션을 실행하려면 Claude에서 서버를 사용할 수 있습니다

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Bruno MCP Server

An MCP (Model Context Protocol) server that enables running Bruno collections. This server allows LLMs to execute API tests using Bruno and get detailed results through a standardized interface.

Features

  • Run Bruno collections using the Bruno CLI
  • Support for environment files
  • Support for environment variables
  • Detailed test results including:
    • Overall success/failure status
    • Test summary (total, passed, failed)
    • Detailed failure information
    • Execution timings

Installation

Installing via Smithery

To install Bruno MCP Server for Claude Desktop automatically via Smithery:

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

Manual Installation

# Install dependencies
npm install

# Build the project
npm run build

Configuration

Add the server to your Claude desktop configuration file at ~/Library/Application Support/Claude/claude_desktop_config.json:

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

Available Tools

run-collection

Runs a Bruno collection and returns the test results.

Parameters:

  • collection (required): Path to the Bruno collection
  • environment (optional): Path to environment file
  • variables (optional): Environment variables as key-value pairs

Example Response:

{
  "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
  }
}

Example Usage in Claude

You can use the server in Claude by asking it to run a Bruno collection:

“Run the Bruno collection at /path/to/collection.bru and tell me if all tests passed”

Claude will:

  1. Use the run-collection tool
  2. Analyze the test results
  3. Provide a human-friendly summary of the execution

Development

Project Structure

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

Running Tests

# Run tests
npm test

# Run tests with coverage
npm test:coverage
GitHub에서 전체 README 보기

설치

npx -y bruno-mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

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