Developer Tools

Postman MCP

Manage Postman workspaces, collections, requests, environments, specs, mocks, monitors, comments and API Catalog resources through Postman's hosted MCP server.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Add api catalog system environment associations

    Attaches workspace environments to a system environment. Send 1 to 25 \`workspaceEnvironmentIds\` per call, each an environment UID (\`userId\`-\`environmentId\`). \`allowPartial=false\` rejects the whole call if any single association is ineligible, while \`allowPartial=true\` adds the eligible ones and skips the rest — prefer \`false\` unless you intend to accept a partial result, and read the response to see which were skipped. Do not use this tool to create the environments themselves; use createEnvironment first. Requires a Postman Enterprise plan.

  • Add workspace to private network

    Publishes a workspace to your team's Private API Network. WARNING: This tool is for Private API Network management, not for general workspace operations. For workspace management use: getWorkspaces, getWorkspace, createWorkspace, updateWorkspace, deleteWorkspace.

  • Approve deny access request

    Approves or denies a pending team access request. Get the request ID from getTeamAccessRequests. Approving grants someone access to the team and its contents, and that is an authorization decision, not a piece of bookkeeping. Only call this when an operator has explicitly told you which request to approve or deny — never to clear a backlog of pending requests, and never by inferring intent from the request itself.

  • Async merge pull collection fork

    Merges a collection fork into its parent, or pulls the parent's changes into the fork, as a background task. Direction is decided entirely by the IDs: pass the fork as \`source\` and the parent as \`destination\` to merge, and swap them to pull. Both take collection unique IDs (\`userId\`-\`collectionId\`), not plain collection IDs. \`strategy\` acts on whichever collection is \`source\`, so it is only safe when merging, where \`source\` is the fork: \`default\` leaves the fork alone, \`updateSourceWithDestination\` also copies the parent's differences back into it, and \`deleteSource\` deletes it — the last two require Editor access on both collections. When pulling, \`source\` is the parent, so always use \`default\`; the other strategies would write back into or delete the parent. The response returns a task \`id\`; poll asyncMergePullCollectionTaskStatus with it, because a 200 here means the task was accepted, not that the merge finished. Prefer this tool over mergeCollectionFork and pullCollectionChanges for large collections, since those run synchronously and can time out.

  • Manage partner workspace invites

    Manages Partner Workspace access: invites partners by email address, removes them from one workspace, or removes them from the partnership and every workspace in it. Existing partners are added directly; new email addresses are sent an invitation. Two of these three actions are broad and irreversible in effect — removing someone from a partnership revokes their access to every shared workspace at once, not just the one you were looking at. Confirm the scope before calling, and only act on an explicit instruction naming the addresses and the action. Inviting sends real email to external people, so never invite speculatively or to an address you inferred. Requires a Team or Enterprise plan, and the Partner Manager, Workspace Editor, or Admin role depending on the action.

  • Manage team member roles

    Adds or removes roles in bulk for users, groups, teams, and organizations within a team. Removing a role from a group or a team strips that role's permissions from every member of it at once, so the blast radius is much larger than the size of the request body. This changes who can do what. Only call it on an explicit instruction naming the entities and roles involved, and read the current state with getTeam (\`include=userRoles\`) first so you can describe what will change.

  • Merge collection fork

    **This endpoint is deprecated.** Merges a forked collection back into its parent collection. You must have the [Editor role](https://learning.postman.com/docs/collaborating-in-postman/roles-and-permissions/#collection-roles) for the collection to merge a fork.

  • Merge environment fork

    Merges a forked environment's changes up into its parent. The path holds the parent environment and \`source\` holds the fork's unique ID — this direction sends the fork's values to the parent, so anyone using the parent sees them. Set \`deleteSource\` to true to delete the fork after a successful merge; it defaults to false. To move changes the other way, from parent down into a fork, use pullEnvironment instead.

  • Patch collection

    Updates specific collection information, such as its name, events, or its variables. For more information, see the [Postman Collection Format documentation](https://schema.postman.com/collection/json/v2.1.0/draft-07/docs/index.html). **Important usage notes:** - **Sequential calls only.** Do NOT call \`patchCollection\` in parallel with other \`patchCollection\` calls for the same collection — concurrent PATCH requests conflict with each other and cause cancellation errors. Always wait for one call to complete before making another. - **Partial updates.** Only include the fields you want to change. Omit all other fields entirely; unspecified fields are left unchanged. - **Variables (\`collection.variable\`).** Send \`key\` and \`value\` for each variable, and use \`disabled\` to turn one off. An \`enabled\` field is accepted but silently ignored, so \`disabled\` is the only one that takes effect. - **Secret variables.** You can't set secret variables through this endpoint. Manage cloud- or vault-backed secrets through environments instead. - **Events (\`collection.events\`).** Each event's \`script.id\` is required and must be supplied by you — generate a UUID string for it. Omitting it fails with \`Parameters required: ('id') for key: 'collection.events.script'\`. The event itself is identified by its \`script.id\`.

  • Patch environment

    Updates specific environment properties, such as its name and variables. **Note:** - You can only perform one type of operation at a time. For example, you cannot perform an \`add\` and \`replace\` operation in the same call. - The request body size cannot exceed the maximum allowed size of 30MB. - If you receive an HTTP \`411 Length Required\` error response, manually pass the \`Content-Length\` header and its value in the request header. - To add a description to an existing variable, use the \`add\` operation. - Only [shared variable](https://learning.postman.com/docs/use/send-requests/variables/variables/#share-variable-values) values can be modified through the Postman API. A shared variable is an environment variable with its value synced and stored in the Postman cloud, and can be accessed by your teammates in the environment's workspace.

  • Patch workspace update

    Edits a published workspace update. Requires the \`application/merge-patch+json\` Content-Type header, and only the fields you send are changed. Watchers may have already read the original, so correct an update rather than rewriting its meaning, and post a new one with createWorkspaceUpdate when the news itself has changed.

  • Publish documentation

    Publishes a collection's documentation. This makes it publicly available to anyone with the link to the documentation. **Note:** - Your [Postman plan](https://www.postman.com/pricing/) impacts your use of these endpoints: - For **Free** and **Solo** users, you must have permissions to edit the collection. - If [API Governance and Security](https://learning.postman.com/docs/api-governance/configurable-rules/configurable-rules-overview/) is enabled for your [**Enterprise**](https://www.postman.com/pricing/) team, only users with the [Community Manager role](https://learning.postman.com/docs/collaborating-in-postman/roles-and-permissions/#team-roles) can publish documentation. - Publishing is only supported for collections with HTTP requests. - You cannot publish a collection added to an API.

  • Publish mock

    Publishes a mock server. Publishing a mock server sets its **Access Control** configuration setting to public.

  • Pull collection changes

    Pulls the changes from a parent (source) collection into the forked collection. In the endpoint's response: - The \`destinationId\` is the ID of the forked collection. - The \`sourceId\` is the ID of the source collection.

  • Pull environment

    Pulls a parent environment's changes down into a fork. The path holds the fork being updated and \`source\` holds the parent environment's unique ID — this direction leaves the parent untouched. Use it to bring a fork back up to date before merging, which keeps the merge from overwriting newer parent values. To send a fork's changes up to the parent, use mergeEnvironmentFork instead.

  • Put collection

    Replaces the contents of a collection using the [Postman Collection v2.1.0 schema format](https://schema.postman.com/collection/json/v2.1.0/draft-07/docs/index.html). Include the collection's ID values in the request body. If you do not, the endpoint removes the existing items and creates new items. - To perform an update asynchronously, use the \`Prefer\` header with the \`respond-async\` value. When performing an async update, this endpoint returns a HTTP \`202 Accepted\` response. - For a complete list of properties and information, see the [Postman Collection Format documentation](https://schema.postman.com/collection/json/v2.1.0/draft-07/docs/index.html). - For protocol profile behavior, refer to Postman's [Protocol Profile Behavior documentation](https://github.com/postmanlabs/postman-runtime/blob/develop/docs/protocol-profile-behavior.md). **Note:** - The maximum collection size this endpoint accepts cannot exceed 100 MB. - Use the GET \`/collection-updates-tasks/{taskId}\` endpoint to get the collection's update status when performing an asynchronous update. - If you don't include the collection items' ID values from the request body, the endpoint **removes** the existing items and recreates the items with new ID values. - To copy another collection's contents to the given collection, remove all ID values before you pass it in this endpoint. If you do not, this endpoint returns an error. These values include the \`id\`, \`uid\`, and \`postman_id\` values.

  • Put environment

    Replaces all the contents of an environment with the given information. **Note:** - The request body size cannot exceed the maximum allowed size of 30MB. - If you receive an HTTP \`411 Length Required\` error response, manually pass the \`Content-Length\` header and its value in the request header. - Only [shared variable](https://learning.postman.com/docs/use/send-requests/variables/variables/#share-variable-values) values can be modified through the Postman API. A shared variable is an environment variable with its value synced and stored in the Postman cloud, and can be accessed by your teammates in the environment's workspace.

  • Remove api catalog system environment associations

    Detaches workspace environments from a system environment. Send 1 to 25 \`workspaceEnvironmentIds\` per call, each an environment UID (\`userId\`-\`environmentId\`). This only removes the association — the underlying Postman environments are left intact. Do not use this tool to delete an environment; use deleteEnvironment instead. Requires a Postman Enterprise plan.

  • Remove team members

    Removes users, groups, or organizations from a Postman team. Returns 204 with no body on success. This is destructive and not self-reversing: removed members lose access to the team's collections, environments, and workspaces, and restoring them means re-inviting them and rebuilding their roles. Only call it on an explicit instruction naming exactly who to remove. Never call it to tidy up inactive members, to act on a list you assembled yourself, or as a step in some larger cleanup.

  • Remove workspace from private network

    Removes a workspace from your team's Private API Network. This does not delete the workspace itself — it only removes it from the Private API Network folder. WARNING: This tool is for Private API Network management, not for general workspace operations. For workspace management use: getWorkspaces, getWorkspace, createWorkspace, updateWorkspace, deleteWorkspace.

Page 1 / 4Next