Skip to main content
Glama

Postman MCP サーバー

鍛冶屋のバッジ

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

MCP Postman サーバーデモ

特徴

  • Newmanを使用してPostmanコレクションを実行する

  • 環境ファイルのサポート

  • グローバル変数のサポート

  • 詳細なテスト結果には以下が含まれます:

    • 全体的な成功/失敗のステータス

    • テストの概要(合計、合格、不合格)

    • 詳細な障害情報

    • 実行タイミング

Related MCP server: Postman MCP Server

インストール

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

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

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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/Gechmind/mcp-postman'

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