Postman MCP Server logo

Postman MCP Server

by shannonlal

This is an MCP server that enables running Postman collections using Newman. It allows LLMs to execute API tests and get detailed results through a standardized interface.

View on GitHub

Last updated: N/A

What is Postman MCP Server?

The Postman MCP Server is a tool that allows Large Language Models (LLMs) to execute Postman collections and retrieve detailed test results. It acts as a bridge between LLMs and Postman's testing capabilities, providing a standardized interface for API testing.

How to use Postman MCP Server?

To use the server, you need to install it either via Smithery or manually. Then, configure your Claude desktop configuration file to include the server. You can then use the run-collection tool with parameters like collection path, environment file, and global variables to execute Postman collections. The server returns a JSON response with the test results.

Key features of Postman MCP Server

  • Run Postman collections using Newman

  • Support for environment files

  • Support for global variables

  • Detailed test results (success/failure, summary, failures, timings)

Use cases of Postman MCP Server

  • Automated API testing within LLM workflows

  • Validating API functionality based on LLM instructions

  • Integrating API testing into conversational AI applications

  • Generating human-friendly summaries of API test results using LLMs

FAQ from Postman MCP Server

What is an MCP server?

MCP stands for Model Context Protocol. It's a protocol that allows LLMs to interact with external tools and services.

What is Newman?

Newman is a command-line collection runner for Postman. It allows you to run and test Postman collections directly from the command line.

How do I install the server?

You can install it either via Smithery using the provided command or manually by cloning the repository, installing dependencies, and building the project.

How do I configure Claude to use the server?

You need to add the server configuration to your Claude desktop configuration file (~/Library/Application Support/Claude/claude_desktop_config.json) with the correct command and arguments.

What parameters does the run-collection tool accept?

The run-collection tool accepts parameters such as collection (required), environment (optional), globals (optional), and iterationCount (optional).