Postman MCP Server implements the Model Context Protocol (MCP), used to connect AI agents and coding assistants to Postman workspaces, collections, specifications, and environments. The official documentation mentions supported agents and IDEs including Claude Code, Cursor, VS Code Copilot, GitHub Copilot CLI, and Gemini CLI.
Uses
- API testing: Continuously test APIs using Postman collections. When testing local APIs, use a local server, because remote servers cannot access the local network.
- Code sync: Keep code in sync with Postman collections and specifications.
- Collection management: Create and tag collections, update documentation, add comments, or perform operations across multiple collections without leaving the editor.
- Workspace and environment management: Create workspaces and environments, and manage environment variables.
- Automatically generate specifications: Create specifications from code and use them to generate collections.
- Client code generation: Generate production-ready client code that follows best practices and project conventions.
Main capabilities and tool configurations The server provides different tool configurations:
- Minimal (default): Contains only the core tools required for basic Postman operations, suitable for users who only modify a single Postman element (such as a collection, workspace, or environment).
- Code: Contains tools for generating high-quality, well-structured client code from public and internal API definitions, suitable for users who need to consume APIs or provide API context to agents.
- Full: Contains all available Postman API tools (100+ tools), suitable for users who need advanced collaboration and Postman enterprise features.
- Learn: Searches Postman documentation for guides, tutorials, and reference content, suitable for agents that need to learn about Postman features, look up API concepts, or find learning resources.
How to use The official recommendation is to use the remote server (https://mcp.postman.com)上的 OAuth for the best developer experience and fastest setup. OAuth fully complies with the MCP authorization specification and requires no manual API key configuration. The EU remote server and local server support only Postman API key authentication.
- Remote (any OAuth-compatible MCP host): Add this URL to the MCP host configuration. You can change /minimal to /code or /mcp to use Code or Full mode. If using EU or API key authentication, pass Authorization: Bearer <POSTMAN_API_KEY> as a request header.
- Local (STDIO): Add --code or --full to use Code or Full mode, and set POSTMAN_API_KEY as an environment variable. Docker installation is also provided (see DOCKER.md), as well as the Postman MCP Server collection for browsing, testing, and connecting to the server.
EU region support Both remote and local servers support the EU region:
- Streaming HTTP:https://mcp.eu.postman.com/mcp(Full)、https://mcp.eu.postman.com/code、https://mcp.eu.postman.com/minimal。
- STDIO public package: Use the --region eu flag, or directly set the POSTMAN_API_BASE_URL environment variable.
- EU servers do not support OAuth; they support only API key authentication.
Applicable scenarios Suitable for developers who need direct access to Postman collections, specifications, and environments within an AI coding assistant or IDE; for teams that need to continuously test APIs, sync code with collections, manage collections and workspaces in bulk, or generate specifications or client code from code.
Limitations and notes
- Remote servers cannot access the local network. To test local APIs, use a local server.
- EU remote servers and local servers support only API key authentication, not OAuth.
- Because MCP tool definitions and server implementations are synced from Postman internal sources, changes to files under src/ cannot be merged in this repository, but tool requests or changes can be raised through issues.
- Documentation and repository tools accept direct pull request submissions.
- If you discover a security issue, handle it according to SECURITY.md and do not publicly submit an issue.