Postman MCP Server logo

Postman MCP Server

by freebeiro

The Postman MCP Server is a Node.js Express application for managing Postman collections, creating mock servers, and running API tests using Newman. It provides a simple interface for test scenario management, mock server generation, and API testing.

View on GitHub

Last updated: N/A

What is Postman MCP Server?

The Postman MCP (Mock Collection Processor) Server is a Node.js Express application that provides an interface for managing Postman collections, generating mock servers, and running API tests using Newman.

How to use Postman MCP Server?

To use the server, clone the repository, install dependencies using npm install, configure the .env file with your Postman API key, and start the server using npm start. Then, use the API endpoints to create test scenarios, create mock servers, and run tests.

Key features of Postman MCP Server

  • Test Scenario Management

  • Mock Server Generation

  • API Testing with Newman

  • API endpoint for creating test scenarios

  • API endpoint for creating mock servers

  • API endpoint for running tests

Use cases of Postman MCP Server

  • API development and testing

  • Automated testing

  • Mocking API endpoints for development

  • Managing Postman collections

FAQ from Postman MCP Server

What is the Postman API key used for?

The Postman API key is used to access your Postman collections and environments.

What version of Node.js is required?

Node.js version 14 or higher is required.

How do I create a test scenario?

Use the POST /create-scenario endpoint with a Postman collection.

How do I run tests for a specific scenario?

Use the POST /run-tests/:scenarioId endpoint.

Where can I find examples of how to use the API endpoints?

The examples directory contains practical examples showing how to use each API endpoint.