The Postman MCP Server is a Cloudflare Worker that provides API access to Postman collections and environments via the Claude AI MCP (Model Control Plane) interface. This server enables Claude AI to interact with your Postman collections and environments, allowing for operations such as retrieving, creating, and running collections, as well as managing environments. This integration facilitates API testing, documentation, and management tasks within your workflows.
mcp__sayHello(name)
- Returns a greeting with the provided namemcp__reverseString(input)
- Reverses the characters in a stringmcp__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 collectionmcp__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 variablesmcp__run_collection(collectionId, environmentId)
- Runs a collection with an optional environmentnpm install
.env.example
to .env
and add your Postman API keywrangler deploy
To run the server locally for development:
npm run dev
This will start the server locally using wrangler.
/src
- Source code/interfaces
- TypeScript interfaces/services
- Service classesindex.ts
- Main worker entry point/test
- Unit tests/examples
- Example usage/docs
- Additional documentationSee the examples/postman-examples.md file for detailed examples of how to use the Postman MCP Server with Claude AI.
To deploy to Cloudflare Workers:
npm run deploy
Make sure your wrangler.toml
file is configured properly.
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.
MIT License
A Model Context Protocol (MCP) server built with Cloudflare Workers for integration with Claude and other AI assistants
No releases published
No packages published