
mcp postman
A Model Context Protocol (MCP) server built with Cloudflare Workers for integration with Claude and other AI assistants
Repository Info
About This Server
A Model Context Protocol (MCP) server built with Cloudflare Workers for integration with Claude and other AI assistants
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
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
Quick Start
Clone the repository
git clone https://github.com/freebeiro/mcp-postmanInstall dependencies
cd mcp-postman
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.