home / mcp / postman mcp server
Provides Postman context to AI assistants via remote HTTP or local STDIO servers for workspace, collection, environment, and API management.
Configuration
View docs{
"mcpServers": {
"postmanlabs-postman-mcp-server": {
"url": "https://mcp.postman.com/minimal",
"headers": {
"POSTMAN_API_KEY": "YOUR_API_KEY"
}
}
}
}You can connect Postman to AI-assisted workflows with the Postman MCP Server. It lets your AI agents access Postman workspaces, manage collections and environments, evaluate APIs, and automate workflows through natural language queries and commands. This enables seamless integration of Postman context into your automation and coding assistants.
Use the Postman MCP Server with an MCP-compatible client or extension to interact with your Postman data in natural language. You can pick from remote HTTP servers that Postman hosts or run a local STDIO server for tight editor integration. Start with the Minimal configuration for quick setups, then switch to Full for all tools or Code to focus on API definitions and client code generation.
Prerequisites you need before installing are:</br>- Node.js installed on your machine if you plan to run a local STDIO server. The specific Node.js version is not required in this guide, but ensure it’s compatible with your environment.
Choose your installation path based on how you want to run the MCP server: remote HTTP servers or a local STDIO server.
Remote servers are offered in distinct tool configurations. Pick Minimal for basic operations, Code for API-definition tooling, or Full for all tools.
Remote HTTP MCP servers are available in the following regions and configurations.
If you prefer running the MCP server on your machine for editor integrations, install the local STDIO server. Use the following command variations to select the desired mode.
You can configure access to Postman MCP services in your editor or tool by pointing to the appropriate MCP URL or by using the npx-based CLI approach. Ensure you provide your Postman API key in the Authorization header when connecting to remote servers. For local setups, you’ll typically provide the API key as an environment variable or prompt.
- Use Minimal remote servers to quickly start integrating with workspace and collection management. - Switch to Full to enable enterprise features and all available tools. - Use Code to generate client code from API definitions and examples to speed up integration work.
Protect your API key. Use the Authorization: Bearer YOUR_API_KEY header for remote servers and keep keys out of source control. When running locally, supply the key through a secure input or environment variable and avoid exposing it in logs.
Generates client code from API definitions and internal definitions, organizing it into a tree structure mirroring your Postman collections and requests, with accurate response types and error handling.
Essential toolset for basic Postman operations, enabling quick access to workspaces, collections, and environments.
Complete toolset with all Postman API tools (100+ tools) for advanced collaboration and enterprise features.
Tool to search public and internal API definitions to help locate relevant API specs and endpoints.