SM

shannonlal/mcp-postman

Developer tools

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

84 stars 19 forks 품질 78 트렌드 22MIT

shannonlal/mcp-postman은 MCP 서버 후보로 https://github.com/shannonlal/mcp-postman.에서 수입

개요

shannonlal/mcp-postman은 MCP 서버 후보로 https://github.com/shannonlal/mcp-postman.에서 수입

개요(AI 번역)

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

AI 에이전트 목록

특징

  • Newman을 사용한 Postman 컬렉션 실행
  • 환경 파일 지원
  • 글로벌 변수 지원
  • 다음과 같은 상세한 시험 결과:
  • 전체 성공 / 실패 상태
  • 시험 요약 (총, 통과, 실패)
  • 상세한 실패 정보
  • 실행 타이밍

설치

Smithery를 통해 설치

Smithery를 통해 Claude Desktop용 Postman Runner를 자동으로 설치하십시오.

수동 설치

사용법

윤곽

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

사용 가능한 도구

런칭

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

** 모수: **

  • collection (필수): 파인 맨 컬렉션에 경로 또는 URL
  • (선택) [T2]]: 환경 파일에 경로 또는 URL
  • (선택) [T3]]: 글로벌 파일 경로 또는 URL
  • (선택) [T4]]: 실행하는 반복의 수

시험 응답:

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

README

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

Postman MCP Server

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

AI Agent Listing

Features

  • Run Postman collections using Newman
  • Support for environment files
  • Support for global 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 Postman Runner for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install mcp-postman --client claude

Manual Installation

# Clone the repository
git clone 
cd mcp-postman

# Install dependencies
pnpm install

# Build the project
pnpm build

Usage

Configuration

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

{
  "mcpServers": {
    "postman-runner": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-postman/build/index.js"]
    }
  }
}

Available Tools

run-collection

Runs a Postman collection and returns the test results.

Parameters:

  • collection (required): Path or URL to the Postman collection
  • environment (optional): Path or URL to environment file
  • globals (optional): Path or URL to globals file
  • iterationCount (optional): Number of iterations to run

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 Postman collection:

“Run the Postman collection at /path/to/collection.json 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/
  │   ├── server.ts     # MCP Server implementation
  │   └── types.ts      # Type definitions
  └── newman/
GitHub에서 전체 README 보기

설치

npx -y @smithery/cli install mcp-postman --client claude
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "postman-runner": { "command": "node", "args": ["/absolute/path/to/mcp-postman/build/index.js"] } } }