
shannonlal/mcp-postman
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
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: 環境ファイルへのパスまたはURLglobals: グローバルファイルへのパスまたは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 collectionenvironment(optional): Path or URL to environment fileglobals(optional): Path or URL to globals fileiterationCount(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:
- Use the run-collection tool
- Analyze the test results
- 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/
インストール
npx -y @smithery/cli install mcp-postman --client claude設定
{
"mcpServers": {
"postman-runner": {
"command": "node",
"args": ["/absolute/path/to/mcp-postman/build/index.js"]
}
}
}