Skip to content

Menu

Postman MCP Server logo

Postman MCP Server

Published

At a glance

Category
Code & Git
Watch out for
The remote server cannot reach your workstation, so testing local APIs needs the local npx server.

Postman publishes this server itself, in the postmanlabs GitHub organisation, under the Apache 2.0 licence. It connects an agent to your Postman workspaces, collections, specifications and environments, so the assistant in your editor can read and change the same API assets your team works with in the Postman app.

Postman hosts it, and you can also run it yourself. The remote server lives at mcp.postman.com over streamable HTTP and supports OAuth on the US endpoint, so most hosts need no API key at all. The local server is the npm package @postman/postman-mcp-server, run over stdio with a Postman API key. An EU remote endpoint exists too, but it only accepts API keys.

The notable design choice is tool configurations. Minimal is the default and covers basic edits to collections, workspaces and environments. Code adds tools for generating client code from API definitions, Full exposes the whole Postman API (the README says 100+ tools), and Learn searches the Postman docs. The source in the repo is synced from Postman's internal codebase, so code changes go through issues rather than pull requests.

How it connects

Your AI app

An assistant or agent that supports MCP

Postman MCP Server

Runs as

  • npx (Node.js)
  • Docker
  • Remote (HTTP)

Gives the agent

  • Collections
  • Environments
  • Specs and generation
  • Collaboration
  • Mocks and monitors
  • Client code

Postman

Signs in with

  • OAuth / browser sign-in
  • API key
Your AI app talks to Postman MCP Server over the Model Context Protocol, and the server carries out the work. Built from the setup and capability sections on this page.

What it can do

Collections
Tools such as getCollections, createCollection, createCollectionRequest, createCollectionFolder and duplicateCollection let the agent read and build collections request by request.
Environments
getEnvironments, getEnvironment, createEnvironment and forkEnvironment manage environments and their variables.
Specs and generation
createSpec, getAllSpecs, generateCollection and generateSpecFromCollection move between OpenAPI specs and collections in either direction.
Collaboration
createCollectionFork, createCollectionPullRequest, createCollectionComment and asyncMergePullCollectionFork cover the fork, review and merge flow in the Full configuration.
Mocks and monitors
createMock, createMockServerResponse and createMonitor set up mock servers and scheduled monitors for a collection.
Client code
The Code configuration adds tools like getCodeGenerationInstructions and getCollectionContext so the agent can write client code against an API definition.

Setting it up

The quickest path is the remote server. In Claude Code, run claude mcp add --transport http postman https://mcp.postman.com/minimal and let the host complete the OAuth sign-in; swap /minimal for /code, /mcp (Full) or /learn to change the tool set. Other OAuth-capable hosts such as Cursor or VS Code just take that URL in their MCP config. For the EU endpoint (https://mcp.eu.postman.com/mcp, /code or /minimal) or for key-based auth, send an Authorization: Bearer <POSTMAN_API_KEY> header. To run locally instead, use npx @postman/postman-mcp-server with POSTMAN_API_KEY set as an environment variable, adding --code or --full to change mode and --region eu for the EU API. A Docker image is documented in DOCKER.md in the repo.

Run in a terminal
claude mcp add --transport http postman https://mcp.postman.com/minimal

If the server needs a sign-in or an API key, the setup notes above say which. Combine several servers in the MCP config generator

Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)

Where it helps

  • Run a team's Postman collection against a local API while coding, using the local server so it can reach localhost.
  • Generate an OpenAPI spec from existing code, then turn it into a collection with generateCollection.
  • Add requests, folders and documentation to a collection after changing an endpoint, without leaving the editor.
  • Create a new environment and set its variables for a staging deployment.
  • Write typed client code for an internal API from its Postman definition using the Code configuration.

Limitations and things to watch

  • The remote server cannot reach your workstation, so testing local APIs needs the local npx server.
  • OAuth is only available on the US remote server; the EU remote server and the local server need a Postman API key.
  • The Full configuration exposes create and delete tools for collections, environments, monitors and workspaces, so a misread prompt can change shared team assets.
  • Full mode loads 100+ tools, which takes a lot of context; Minimal is the default for that reason.
  • Changes to files under src/ in the GitHub repo can't be merged there, since the code is synced from Postman's internal source.

Sources

Written from the project's own documentation, checked November 2026.

How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…