
Postman MCP Server: Setup for Claude, Cursor and Other Apps
Lets Claude, Cursor or another assistant find and edit your Postman workspaces, collections, specs, mocks and environments.
This is Postman's own server. You can use the hosted version and sign in with your Postman account, or run it on your computer with a Postman API key.
The default Minimal set has 42 tools. Code, Learn and Full sets (100+ tools, including deletes) are opt-in. Choose the endpoint or flag that matches the set you want. One tool, runCollection, runs your collection on your own machine and fires its requests, so read the safety notes first.
Good for
- API developers who keep collections and specs in Postman
- QA engineers who want an assistant to run and fix collections
- Teams that design APIs in Spec Hub and need collections kept in sync
Works in
14 should work
Tap an app to see how to set it up and any known problems.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports hosted MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports hosted MCP servers.
Install Postman MCP
Claude Code
- 1
Copy this prompt.
Add the Postman MCP server to Claude Code. Run this command: claude mcp add --transport http postman https://mcp.postman.com/minimal Ask me for POSTMAN_API_KEY and only put the values in that config, nowhere else. Then check that it loaded and tell me if I need to sign in or restart.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Sign-in with the vendor account (OAuth).
Built from the package data we hold. Not yet tested by us.
Tools
Creates a new collection
Creates a collection from a Postman Collection v2.1 definition. Without a workspace it goes into your oldest personal workspace.
Try: “Create a collection called Orders API with a GET /orders request.”
Write ·
createCollectionAdds a request to a collection
Adds one request to an existing collection. Postman advises always giving it a name, because a missing name gives a blank request.
Try: “Add a POST /login request to my Auth collection.”
Write ·
createCollectionRequestAdds a saved response to a request
Adds a saved example response under a request in a collection.
Try: “Save this 404 JSON body as an example response on the Get user request.”
Write ·
createCollectionResponseCreates an environment
Creates an environment with its variables, in a workspace you name or your oldest personal workspace.
Try: “Create a staging environment with base_url set to https://staging.example.com.”
Write ·
createEnvironmentCreates a mock server
Creates a mock server for a collection. It needs the collection UID (owner ID and collection ID joined), not the bare ID.
Try: “Spin up a mock server for the Payments collection.”
Write ·
createMockCreates an API specification
Creates a spec in Postman Spec Hub from OpenAPI, AsyncAPI, protobuf, GraphQL or Smithy files. A path with a slash makes a folder.
Try: “Create an OpenAPI 3.1 spec called Inventory API in my team workspace.”
Write ·
createSpecAdds a file to a specification
Adds a file to an OpenAPI or protobuf spec. A multi-file spec can have only one root file.
Try: “Add components/schemas.json to the Inventory API spec.”
Write ·
createSpecFileCreates a workspace
Creates a workspace. It fails with a 403 if your team admin has restricted who can create workspaces.
Try: “Create a team workspace named Mobile APIs.”
Write ·
createWorkspaceCopies a collection to another workspace
Copies a collection into another workspace as a background task. Check progress with getDuplicateCollectionTaskStatus.
Try: “Copy the Orders collection into my Sandbox workspace.”
Write ·
duplicateCollectionBuilds a collection from a spec
Creates a collection from an API spec that already exists. It returns a link to poll for the task result.
Try: “Generate a collection from the Inventory API spec.”
Write ·
generateCollectionBuilds a spec from a collection
Generates an OpenAPI 2.0, 3.0 or 3.1 spec from a collection as a background task.
Try: “Generate an OpenAPI 3.1 spec from my Orders collection.”
Write ·
generateSpecFromCollectionLists specs in a workspace
Returns every API specification in a workspace.
Try: “List the API specs in my Platform workspace.”
Network ·
getAllSpecsShows who you are signed in as
Returns your user ID, username, team ID and roles. The tool text tells the assistant to call it first for any "my ..." request.
Try: “Which Postman account am I using?”
Network ·
getAuthenticatedUserReads a collection
Returns a lightweight map of a collection by default. Pass a model option for root-level IDs only or the full collection.
Try: “Show me the folder structure of the Orders collection.”
Network ·
getCollectionLists collections in a workspace
Lists the collections in a workspace. The workspace ID is required, so the assistant asks you for it.
Try: “List the collections in my Platform workspace.”
Network ·
getCollectionsChecks a collection copy
Returns the status of a collection duplication task.
Try: “Has my collection copy finished?”
Network ·
getDuplicateCollectionTaskStatusLists the tools that are on
Returns which tools are in the full and minimal sets. The tool text says to run it first when a tool seems missing.
Try: “Which Postman tools do you have available?”
Network ·
getEnabledToolsReads an environment
Returns one environment and its variables.
Try: “Show the variables in my staging environment.”
Network ·
getEnvironmentLists your environments
Returns all the environments you can see.
Try: “What Postman environments do I have?”
Network ·
getEnvironmentsGets the spec made from a collection
Returns the API spec that was generated for a given collection.
Try: “Get the spec generated from the Orders collection.”
Network ·
getGeneratedCollectionSpecsReads a mock server
Returns a mock server, including the collection it uses and its mock URL.
Try: “What is the URL of my Payments mock server?”
Network ·
getMockLists mock servers
Lists active mock servers. By default only the ones you created, scoped by workspace or team.
Try: “List the mock servers in my Platform workspace.”
Network ·
getMocksReads spec details
Returns information about one API specification.
Try: “Show the details of the Inventory API spec.”
Network ·
getSpecLists collections made from a spec
Returns all collections generated from a given spec.
Try: “Which collections came from the Inventory API spec?”
Network ·
getSpecCollectionsReads a full spec definition
Returns the complete contents of an OpenAPI or AsyncAPI spec.
Try: “Read the full definition of the Inventory API spec.”
Network ·
getSpecDefinitionReads one spec file
Returns the contents of a single file in a spec.
Try: “Show me components/schemas.json from the Inventory API spec.”
Network ·
getSpecFileLists a spec's files
Lists all files in an API spec.
Try: “What files make up the Inventory API spec?”
Network ·
getSpecFilesFinds items by tag
Returns workspaces, APIs and collections that share a tag. It needs a Postman Enterprise plan and returns a 404 on lower plans.
Try: “Find everything tagged payments.”
Network ·
getTaggedEntitiesReads a workspace
Returns one workspace, including whether it is personal, team, private or public.
Try: “Who can see my Platform workspace?”
Network ·
getWorkspaceLists your workspaces
Lists the workspaces you can access. For "my workspaces" the assistant first looks up your user ID.
Try: “List my Postman workspaces.”
Network ·
getWorkspacesMakes a mock server public
Publishes a mock server, which sets its access control to public so anyone with the URL can call it.
Try: “Publish the Payments mock server.”
Write ·
publishMockReplaces a collection's contents
Overwrites a collection with the definition you send. If item IDs are left out, the existing items are removed and new ones created.
Try: “Replace the Orders collection with this updated definition.”
Write ·
putCollectionReplaces an environment's contents
Overwrites all of an environment with the details you send. Only shared variable values can be changed this way.
Try: “Overwrite the staging environment with these variables.”
Write ·
putEnvironmentRuns a collection on your computer
Runs every request in a collection with Postman's newman runner, using an optional environment. Collection scripts run and the requests hit whatever servers they point at. The results are also posted to your Postman account.
Try: “Run the Smoke Tests collection against staging and tell me what failed.”
Runs code ·
runCollectionSearches Postman
Searches requests, collections, workspaces, specs, flows, environments, mocks and documents, in your organisation, the public Postman network, or both.
Try: “Search the public Postman network for a Stripe API collection.”
Network ·
searchPostmanElementsUpdates a collection from its spec
Re-syncs a collection that was generated from a spec so it matches the spec. It runs as a background task and supports OpenAPI only.
Try: “Sync the Orders collection with its Inventory API spec.”
Write ·
syncCollectionWithSpecUpdates a spec from its collection
Re-syncs a spec linked to a collection so it matches the collection. It runs as a background task and supports OpenAPI only.
Try: “Update the spec from the latest Orders collection.”
Write ·
syncSpecWithCollectionEdits a request in a collection
Updates a request in a collection. It cannot move the request to another folder.
Try: “Change the Get user request to use the v2 path.”
Write ·
updateCollectionRequestEdits a mock server
Changes a mock server's name, environment, privacy or active server response.
Try: “Make the Payments mock server private.”
Write ·
updateMockEdits a spec file
Updates one file in a spec. You can change only one property per call, such as the content or the type.
Try: “Update the content of schemas.json in the Inventory API spec.”
Write ·
updateSpecFileRenames or edits a spec
Updates spec properties such as its name.
Try: “Rename the Inventory API spec to Inventory API v2.”
Write ·
updateSpecPropertiesEdits a workspace
Changes a workspace's name, description or visibility. Some visibility changes are blocked on Free and Solo plans.
Try: “Rename my Platform workspace to Platform APIs.”
Write ·
updateWorkspace
Read from the source code
Permissions
high risk · 6 things to watch · 1 advisory
High risk
The default tools can change your Postman data and run your collections, which sends real requests to whatever servers the collection points at. Use a key or account limited to a test workspace, and stay on the Minimal set.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
runCollection sends real requests from your machine
It runs the collection with newman, including its scripts, and calls whatever URLs it holds, including DELETE or POST requests. The vendor marks the tool destructive. Only run collections you trust, against test environments. github.com
Versions 2.4.10 to 2.4.12 of the npm package were compromised
OSV advisory MAL-2025-190909 (November 2025) marks those three releases of @postman/postman-mcp-server as carrying malicious code from the Shai-Hulud npm worm, which steals tokens and credentials. The current release, 2.15.0, is not listed. Do not run those versions; npx without a version pulls the latest, so check with npm ls if you pinned one. osv.dev
Some tools overwrite or publish things
putCollection and putEnvironment replace existing content, and publishMock makes a mock server public. Ask the assistant to confirm before using them on shared workspaces. github.com
The Full set adds delete tools
The /mcp endpoint and the --full flag enable 100+ tools, including ones that delete collections, workspaces and monitors. The default Minimal set has no delete tools. github.com
Run results are posted to your Postman account
After runCollection the server posts the results, including request and response details, to the Postman API. Do not run collections that carry secrets you do not want stored there. github.com
Tool text tells the assistant what to call first
The server asks the assistant to read its instructions before any API answer, and getEnabledTools and getAuthenticatedUser say to run them first. This steers the assistant but does not change what the tools can do. github.com
Security advisories
Technical details
| Talks to | api.postman.com (api.eu.postman.com via the EU option). Any server your collection requests point at, when you use runCollection |
|---|---|
| Sign-in and keys | On your computer the key is read from the POSTMAN_API_KEY environment variable in your client config. On the hosted server you sign in with OAuth. |
| Scopes |
|
Questions
Is the Postman MCP server official?
Yes. Postman publishes it from its own GitHub organisation (postmanlabs) and hosts it at mcp.postman.com.
What is the Postman MCP server URL?
Use https://mcp.postman.com/minimal for the default 42 tools. Use /code for the Code set or /mcp for the Full set of 100+ tools. The EU versions are at mcp.eu.postman.com and need an API key.
Do I need a Postman API key?
Not on the hosted server: sign in with OAuth. The EU server and the local npm or Docker version need a Postman API key, which you create in your Postman account settings.
Can it delete my collections?
Not in the default Minimal set. The Full set (the /mcp URL or the --full flag) has tools that delete collections, workspaces and more. The Minimal set can still overwrite a collection or run it, which sends real requests.
Can it run in read-only mode?
No. There is no read-only switch in the README or the code. The Code set has only lookup tools and the Learn set only searches Postman docs, but neither can be combined with the Minimal set.
Which clients does it work with?
The README lists Claude Code, Claude Desktop, Cursor, VS Code, Codex, Antigravity CLI, GitHub Copilot CLI, Kiro and Docker. Add it with the install box above.
Hosted or local: which should I pick?
Pick hosted for the easiest sign-in. Pick local to test APIs on your own network, because the README says the hosted server cannot reach your workstation.
Information
updated Nov 2, 2026
- Publisher
- Official
- Package
@postman/postman-mcp-server- Registry
- npm
- Endpoint
https://mcp.postman.com/mcp- Transport
- stdio, Streamable HTTP
- Auth
- OAuth
- Version
- 2.15.0
- License
- Apache-2.0
- Last commit
- Oct 30, 2026
- Open issues
- 5
- Listed in
- Official MCP registry, Docker MCP Catalog
Sources
Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.
Show all 3Hide
- README.md · github.com
- enabledResources.ts · github.com
- index.ts · github.com