The local server is based on STDIO transport and is hosted locally on an environment of your choice. STDIO is a lightweight solution that’s ideal for integration with editors and tools like Visual Studio Code. Install an MCP-compatible VS Code extension, such as GitHub Copilot, Claude for VS Code, or other AI assistants that support MCP. The local server only supports API key authentication (with a Postman API key or Bearer token).
The local server only supports API key authentication (with a Postman API key or Bearer token).
Consider using the local Postman MCP server if:
The local server supports the following tool configurations:
debug and info logs in stderr, and returns only warn and error. This mode is required for Windsurf users on Windows, as it avoids a stderr pipe buffer deadlock that results in MCP initializing a request to timeout. You can enable this mode along with the Minimal, Code, or Full configuration.Use the --region flag to specify the Postman API region (us or eu), or set the POSTMAN_API_BASE_URL environment variable directly. By default, the server uses the us option.
To run the server as a Node application, install Node.js before getting started.
To install the MCP server in Claude Code, run the following command in your terminal:
Minimal
Code
Full
Click the button to install the local Postman MCP server in Cursor:
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 the --code flag.
To manually integrate your MCP server with Cursor and VS Code, create a .vscode/mcp.json file in your project and add the following JSON block to it:
Click the button to install the local Postman MCP server in VS Code:
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 the --code flag.
You can manually integrate your MCP server with 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:
To integrate the local Postman MCP server with Claude, check the latest Postman MCP server release and get the .mcpb file:
postman-api-mcp-minimal.mcpbpostman-mcp-server-code.mcpbpostman-api-mcp-full.mcpbFor more information, see the Claude Desktop Extensions documentation.
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.
Minimal
Code
Full
To install the MCP server in Windsurf, do the following:
Windows users on Windsurf can encounter a startup timeout because too many startup logs fill the stderr buffer, which blocks the server before MCP initialization completes. Using the --quiet configuration suppresses those logs and avoids the issue.
Copy the following JSON config into the .codeium/windsurf/mcp_config.json file:
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:
Use the Copilot CLI to interactively add the MCP server:
Copy the following JSON config into the ~/.copilot/mcp-config.json file:
To install the MCP server directly in the Gemini CLI, run the following command in your terminal.
To install the MCP server as a Gemini CLI extension, run the following command in your terminal:
To install the local Postman MCP Server in Kiro, click the install button for the version that you want to use:
To install the Postman MCP server with Kiro powers, go to Kiro Powers and navigate to API Testing with Postman in the Browse powers section. Then, 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.json configuration file:
To install the Postman MCP server in Docker, see the Postman MCP server at Docker MCP Hub. Click + Add to Docker Desktop to automatically install it.
To run the Postman MCP server image in Docker, run the following command in your terminal. Docker automatically discovers, downloads, and runs the Postman MCP server image:
To build and run the server in Docker manually, run the docker build -t postman-api-mcp-stdio . command. Then, run one of the following commands:
Minimal
Full