SuperAPI AI Directory

postman-mcp-server

Postman MCP Server is a TypeScript-based MCP server for managing Postman collections, environments, and APIs through the Postman API. It provides CRUD operations for collections, environments, and APIs, folder and request management, version control, comments, tags, webhooks, and other features, and supports API key authentication and role-based access control. This project is part of Anthropic's Model Context Protocol initiative and is currently in active development, so breaking changes may occur.

Open website

About this tool

Postman MCP Server is a TypeScript-based MCP (Model Context Protocol) server designed to provide access to the Postman API. Its functionality is built on the official OpenAPI specification and is part of the MCP initiative launched by Anthropic. The project is currently in active development, so use it with caution and expect possible breaking changes. The code was generated by AI (using Cline v2.2.2 and Claude 3.5 Sonnet).

Main capabilities

  • Collection management: Create, retrieve, update, and delete Postman collections; organize folders within collections; add, update, and delete requests; manage responses associated with requests; support forking, merging, and pulling changes for collections; add and manage collection comments.
  • Environment management: Create and retrieve environments with different configurations; full support for creating, updating, and deleting environments.
  • API management: Create, retrieve, update, and delete APIs; support multi-file API schema management; add and manage tags for APIs; add and manage API comments.
  • Authentication and authorization: Use API keys for secure access; support role-based access control at the workspace and collection levels; define workspace-specific permissions.
  • Additional features: Manage elements and folders in private API networks; create webhooks to trigger collections with custom payloads; advanced role control and SCIM support for enterprise environments.

Usage Prerequisites: Node.js must be installed. Installation steps:

  1. Clone the repository: git clone https://github.com/delano/postman-api-server.git,然后 cd postman-api-server.
  2. Install dependencies: pnpm install.
  3. Build the server: pnpm run build.
  4. Development mode (automatic rebuild): pnpm run watch.

Set up the API key:

  1. Generate an API key: go to your Postman account settings, click "Generate API Key", and save the key securely (it will not be shown again).
  2. Configure the API key: add the key as POSTMAN_API_KEY to your environment variables; for Claude Desktop or Cline, include it in the configuration file; never commit the API key to version control.
  3. Verify access: the API key provides access to all Postman resources you have permission for; test access by running a simple query (for example, listing workspaces).

Using in Claude Desktop: add the server configuration to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json; Windows: %APPDATA%/Claude/claude_desktop_config.json). If you update this provider, you must restart Claude to pick up API changes to the input schema (that is, when the ToolDefinition elements of the MCP server change), because Claude caches tool definitions at startup. Using in Cline: add the server configuration to the Cline MCP Servers configuration. Using in Zed: according to the Zed documentation, it may need to be used as an extension (see also issue #21455); it is still being worked on to make it work.

Applicable scenarios MCP wrappers mainly serve as an AI interaction layer for complex, multi-step operations, and are more valuable when structure and security are critical, for example: managing multiple collections, coordinating environments, generating comprehensive reports; AI-driven automation, such as automated testing workflows, API documentation maintenance, environment management; error-sensitive operations, such as critical API testing, production deployments, compliance checks. For simple operations (such as basic collection runs, a single API call, quick environment checks) or direct CLI use (developer-driven operations, rapid iteration), its value is lower and it may be over-engineered.

Limitations and notes The project is in active development and breaking changes may occur. For debugging, because the MCP server communicates over stdio, debugging can be challenging; using MCP Inspector is recommended (provided as a package script), and Inspector will provide a URL to access the debugging tool in the browser (http://localhost:5173),连接前需添加 POSTMAN_API_KEY, navigate to "Tools" to get started. The project uses the MIT license. Official Postman API documentation is available in the Postman Public Workspace. The project includes API References documentation covering the Collection SDK and Postman API, including authentication mechanisms, rate limits, and detailed documentation for all API endpoints. The docs/api/summaries directory contains Markdown summaries of the Postman API. The Handlers documentation provides detailed specifications for implementing MCP server handlers.