Set up a remote Postman MCP server
The remote Postman MCP server is hosted by Postman over streamable HTTP and provides the easiest method for getting started.
The remote server supports OAuth for the best developer experience and fastest setup, and doesn’t require an API key. OAuth provides stronger security and access control compared to a static API key. It’s MCP specification-compliant, including Dynamic Client Registration (DCR), OAuth metadata, and PKCE.
The EU remote server 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).
Before you begin
To use API key authentication (required for EU servers), generate a Postman API key. The US remote server supports OAuth and doesn’t require a key. For an overview of the server, remote versus local, and when to use each configuration, see Use AI agents with the Postman API.
Endpoints
Use the endpoint that matches the tool configuration you want. Each is available in both the US and EU regions:
OAuth is available on the US server only. The EU server requires a Postman API key (Bearer token in the Authorization header).
Claude Code
On the US server, Claude Code automatically uses OAuth for the best installation experience. To use an API key (required for the EU server), add the --header flag.
OAuth
To use the OAuth installation method for US servers, run one of the following commands in your terminal:
Minimal
Code
Full
API key
To use the API key installation method, run one of the following commands in your terminal. If you’re using the EU server, you must use the API key installation method. For the EU server, replace mcp.postman.com with mcp.eu.postman.com in the commands below.
Minimal
Code
Full
Cursor
Click the button to install the remote Postman MCP server in Cursor:
If your MCP host supports OAuth, use the https://mcp.postman.com/mcp, https://mcp.postman.com/minimal, or https://mcp.postman.com/code server URL without headers for the fastest setup. Otherwise, ensure the Authorization header uses the Bearer <YOUR_API_KEY> format. Note that OAuth isn’t supported for EU servers.
After installing, ensure that the Authorization header uses the Bearer $POSTMAN-API-KEY format.
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 in this file.
Visual Studio Code
To install the remote Postman MCP server in VS Code, click the install button or use the Postman VS Code Extension:
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 in this file.
Manual installation
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 this, add the following JSON block to the .vscode/mcp.json configuration file:
OAuth
Add one of the following JSON blocks to use the recommended OAuth installation method:
Minimal
Code
Full
Start the server. When prompted, complete the OAuth sign-in flow.
API key
Use one of the following JSON blocks to use the desired API key installation method:
Minimal
Code
Full
Start the server. When prompted, enter your Postman API key.
Codex
To install the remote server in Codex, use one of the following methods, depending on your authentication and region.
OAuth
Use this method with the US server for the best installation experience. OAuth requires no manual API key setup.
Minimal
Code
Full
API key
If you’re using the EU server (mcp.eu.postman.com), 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.
Minimal
Code
Full
Manual installation
To manually install the MCP server in Codex, create a ~/.codex/config.toml config file, then copy the following config into the file:
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, which automatically authenticates with OAuth.
Antigravity
To install the MCP server in Antigravity, click Manage MCP servers > View raw config. Then, copy the following JSON config into the .mcp_config.json file. This configuration uses the remote server, which automatically authenticates with OAuth.
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:
For more information, see the Copilot CLI documentation.
Manual installation
Copy the following JSON config into the ~/.copilot/mcp-config.json file:
Minimal
Code
Full
API key
Use the following method to install if API key authentication is required for EU servers:
Minimal
Code
Full
Gemini CLI
To add the MCP server to your Gemini CLI, run one of the following commands in your terminal:
Minimal
Code
Full
Kiro
To install the remote Postman MCP Server in Kiro, click the install button for the version that you want to use:
Verify your connection
After installing, restart or reload your MCP host so it picks up the new server. To confirm the connection works, check that your host lists the Postman server and its tools, then ask your agent to perform a simple read-only action, such as “List my Postman workspaces.” If it returns your workspaces, you’re connected.
Next steps
For best practices and tips for getting the most out of the server, see Get the most out of the Postman MCP server.