Postman MCP server

OfficialPostman251Config last verified Jun 1, 2026

Postman's official server lets an agent build, run, and manage collections, environments, mocks, and API specs.

Postman MCP Server is Postman's official Model Context Protocol server, giving an agent programmatic access to the Postman API: it can create and edit collections, manage workspaces and environments, run requests through the Collection Runner, spin up mock servers, and author or sync OpenAPI specs — the same surface a developer touches in the Postman app, but driven in natural language.

It ships in three modes selected at launch. Minimal (the default) exposes 41 essential tools for everyday collection, workspace, environment, mock, and spec work. Full mode unlocks 100+ tools covering monitors, forks, comments, the Private API Network, analytics, and administrative operations. Code mode focuses on searching public and internal API definitions and generating client code. You can run it locally over stdio via npx with a POSTMAN_API_KEY, or connect to Postman's hosted remote endpoint at https://mcp.postman.com/mcp, where the US server supports OAuth so no manual key is needed. For teams that already live in Postman, it turns the agent into a first-class API-lifecycle operator instead of a tool that only reasons about HTTP from the outside.

Quick install

Copy-paste configs are provided for all 8 supported clients. Pick your client below.

Add to ~/.claude.json

~/.claude.json
json
{
  "mcpServers": {
    "postman": {
      "type": "http",
      "url": "https://mcp.postman.com/mcp"
    }
  }
}
Or via CLI
bash
claude mcp add --transport http postman https://mcp.postman.com/mcp

Heads up

  • First tool call opens a browser to authorize.

Available tools

ToolDescription
createCollectionCreates a new collection in a workspace, optionally from a provided collection definition.
getCollectionRetrieves a collection by its ID.
getCollectionsLists the collections the authenticated user has access to.
putCollectionReplaces the contents of an existing collection.
generateCollectionGenerates a collection from an API definition such as an OpenAPI spec.
duplicateCollectionCreates a copy of an existing collection.
getDuplicateCollectionTaskStatusChecks the status of an asynchronous collection-duplication task.
runCollectionRuns a collection through the Postman Collection Runner and returns the results.
createCollectionRequestAdds a new request to a collection.
updateCollectionRequestUpdates an existing request in a collection.
createCollectionResponseAdds a saved example response to a request in a collection.
syncCollectionWithSpecUpdates a collection to match a linked API specification.
syncSpecWithCollectionUpdates an API specification to match a linked collection.
generateSpecFromCollectionGenerates an API specification from an existing collection.
getGeneratedCollectionSpecsLists the specs that have been generated from a collection.
getSpecCollectionsLists the collections linked to an API specification.
createSpecCreates a new API specification.
getSpecRetrieves an API specification by its ID.
getAllSpecsLists the API specifications in a workspace.
getSpecDefinitionRetrieves the definition (e.g. the OpenAPI document) of a specification.
updateSpecPropertiesUpdates metadata properties of an API specification.
createSpecFileAdds a file to a multi-file API specification.
getSpecFileRetrieves a single file from an API specification.
getSpecFilesLists the files that make up an API specification.
updateSpecFileUpdates the contents of a file in an API specification.
createEnvironmentCreates a new environment with its variables in a workspace.
getEnvironmentRetrieves an environment and its variables by ID.
getEnvironmentsLists the environments in a workspace.
putEnvironmentReplaces the contents of an existing environment.
createMockCreates a mock server from a collection.
getMockRetrieves a mock server by its ID.
getMocksLists the mock servers the user has access to.
updateMockUpdates the configuration of a mock server.
publishMockPublishes a mock server so its endpoints become publicly reachable.
createWorkspaceCreates a new workspace.
getWorkspaceRetrieves a workspace by its ID.
getWorkspacesLists the workspaces the authenticated user belongs to.
updateWorkspaceUpdates the name, type, or description of a workspace.
getAuthenticatedUserReturns information about the authenticated Postman user.
getTaggedEntitiesLists Postman entities (collections, workspaces, APIs) that carry a given tag.
getEnabledToolsReturns the set of tools currently enabled on the server for the active mode.

Required configuration

  • POSTMAN_API_KEYRequired

    Postman API key used by the local server and the EU remote server. The US remote server can use OAuth instead.

What you can do with it

Manage the API lifecycle in natural language

Ask the agent to create a collection, add requests, attach an environment, and stand up a mock server without leaving the chat or clicking through the Postman UI.

Keep specs and collections in sync

Generate a collection from an OpenAPI spec, then sync changes in either direction so the design and the runnable requests never drift apart.

FAQ

Is it free?
Yes. The server is open source under Apache-2.0 and free to run; it operates against your existing Postman account, which has free and paid tiers.
Does it support remote/OAuth?
Yes. Postman hosts a remote Streamable HTTP endpoint at https://mcp.postman.com/mcp; the US server supports OAuth so no manual key is needed, while local and EU servers authenticate with a POSTMAN_API_KEY.
What is the difference between minimal, full, and code mode?
Minimal (the default) exposes 41 essential tools for collections, environments, mocks, specs, and workspaces. Full unlocks 100+ tools including monitors, forks, comments, and the Private API Network. Code mode focuses on API discovery and client-code generation.
← Browse all api-tools servers