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.

  • Create response comment

    Creates a comment on a response. To create a reply on an existing comment, include the \`threadId\` property in the request body. **Note:** This endpoint accepts a max of 10,000 characters.

  • Create ruleset

    Creates a custom governance ruleset for the team. \`content\` is the full ruleset definition (for the \`spectral\` engine, a Spectral ruleset document as a string, up to 500 KB). \`name\` must be unique within the team and may only contain letters, numbers, hyphens, underscores, and periods. A new ruleset governs nothing until it is assigned to a governance group with createRulesetAssignment. If the ruleset calls custom functions, create them first with createCustomFunction.

  • Create ruleset assignment

    Assigns a ruleset to a governance group so its rules apply to every workspace in that group. Set \`targetType\` to \`governance_group\` and \`targetId\` to the group's ID from getAllGovernanceGroups. This is the only way to apply a ruleset; rulesets can't be assigned to a workspace directly.

  • Create sdk

    Starts an SDK generation job for one language from a collection or a specification. Returns 202 with a job record — the SDK does not exist yet. Poll getSdk and wait for \`buildStatus\` to reach \`succeeded\` before trying to download it. The request body depends on the \`language\` you pick, so send only the properties that language accepts. One call generates one language; call it once per language rather than expecting a bundle. Requires a Postman Team or Enterprise plan.

  • Create sdk git connection

    Connects a collection or specification to a Git repository for one SDK language, so generated SDK updates can be delivered there as pull requests. The connection starts \`active\`. Each source and language pair supports exactly one connection — creating a second returns 409, and the way to change an existing one is updateSdkGitConnection, not a repeat call here. \`autoUpdatePullRequestsEnabled\` is Enterprise-only and is forced to false on Team plans. Requires a Postman Team or Enterprise plan.

  • Create spec

    Creates an API specification in Postman's [Spec Hub](https://learning.postman.com/docs/design-apis/specifications/overview/). Specifications can be single or multi-file. **Note:** - Postman supports OpenAPI (2.0, 3.0, and 3.1), AsyncAPI (2.0 and 3.0), protobuf (2 and 3), GraphQL, and Smithy specifications. - If the file path contains a \`/\` (forward slash) character, then a folder is created. For example, if the path is the \`components/schemas.json\` value, then a \`components\` folder is created with the \`schemas.json\` file inside. - Multi-file specifications can only have one root file. - Files cannot exceed a maximum of 12 MB in size.

  • Create spec file

    Creates a file for an OpenAPI or a protobuf 2 or 3 specification. **Note:** - If the file path contains a \`/\` (forward slash) character, then a folder is created. For example, if the path is the \`components/schemas.json\` value, then a \`components\` folder is created with the \`schemas.json\` file inside. - Creating a spec file assigns it the \`DEFAULT\` file type. - Multi-file specifications can only have one root file. - Files cannot exceed a maximum of 10 MB in size.

  • Create spec version tag

    Tags the specification's current state as a new version snapshot under the \`name\` you supply. Use this to mark a release or a reviewed state before making further edits. A tag attaches to the specification's current changelog group, so tagging twice without any intervening change conflicts with a 409 — edit the specification first to open a new changelog group, then tag again. Do not use this tool to save specification content; use updateSpecFile for that and tag afterwards.

  • Create team

    Creates a new Postman team in the organization. \`name\` accepts only alphanumeric characters and spaces. This creates a billable organizational unit and is not something to do speculatively — only call it on an explicit, specific instruction to create a team, never to satisfy a vaguer request such as organizing or setting up a workspace. Use createWorkspace for that instead.

  • Create workspace

    Creates a new [workspace](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/creating-workspaces/). **Note:** - This endpoint returns a 403 \`Forbidden\` response if the user does not have permission to create workspaces. [Admins and Super Admins](https://learning.postman.com/docs/collaborating-in-postman/roles-and-permissions/#team-roles) can configure workspace permissions to restrict users and/or user groups from creating workspaces or require approvals for the creation of team workspaces. - Private and [Partner Workspaces](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/partner-workspaces/) are available on Postman [**Team** and **Enterprise** plans](https://www.postman.com/pricing). - There are rate limits when publishing public workspaces. - Public team workspace names must be unique. - The \`teamId\` property must be passed in the request body if [Postman Organizations](https://learning.postman.com/docs/administration/onboarding-checklist) is enabled.

  • Create workspace update

    Publishes an update in a workspace, notifying everyone watching it. Use this to announce a breaking change, a release, or a deprecation to the workspace's consumers. This notifies real people, so only post when explicitly asked to announce something, and post the message you were given rather than a summary you composed. It does not change the workspace itself — use updateWorkspace for settings.

  • Duplicate collection

    Creates a duplicate of the given collection in another workspace. Use the GET \`/collection-duplicate-tasks/{taskId}\` endpoint to get the duplication task's current status.

  • Fork environment

    Forks an environment into a workspace, giving that workspace an editable copy that stays linked to the original. Requires the destination \`workspaceId\` as a query parameter and a \`forkName\` label in the body. Use this when a team needs to change variable values without touching a shared environment. Do not use this tool to copy an environment into a workspace with no ongoing link; create a new environment with createEnvironment and set its values instead.

  • Generate collection

    Creates a collection from the given API specification. The specification must already exist or be created before it can be used to generate a collection. The response contains a polling link to the task status.

  • Generate spec from collection

    Generates an OpenAPI 2.0, 3.0, or 3.1 specification for the given collection. The response contains a polling link to the task status.

  • Post api catalog discovery services

    Registers services with the API Catalog as discovered services, for sources Postman cannot detect on its own. Accepts up to 20 services per call; each needs at least a \`name\`. Supply \`apiDefinition\` to attach an OpenAPI definition, or \`endpoints\` to list endpoints directly — if you send both, \`endpoints\` is ignored. Without \`providerServiceId\` the system derives one from \`{name}:{version}\`, so pass it explicitly when you need a stable identifier across calls. Do not use this tool to create a Postman API specification or collection; it only adds catalog discovery records. Requires a Postman Enterprise plan.

PreviousPage 2 / 2