- Explore MCP Servers
- mcp-postman
Mcp Postman
What is Mcp Postman
mcp-postman is a Model Context Protocol (MCP) server built with Cloudflare Workers, designed to integrate with Claude and other AI assistants, providing API access to Postman collections and environments.
Use cases
Use cases include automating API testing, managing Postman collections and environments, generating documentation, and facilitating communication between developers and AI tools.
How to use
To use mcp-postman, clone the repository, install dependencies with ‘npm install’, configure your Postman API key in the ‘.env’ file, and deploy it to Cloudflare Workers using ‘wrangler deploy’.
Key features
Key features include retrieving and creating Postman collections and environments, adding requests to collections, running collections, and getting test results, all through the Claude AI MCP interface.
Where to use
mcp-postman can be used in software development environments, particularly for API testing, documentation, and management workflows, enhancing collaboration between developers and AI assistants.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Mcp Postman
mcp-postman is a Model Context Protocol (MCP) server built with Cloudflare Workers, designed to integrate with Claude and other AI assistants, providing API access to Postman collections and environments.
Use cases
Use cases include automating API testing, managing Postman collections and environments, generating documentation, and facilitating communication between developers and AI tools.
How to use
To use mcp-postman, clone the repository, install dependencies with ‘npm install’, configure your Postman API key in the ‘.env’ file, and deploy it to Cloudflare Workers using ‘wrangler deploy’.
Key features
Key features include retrieving and creating Postman collections and environments, adding requests to collections, running collections, and getting test results, all through the Claude AI MCP interface.
Where to use
mcp-postman can be used in software development environments, particularly for API testing, documentation, and management workflows, enhancing collaboration between developers and AI assistants.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
Postman MCP Server
A Cloudflare Worker that provides API access to Postman collections and environments via the Claude AI MCP (Model Control Plane) interface.
Overview
This server allows Claude AI to interact with your Postman collections and environments to perform various operations, including:
- Retrieving collections and environments
- Creating new collections and environments
- Adding requests to collections
- Running collections and getting test results
This enables Claude to assist with API testing, documentation, and management tasks in your workflows.
Current Methods
The Postman MCP Server provides the following methods:
Basic Utility Methods
mcp__sayHello(name)- Returns a greeting with the provided namemcp__reverseString(input)- Reverses the characters in a string
Collection Methods
mcp__get_collections()- Gets all collections in your Postman accountmcp__get_collection(collectionId)- Gets details for a specific collectionmcp__create_collection(name, description)- Creates a new collectionmcp__add_request(collectionId, name, method, url, ...)- Adds a request to a collection
Environment Methods
mcp__get_environments()- Gets all environments in your Postman accountmcp__get_environment(environmentId)- Gets details for a specific environmentmcp__create_environment(name, variables)- Creates a new environment with variables
Test Execution
mcp__run_collection(collectionId, environmentId)- Runs a collection with an optional environment
Getting Started
- Clone this repository
- Install dependencies:
npm install - Copy
.env.exampleto.envand add your Postman API key - Deploy to Cloudflare Workers:
wrangler deploy
Development
To run the server locally for development:
npm run dev
This will start the server locally using wrangler.
Project Structure
/src- Source code/interfaces- TypeScript interfaces/services- Service classesindex.ts- Main worker entry point
/test- Unit tests/examples- Example usage/docs- Additional documentation
Examples
See the examples/postman-examples.md file for detailed examples of how to use the Postman MCP Server with Claude AI.
Deployment
To deploy to Cloudflare Workers:
npm run deploy
Make sure your wrangler.toml file is configured properly.
Security
This server requires a Postman API key to function. Ensure that your key is stored securely in the Cloudflare Workers environment variables and not committed to version control.
Contributing
- Follow the DEVELOPMENT_GUIDELINES.md
- Adhere to SOLID_PRINCIPLES.md for code design
License
MIT License
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










