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.

  • Get mock server response

    Gets the full details of a specific server response, including its \`body\`, \`headers\`, and \`language\`. - Use \`getMockServerResponses\` first to list available server response IDs. - To check which response is active, call \`getMock\` and read \`config.serverResponseId\`.

  • Get mock server responses

    Gets all server responses configured for a mock server. - Server responses simulate 5xx server-level failures (e.g. 500, 503) independently of any specific route or example. - This endpoint returns summary metadata only (id, name, statusCode, timestamps). To get the full body and headers of a specific response, call \`getMockServerResponse\` with the response's \`id\`. - To see which server response is currently active, call \`getMock\` and check \`config.serverResponseId\`.

  • Get monitor

    Gets information about a monitor.

  • Get monitor run results

    Gets results for a monitor run, including trimmed execution logs (beforeItem and assertion events only) and result counts. Use this to inspect per-request assertions and failure details for a specific run. This is Step 3 of the monitor-run workflow: listMonitorExecutions → listRunsForExecution → getMonitorRunResults. The runId must come from listRunsForExecution — do NOT use an executionId here, it will return 404.

  • Get monitors

    Gets all monitors.

  • Get package

    Gets an active package's metadata and current index script content by package ID. Use getPackages first when you need to discover a package ID. Do not use this tool to list packages or discover package IDs; use getPackages instead.

  • Get packages

    Lists active packages available to the authenticated user. Returns package metadata but does not include index script content. Use getPackage with a returned package ID when you also need the current script. Use the response cursor to fetch the next page when more packages are available. Do not use this tool to retrieve a package's script content; use getPackage instead.

  • Get postman context overview

    Returns Postman's markdown overview of its core concepts (workspaces, collections, requests, installed code) and its workflow for finding APIs and generating code.

  • Get pull request

    Gets a single pull request by its ID, including source and destination details, reviewers, and the current merge/review status. Use this to inspect a specific pull request returned by getCollectionPullRequests.

  • Get request comments

    Gets all comments left by users in a request.

  • Get response comments

    Gets all comments left by users in a response.

  • Get ruleset

    Gets a governance ruleset's metadata by ID. Pass \`include=content\` to also return the ruleset's rule content, which is required before editing it with updateRuleset.

  • Get ruleset assignments

    Lists the governance groups a ruleset is assigned to. Each assignment's \`targetId\` is a governance group ID. To go the other way, from a group to its rulesets, use getGovernanceGroupAssignments.

  • Get sdk

    Gets one SDK, including the \`buildStatus\` of its generation job. This is the tool to poll after createSdk: \`succeeded\` means the archive is ready for getSdkDownloadUrl, and a failure status is reported here rather than by the original call. Requires a Postman Team or Enterprise plan.

  • Get sdk download url

    Gets a short-lived signed URL for a generated SDK's zip archive. The response carries a URL, not the archive — the API deliberately does not stream file contents — and the URL expires within a few minutes, so fetch it at the moment you intend to download and do not store or pass it around. Only works once the SDK's \`buildStatus\` is \`succeeded\`; check with getSdk first, since asking too early returns 409. Requires a Postman Team or Enterprise plan.

  • Get sdk git connection

    Gets one SDK Git connection, including which SDK was last delivered to its target branch and the most recent SDK-update pull request. Use this to check whether a connection is healthy and current. Requires a Postman Team or Enterprise plan.

  • Get sdk git connection pull requests

    Lists the SDK-update pull requests opened through one Git connection. Use this to report on what has been delivered to a repository and what is still waiting to be merged. The record survives disconnection, so a disconnected connection still returns its history. These are pull requests in the connected Git repository, not Postman collection pull requests — use getCollectionPullRequests for those. Requires a Postman Team or Enterprise plan.

  • Get sdk git connections

    Lists the Git repository connections in a workspace. Each connection ties one collection or specification, in one SDK language, to one target repository, so a source with several languages has several connections. \`workspaceId\` is required. Filter with \`sourceId\`, \`language\`, \`status\`, and \`repositoryUrl\`. Requires a Postman Team or Enterprise plan.

  • Get sdks

    Lists the SDKs the caller can see in a workspace, with each one's build status. \`workspaceId\` is required. Filter with \`buildStatus\`, \`language\`, and \`sourceId\`, or pass \`sdkIds\` (up to 100, comma-separated) to check several known SDKs at once — note that \`sdkIds\` overrides every other filter. Page with \`limit\` and \`cursor\`. Use \`sdkIds\` here rather than calling getSdk in a loop when you are polling more than one generation job. Requires a Postman Team or Enterprise plan.

  • Get secret types

    Lists the kinds of secret the Secret Scanner recognises, with the type IDs used to filter detectedSecretsQueries. Call this first when you need to search for one specific kind of credential, since the \`secretTypes\` filter takes these IDs and not names. This returns the scanner's vocabulary, not any detected secrets. Requires a Postman Enterprise plan.

PreviousPage 4 / 6Next