Postman API
An MCP server for interacting with the Postman API, requiring an API key.
Postman MCP Server
The Postman MCP Server connects Postman to AI tools, giving AI agents and assistants the ability to access workspaces, manage collections and environments, evaluate APIs, and automate workflows through natural language interactions.
Postman supports the following tool configurations:
- Minimal — (Default) Only includes essential tools for basic Postman operations This offers faster performance and simplifies use for those who only need basic Postman operations. Ideal for users who want to modify a single Postman elements, such as collections, workspaces, or environments.
- Full — Includes all available Postman API tools (100+ tools). This configuration is ideal for users who engage in advanced collaboration and Postman's Enterprise features.
- Code — Includes tools to generate high-quality, well-organized client code from public and internal API definitions. This configuration is ideal for users who need to consume APIs or simply get context about APIs to their agents.
For a complete list of the Postman MCP Server's tools, see the Postman MCP Server collection. This collection offers both the remote full and minimal servers, and the local server.
Postman also offers servers as an npm package.
Authentication
For the best developer experience and fastest setup, use OAuth on the remote server (https://mcp.postman.com). OAuth is fully compliant with the MCP Authorization specification and requires no manual API key configuration. The EU remote server and the local server (this repo/npm package) support only Postman API key authentication.
Use Cases
- API Testing - Continuously test your API using your Postman collection. To be able to test local APIs, use the local server, as the remote server won't have network access to your workstation.
- Code synchronization - Effortlessly keep your code in sync with your Postman Collections and specs.
- Collection management - Create and tag collections, update collection and request documentation, add comments, or perform actions across multiple collections without leaving your editor.
- Workspace and environment management - Create workspaces and environments, plus manage your environment variables.
- Automatic spec creation - Create specs from your code and use them to generate collections.
- Client code generation - Generate production-ready client code that consumes APIs following best practices and project conventions. The
codetoolset produces code that precisely matches your API definitions, organizes it into an intuitive tree structure mirroring your Postman collections and requests, and leverages example responses to create accurate response types and error handling.
Designed for developers who want to integrate their AI tools with Postman's context and features. Supports quick natural language queries to advanced agent workflows.
Support for EU
The Postman MCP Server supports the EU region for remote and local servers:
- For streamable HTTP, the remote server is available at
https://mcp.eu.postman.com. - For our STDIO public package, use the
--regionflag to specify the Postman API region (usoreu), or set thePOSTMAN_API_BASE_URLenvironment variable directly. - OAuth isn't supported for the EU Postman MCP Server. The EU remote server only supports API key authentication.
Contents
Remote server
The remote Postman MCP Server is hosted by Postman over streamable HTTP and provides the easiest method for getting started.
The remote server (https://mcp.postman.com) supports OAuth for the best developer experience and fastest setup, and no API key needed. OAuth also provides stronger security and fine-grained access control compared to a static API key. OAuth is MCP specification–compliant, including Dynamic Client Registration (DCR), OAuth metadata, and PKCE.
Note: The EU remote server (https://mcp.eu.postman.com) only supports API key authentication.
MCP hosts that support OAuth can discover and use it automatically for all tools. The remote server also accepts a Postman API key (Bearer token in the Authorization header).
Why use the remote server?
Consider using the remote Postman MCP server if:
- You want to get started quickly and easily.
- You are working with public APIs.
- Your MCP host doesn't support local MCP servers.
Supported configurations
The remote server supports the following tool configurations:
- Minimal — (Default) Only includes essential tools for basic Postman operations, available at
https://mcp.postman.com/minimalandhttps://mcp.eu.postman.com/minimalfor EU users. - Code — Includes tools for searching public and internal API definitions and generating client code, available at
https://mcp.postman.com/codeandhttps://mcp.eu.postman.com/codefor EU users. - Full — Includes all available Postman API tools (100+ tools), available at
https://mcp.postman.com/mcpandhttps://mcp.eu.postman.com/mcpfor EU users.
Install in Cursor
To install the remote Postman MCP Server in Cursor, click the install button.
Note: If your MCP host supports OAuth, use the https://mcp.postman.com server URL with no headers for the fastest setup. Otherwise, ensure the Authorization header uses the Bearer <YOUR_API_KEY> format. OAuth is not available on the EU server.
By default, the server uses Minimal mode. To access Full mode, change the url value to https://mcp.postman.com/mcp in the mcp.json file. To access Code mode, change the value to https://mcp.postman.com/code.
Install in Visual Studio Code
To install the remote Postman MCP Server in VS Code, click the install button or use the Postman VS Code Extension.
By default, the server uses Minimal mode. To access Full mode, change the url value to https://mcp.postman.com/mcp in the mcp.json file. To access Code mode, change the value to https://mcp.postman.com/code.
Manual configuration
You can use the Postman MCP Server with MCP-compatible extensions in VS Code, such as GitHub Copilot, Claude for VS Code, or other AI assistants that support MCP. To do so, add the following JSON block to the .vscode/mcp.json configuration file:
OAuth
Add the following JSON block to use the recommended OAuth installation method:
{
"servers": {
"postman": {
"type": "http",
"url": "https://mcp.postman.com/{minimal OR code OR mcp}"
}
}
}
When prompted, enter your Postman API key.
API key
Use the following JSON block to use the API key installation method:
{
"servers": {
"postman": {
"type": "http",
"url": "https://mcp.postman.com/{minimal OR code OR mcp}",
// For the EU server, use "https://mcp.eu.postman.com/{minimal OR code OR mcp}"
"headers": {
"Authorization": "Bearer ${input:postman-api-key}"
}
}
},
"inputs": [
{
"id": "postman-api-key",
"type": "promptString",
"description": "Enter your Postman API key"
}
]
}
When prompted, enter your Postman API key.
Install in Claude Code
To install the MCP server in Claude Code, run the following command in your terminal. On the US server, Claude Code uses OAuth automatically for the best installation experience. To use an API key (required for the EU server), add the --header flag.
OAuth
Use the recommended OAuth installation method for US servers:
claude mcp add --transport http postman https://mcp.postman.com/minimal
claude mcp add --transport http postman https://mcp.postman.com/code
claude mcp add --transport http postman https://mcp.postman.com/mcp
API key
Use the API key installation method if required and for EU servers:
claude mcp add --transport http postman https://mcp.postman.com/minimal --header "Authorization: Bearer <POSTMAN_API_KEY>"
claude mcp add --transport http postman https://mcp.postman.com/code --header "Authorization: Bearer <POSTMAN_API_KEY>"
claude mcp add --transport http postman https://mcp.postman.com/mcp --header "Authorization: Bearer <POSTMAN_API_KEY>"
Install in Codex
To install the remote server in Codex, use one of the following methods, depending on your authentication and region.
OAuth
Use the recommended OAuth installation method with the US server for the best installation experience. This requires no manual API key setup.
For Minimal mode:
codex mcp add postman --remote-url https://mcp.postman.com/minimal
For Code mode:
codex mcp add postman --remote-url https://mcp.postman.com/code
For Full mode:
codex mcp add postman --remote-url https://mcp.postman.com/mcp
API key
If you're using the EU server, a local server, or prefer API key authentication, use the API key method. Set the POSTMAN_API_KEY environment variable and invoke the MCP server using npx.
For Minimal mode:
codex mcp add postman --env POSTMAN_API_KEY=<POSTMAN_API_KEY> -- npx @postman/postman-mcp-server --minimal
For Code mode:
codex mcp add postman --env POSTMAN_API_KEY=<POSTMAN_API_KEY> -- npx @postman/postman-mcp-server --code
For Full mode:
codex mcp add postman --env POSTMAN_API_KEY=<POSTMAN_API_KEY> -- npx @postman/postman-mcp-server --full
Install in Windsurf
To install the MCP server in Windsurf, copy the following JSON config into the .codeium/windsurf/mcp_config.json file.
This configuration uses the remote server (https://mcp.postman.com), which authenticates with OAuth automatically.
{
"mcpServers": {
"postman-full": {
"args": [
"mcp-remote",
"https://mcp.postman.com/mcp"
],
"disabled": false,
"disabledTools": [],
"env": {}
},
"postman-code": {
"args": [
"mcp-remote",
"https://mcp.postman.com/code"
],
"disabled": false,
"disabledTools": [],
"env": {}
},
"postman-minimal": {
"args": [
"mcp-remote",
"https://mcp.postman.com/minimal"
],
"disabled": false,
"disabledTools": [],
"env": {}
}
}
}
Install in Antigravity
To install the MCP server in Antigravity, click Manage MCP servers > View raw config. Then, copy the following JSON config into the .codeium/windsurf/mcp_config.json file.
This configuration uses the remote server (https://mcp.postman.com), which authenticates automatically with OAuth.
{
"mcpServers": {
"postman-full": {
"args": [
"mcp-remote",
"https://mcp.postman.com/mcp"
],
"disabled": false,
"disabledTools": [],
"env": {}
},
"postman-code": {
"args": [
"mcp-remote",
"https://mcp.postman.com/code"
],
"disabled": false,
"disabledTools": [],
"env": {}
},
"postman-minimal": {
"args": [
"mcp-remote",
"https://mcp.postman.com/minimal"
],
"disabled": false,
"disabledTools": [],
"env": {}
}
}
}
Install in GitHub Copilot CLI
You can add the MCP server to your Copilot CLI either with OAuth (recommended) or an API key.
Use the Copilot CLI to interactively add the MCP server:
/mcp add
Or, add the following to your ~/.copilot/mcp-config.json config file:
{
"mcpServers": {
"postman": {
"type": "http",
"url": "https://mcp.postman.com/minimal" // Use "https://mcp.postman.com/mcp" for Full mode, or "https://mcp.postman.com/code"` for Code mode.
}
}
}
API key
Use the following method to install on EU servers or if API key is required:
{
"mcpServers": {
"postman": {
"type": "http",
"url": "https://mcp.eu.postman.com/minimal",
"headers": {
"Authorization": "Bearer ${input:postman-api-key}"
}
}
},
"inputs": [
{
"id": "postman-api-key",
"type": "promptString",
"description": "Enter your Postman API key"
}
]
}
By default, this uses Minimal mode. To access Full mode, change the url value to https://mcp.postman.com/mcp. To access Code mode, change the value to https://mcp.postman.com/code.
For more information, see the Copilot CLI documentation.
Local server
The local server uses STDIO transport and is hosted locally on an environment of your choice.
Why use the local server?
Consider using the local Postman MCP server if:
- You are working with internal APIs.
- You want to power local use cases, such as local API testing.
- You have specific security and network requirements.
- You prefer to build the MCP server from the source code in this repo.
Supported configurations
The local server supports the following tool configurations:
- Minimal — (Default) Only includes essential tools for basic Postman operations.
- Code — Includes tools for searching public and internal API definitions and generating client code
- Full — Includes all available Postman API tools (100+ tools). Use the
--fullflag to enable this configuration.
Note:
- Use the
--regionflag to specify the Postman API region (usoreu), or set thePOSTMAN_API_BASE_URLenvironment variable directly. By default, the server uses theusoption. - The local server only supports API key authentication (with a Postman API key or Bearer token). To run the server as a Node application, install Node.js.
Install in Visual Studio Code
To install the local Postman MCP Server in VS Code, click the install button.
By default, the server uses Full mode. To access Minimal mode, remove the --full flag from the mcp.json configuration file. To access Code mode, replace the --full flag with --code.
Manual configuration
You can manually integrate your MCP server with Cursor or VS Code to use it with extensions that support MCP. To do this, create a mcp.json file in your project and add the following JSON block to it:
{
"servers": {
"postman": {
"type": "stdio",
"command": "npx",
"args": [
"@postman/postman-mcp-server",
"--full", // (optional) Use this flag to enable full mode...
"--code", // (optional) ...or this flag to enable code mode.
"--region us" // (optional) Use this flag to specify the Postman API region (us or eu). Defaults to us.
],
"env": {
"POSTMAN_API_KEY": "${input:postman-api-key}"
}
}
},
"inputs": [
{
"id": "postman-api-key",
"type": "promptString",
"description": "Enter your Postman API key"
}
]
}
Install in Cursor
To install the local Postman MCP Server in Cursor, click the install button.
By default, the server uses Full mode. To access Minimal mode, remove the --full flag from the mcp.json configuration file. To access Code mode, replace the --full flag with --code.
Claude integration
To integrate the MCP server with Claude, check the latest Postman MCP Server release and get the .mcpb file.
- Minimal —
postman-mcp-server-minimal.mcpb - Full —
postman-mcp-server-full.mcpb - Code —
postman-mcp-server-code.mcpb
For more information, see the Claude Desktop Extensions documentation.
Install in Claude Code
To install the MCP server in Claude Code, run the following command in your terminal:
For Minimal mode:
claude mcp add postman --env POSTMAN_API_KEY=YOUR_KEY -- npx @postman/postman-mcp-server@latest
For Code mode:
claude mcp add postman --env POSTMAN_API_KEY=YOUR_KEY -- npx @postman/postman-mcp-server@latest --code
For Full mode:
claude mcp add postman --env POSTMAN_API_KEY=YOUR_KEY -- npx @postman/postman-mcp-server@latest --full
Install in Codex
To install the local server, use the API key installation method. Set the POSTMAN_API_KEY environment variable and invoke the MCP server using npx.
For Minimal mode:
codex mcp add postman --env POSTMAN_API_KEY=<POSTMAN_API_KEY> -- npx @postman/postman-mcp-server --minimal
For Code mode:
codex mcp add postman --env POSTMAN_API_KEY=<POSTMAN_API_KEY> -- npx @postman/postman-mcp-server --code
For Full mode:
codex mcp add postman --env POSTMAN_API_KEY=<POSTMAN_API_KEY> -- npx @postman/postman-mcp-server --full
Install in Windsurf
To manually install the MCP server in Windsurf, do the following:
- Click Open MCP Marketplace in Windsurf.
- Type "Postman" in the search text box to filter the marketplace results.
- Click Install.
- When prompted, enter a valid Postman API key.
- Select the tools that you want to enable, or click All Tools to select all available tools.
- Turn on Enabled to enable the Postman MCP server.
Manual installation
Copy the following JSON config into the .codeium/windsurf/mcp_config.json file:
{
"mcpServers": {
"postman": {
"args": [
"@postman/postman-mcp-server"
],
"command": "npx",
"disabled": false,
"disabledTools": [],
"env": {
"POSTMAN_API_KEY": "<POSTMAN_API_KEY>"
}
}
}
}
Install in Antigravity
To install the MCP server in Antigravity, click Manage MCP servers > View raw config. Then, copy the following JSON config into the .codeium/windsurf/mcp_config.json file:
{
"mcpServers": {
"postman": {
"args": [
"@postman/postman-mcp-server"
],
"command": "npx",
"disabled": false,
"disabledTools": [],
"env": {
"POSTMAN_API_KEY": "XXXX"
}
}
}
}
Install in GitHub Copilot CLI
Use the Copilot CLI to interactively add the MCP server:
/mcp add
Alternatively, create or edit the configuration file ~/.copilot/mcp-config.json and add:
{
"mcpServers": {
"postman": {
"command": "npx",
"args": ["@postman/postman-mcp-server"],
"env": {
"POSTMAN_API_KEY": "YOUR_API_KEY"
}
}
}
}
For more information, see the Copilot CLI documentation.
Use as a Gemini CLI extension
To install the MCP server as a Gemini CLI extension, run the following command in your terminal:
gemini extensions install https://github.com/postmanlabs/postman-mcp-server
Install in Kiro
To use the Postman MCP Server in Kiro, you can use one of the following methods:
To set up the Postman MCP Server with one-click, see API Testing with Postman on the Kiro Powers page. Click Add to Kiro.
To install the Postman MCP Server manually, do the following:
-
Launch Kiro and click the Kiro ghost icon in the left sidebar.
-
Add an MCP Server and select either User Config or Workspace Config to install the Postman MCP server.
-
Add the following JSON block to the
mcp.jsonconfiguration file:{ "mcpServers": { "postman": { "command": "npx", "args": [ "@postman/postman-mcp-server" ], "env": { "POSTMAN_API_KEY": "postman-api-key" }, "disabled": false, "autoApprove": [ "getAuthenticatedUser" ] } } }
Install in Docker
For Docker set up and installation, see DOCKER.md.
Migration from v1.x to v2.x
If you're migrating from Postman MCP Server version 1.x to 2.x, be aware of the following:
- Tool naming changes - All tool names changed from kebab-case to camelCase. For example:
create-collection→createCollectionget-workspaces→getWorkspacesdelete-environment→deleteEnvironment
- Tool availability changes
- The default (minimal) behavior provides only 37 essential tools.
- The
--fullflag provides access to all tools.
Questions and support
- See Add your MCP requests to your collections to learn how to use Postman to perform MCP requests.
- Visit the Postman Community to share what you've built, ask questions, and get help.
- You can connect to both the remote and local servers and test them using the Postman MCP Server collection.
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Phone
Control your Android phone using ADB commands. Requires ADB tools and an Android device with USB debugging enabled.
Chrome DevTools MCP
chrome-devtools-mcp lets your coding agent (such as Gemini, Claude, Cursor or Copilot) control and inspect a live Chrome browser
MCP Installer
Set up MCP servers in Claude Desktop
Figma Copilot
Enables AI assistants to interact with and automate Figma designs programmatically.
Optuna MCP Server
Automate optimization and analysis using Optuna.
MCP‑Stack
A Docker Compose-based collection of MCP servers for LLM workflows, featuring centralized configuration and management scripts.
Volatility MCP
Integrates Volatility 3 memory analysis with FastAPI and MCP, exposing memory forensics plugins via REST APIs.
Specifai
Integrate and automate Specifai projects with any MCP-compatible AI tool.
Swagger MCP
Scrapes Swagger UI to dynamically generate MCP tools at runtime using LLMs.
MCP MiniMax Music Server
AI-powered audio generation using the MiniMax Music API.