Postman MCP Server
MCP server by postmanlabs Verified · postman.com
Connects AI agents and coding assistants to Postman workspaces, collections, specifications and environments. It suits developers who want to test APIs and generate client code from inside their editor.
Install Postman MCP Server
Built from the published package, never by AI.
claude mcp add postman-mcp-server -e POSTMAN_API_KEY=YOUR_POSTMAN_API_KEY -- npx -y @postman/postman-mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"postman-mcp-server": {
"env": {
"POSTMAN_API_KEY": "YOUR_POSTMAN_API_KEY"
},
"args": [
"-y",
"@postman/postman-mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"postman-mcp-server": {
"env": {
"POSTMAN_API_KEY": "YOUR_POSTMAN_API_KEY"
},
"args": [
"-y",
"@postman/postman-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"postman-mcp-server": {
"env": {
"POSTMAN_API_KEY": "YOUR_POSTMAN_API_KEY"
},
"args": [
"-y",
"@postman/postman-mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add postman-mcp-server --env POSTMAN_API_KEY=YOUR_POSTMAN_API_KEY -- npx -y @postman/postman-mcp-server{
"mcpServers": {
"postman-mcp-server": {
"env": {
"POSTMAN_API_KEY": "YOUR_POSTMAN_API_KEY"
},
"args": [
"-y",
"@postman/postman-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add postman-mcp-server npx -y @postman/postman-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the postman-mcp-server block.
About
The Postman MCP Server implements the Model Context Protocol so AI agents and coding assistants can work with Postman. The source names Claude Code, Cursor, VS Code Copilot, GitHub Copilot CLI and Gemini CLI as supported hosts. It connects them to Postman workspaces, collections, specifications and environments. It runs as a remote server at mcp.postman.com or locally as an npm package. The server offers four tool configurations: Minimal, Code, Full and Learn.
Remote connections can use OAuth. The EU remote server and the local server use a Postman API key instead. The server is aimed at developers who want agents to run API tests, keep code in sync with collections and specs, manage workspaces and environments, and generate client code. The tool definitions and server code are synced from Postman's internal source, so changes are made through issues rather than pull requests.
Written from the project's README and checked against it.
Tools it gives your assistant
MinimalDefault configuration with essential tools for basic Postman operations on collections, workspaces and environments.CodeIncludes tools to generate client code from public and internal API definitions.FullIncludes all available Postman API tools, more than 100, for collaboration and Enterprise features.LearnSearches Postman Docs for guides, tutorials and reference content.
What you need
- Postman API key for the local server and EU remote server
- npx to run the local npm package
- Docker, if using the Docker setup
| Setting | Needed | What it is |
|---|---|---|
POSTMAN_Environment variable, secret | Required | A valid Postman API key. |
AuthorizationHeader, secret | Required | A Bearer token and a valid Postman API key for authentication. |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Create a new Postman collection for my payments API and tag it.
- Generate a JavaScript client for the orders API from its spec.
- Search the Postman docs for how to write collection tests.
Good to know
- The EU remote server and the local server support only Postman API key authentication.
- OAuth is not supported for the EU remote server.
- The remote server has no network access to your workstation, so local APIs need the local server.
- Changes to files under src/ are synced from Postman's internal source and cannot be merged by pull request.
Security check
B- Runs a script automatically when the package is installedIn
package.json:"preinstall":
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Postman MCP Server
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
Postman MCP Server: common questions
Does the Postman MCP Server support OAuth?
Yes, on the remote server at mcp.postman.com. The source says OAuth is not supported for the EU remote server, which only supports API key authentication.
Can the remote server reach my local APIs?
No. The source says the remote server won't have network access to your workstation, so the local server should be used for local APIs.
How do I report a bug or request a tool?
Use GitHub Issues in the postmanlabs repository. Documentation fixes and repository tooling accept pull requests directly.
How do I install Postman MCP Server?
In Claude Code run claude mcp add postman-mcp-server -e POSTMAN_API_KEY=YOUR_POSTMAN_API_KEY -- npx -y @postman/postman-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Postman MCP Server the official server?
Postman MCP Server is published by postman.com from its verified domain in the official MCP Registry.
Is Postman MCP Server free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Postman MCP Server safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality B. Security check: grade B (runs a script automatically when the package is installed). Review the code before you install. How grades work.
What are alternatives to Postman MCP Server?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does Postman MCP Server work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
