Skip to main content
Glama

Postman MCP Server

by shannonlal

Postman MCP サーバー

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

特徴

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

インストール

Smithery経由でインストール

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

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

手動インストール

# Clone the repository git clone <repository-url> cd mcp-postman # Install dependencies pnpm install # Build the project pnpm build

使用法

構成

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

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

利用可能なツール

ランコレクション

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

パラメータ:

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

応答例:

{ "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 でサーバーを使用するには、Postman コレクションを実行するように要求します。

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

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

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

発達

プロジェクト構造

src/ ├── index.ts # Entry point ├── server/ │ ├── server.ts # MCP Server implementation │ └── types.ts # Type definitions └── newman/ └── runner.ts # Newman runner implementation test/ ├── server.test.ts # Server tests ├── newman-runner.test.ts # Runner tests └── fixtures/ # Test fixtures └── sample-collection.json

テストの実行

# Run tests pnpm test # Run tests with coverage pnpm test:coverage

建物

# Build the project pnpm build # Clean build artifacts pnpm clean

貢献

  1. リポジトリをフォークする
  2. 機能ブランチを作成します( git checkout -b feature/amazing-feature
  3. 変更をコミットします ( git commit -m 'Add some amazing feature' )
  4. ブランチにプッシュする ( git push origin feature/amazing-feature )
  5. プルリクエストを開く

ライセンス

ISC

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Newman を使用して Postman コレクションを実行し、API テストを実行し、標準化されたインターフェースを介して詳細な結果分析を取得できるようにします。

  1. 特徴
    1. インストール
      1. Smithery経由でインストール
      2. 手動インストール
    2. 使用法
      1. 構成
      2. 利用可能なツール
      3. クロードでの使用例
    3. 発達
      1. プロジェクト構造
      2. テストの実行
      3. 建物
    4. 貢献
      1. ライセンス

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          Provides seamless access to Postman.
          Last updated -
          99
          28
          TypeScript
          MIT License
          • Apple
        • A
          security
          A
          license
          A
          quality
          An MCP server that generates AI agent tools from Postman collections and requests. This server integrates with the Postman API to convert API endpoints into type-safe code that can be used with various AI frameworks.
          Last updated -
          1
          7
          JavaScript
          MIT License
        • -
          security
          A
          license
          -
          quality
          An MCP server that enables running Postman collections using Newman, allowing LLMs to execute API tests and get detailed results through a standardized interface.
          Last updated -
          27
          MIT License
          • Apple
        • -
          security
          F
          license
          -
          quality
          Exposes Bruno API collections as Model Context Protocol (MCP) tools, allowing AI agents and MCP clients to interact with your API collections.
          Last updated -
          TypeScript
          • Linux

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/shannonlal/mcp-postman'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server