
shannonlal/mcp-postman
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
shannonlal/mcp-postman - кандидат на сервер MCP, импортированный из https://github.com/shannonlal/mcp-postman.
Обзор
shannonlal/mcp-postman - кандидат на сервер MCP, импортированный из https://github.com/shannonlal/mcp-postman.
Обзор (машинный перевод)
Сервер MCP (Model Context Protocol), который позволяет запускать коллекции Postman с помощью Newman. Этот сервер позволяет LLM выполнять тесты API и получать подробные результаты через стандартизированный интерфейс.
##Список агентов
Особенности
Запускайте коллекции Postman с помощью Newman Поддержка файлов окружающей среды Поддержка глобальных переменных
- Детальные результаты испытаний, включая: Общий успех/неудача
- Резюме теста (полное, пройденное, неудачное) Подробная информация о сбоях
- Время исполнения
##Установка
###Установка через Smithery
Для автоматической установки Postman Runner для Claude Desktop через Smithery:
Ручная установка
Использование
Конфигурация
Добавьте сервер в файл конфигурации рабочего стола Claude по адресу ~/Library/Application Support/Claude/claude_desktop_config.json:
Доступные инструменты
Коллекция
Запускает коллекцию Почтальона и возвращает результаты теста.
Параметры:
collection (обязательно): Путь или URL к коллекции Postman
- [[Т2]] (факультативно): Путь или URL в файле окружения
- [[Т3]] (факультативно): Путь или URL в файл Globals
- [[Т4]] (факультативно): Количество итераций для запуска
Пример ответа:
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
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"]
}
}
}