Set up a local Postman MCP server
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).
Before you begin
Local servers only support API key authentication, so you’ll need to generate a Postman API key. For an overview of the server, remote versus local, and when to use each configuration, see Use AI agents with the Postman API.
Supported configurations
The local server supports the same tool configurations as the remote server—Minimal (default), Code, and Full—selected with a command-line flag.
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.
Claude Code
To install the MCP server in Claude Code, run one of the following commands in your terminal:
Minimal
Code
Full
Cursor
Click the button to install the local Postman MCP server in Cursor:
Manual installation
To manually integrate your MCP server with Cursor and VS Code, create a .vscode/mcp.json file in your project and add one of the following JSON blocks to it. You can optionally include the --region flag to specify the Postman API region (us or eu). Defaults to us (in the args array, specify it as "--region", "eu").
Minimal
Code
Full
Visual Studio Code
Click the button to install the local Postman MCP server in VS Code:
Manual configuration
You can manually integrate your MCP server with VS Code to use it with extensions that support MCP. Add the optional --region flag to specify the Postman API region (us or eu). Defaults to us (in the args array, specify it as "--region", "eu").
To create a manual configuration, create a mcp.json file in your project and add one of the following JSON blocks to it:
Minimal
Code
Full
Claude
To integrate the local Postman MCP server with Claude, check the latest Postman MCP server release and get the .mcpb file:
- Minimal —
postman-api-mcp-minimal.mcpb - Code —
postman-mcp-server-code.mcpb - Full —
postman-api-mcp-full.mcpb
For more information, see the Claude Desktop Extensions documentation.
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.
Minimal
Code
Full
Antigravity CLI
To install the MCP server in Antigravity CLI, run the following command:
GitHub Copilot CLI
Use the Copilot CLI to interactively add the MCP server:
Manual installation
Copy the following JSON config into the ~/.copilot/mcp-config.json file:
Minimal
Code
Full
Kiro
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.
Manual installation
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:
Docker
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:
Manual installation
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: