SM

shannonlal/mcp-postman

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

84 stars 19 forks 品質 78 トレンド 22MIT

shannonlal/mcp-postman は [https://github.com/shannonlal/mcp-postman.] からインポートされた MCP サーバーの候補です

概要

shannonlal/mcp-postman は [https://github.com/shannonlal/mcp-postman.] からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

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

##AIエージェントリスト

##特徴

  • ニューマンを使用してポストマンコレクションを実行します
  • 環境ファイルのサポート
  • グローバル変数のサポート
  • 下記のものを含む詳しいテスト結果:
  • 全体的な成功/失敗の状態
  • テストの概要(合計、渡された、失敗しました)
  • 詳細な故障情報
  • 実行タイミング

インストール

##Smitheryでインストールする

スミサリーを介して自動的にクロードデスクトップ用のポストマンランナーをインストールするには:

手動インストール

使用法

設定

[[~/Library/Application Support/Claude/claude_desktop_config.json]]でClaudeデスクトップ設定ファイルにサーバーを追加します。

利用可能なツール

実行コレクション

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

パラメーター:

  • [collection (必須): ポストマンコレクションへのパスまたはURL
  • environment: 環境ファイルへのパスまたはURL
  • globals: グローバルファイルへのパスまたはURL
  • [iterationCount] (オプション): 実行する反復の数

例:

このページは 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"] } } }