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.

  • Async merge pull collection task status

    Gets the status of an asynchronous collection merge or pull started by asyncMergePullCollectionFork, using the task \`id\` that call returned. Poll this until the task reports a terminal state — do not assume the merge landed just because the original request returned 200. Task status is kept for only 24 hours after the task finishes; after that this returns 404, which means the record expired and not that the merge failed.

  • Detected secrets queries

    Searches the secrets Postman's Secret Scanner has detected across the team. Despite being a POST this only reads — the body carries the query, and an empty body returns everything. Filter with \`secretTypes\` (IDs from getSecretTypes), \`statuses\` (\`ACTIVE\`, \`FALSE_POSITIVE\`, \`REVOKED\`, \`ACCEPTED_RISK\`), \`resolved\`, \`workspaceVisibilities\`, and either \`workspaceIds\` or \`resources\` — those last two are mutually exclusive, and sending both fails. Page with \`limit\` and \`cursor\`, and pass \`include=meta.total\` when you need the total count. Secret values come back obfuscated and hashed, never in full. Use getDetectedSecretsLocations to find where a specific secret appears. Requires a Postman Enterprise plan.

  • Get all components

    Lists the components in the team's component library. Use this to discover component IDs before reading or editing a component. Narrow the results with \`type\`, \`status\`, and \`hasVersions\`, and request extra fields with \`include\` (\`hasVersions\`, \`latestVersion\`, \`latestVersion.content\`) or \`expand\` (\`latestVersion\`). Do not use this tool to read a component's draft content; use getComponentDraft instead. Requires a Postman Enterprise plan.

  • Get all custom functions

    Lists the team's custom Spectral functions, which rulesets can call for checks the built-in rule types don't cover. Returns metadata only; call getCustomFunction with \`include=content\` to read a function's code. Page with \`limit\` (max 100) and \`cursor\` from \`meta.nextCursor\`.

  • Get all governance groups

    Lists the team's governance groups. A governance group is a set of workspaces that share the same assigned rulesets. Postman-managed groups (\`type: system\`), such as the default group covering all workspaces, are read-only. Page with \`limit\` (max 100) and \`cursor\` from \`meta.nextCursor\`.

  • Get all rulesets

    Lists the team's governance rulesets, both team-owned (\`type: custom\`) and Postman-managed (\`type: system\`). Returns metadata only, without rule content; call getRuleset with \`include=content\` to read a ruleset's rules. Page with \`limit\` (max 100) and \`cursor\` from \`meta.nextCursor\`.

  • Get all specs

    Gets all API specifications in a workspace.

  • Get all workspace roles

    Lists the workspace role types available to the team, which depend on the team's plan. Call this before updateWorkspaceRoles to learn which roles you are allowed to assign. This returns the catalogue of possible roles, not anyone's actual assignments — use getWorkspaceRoles for those.

  • Get analytics data

    Gets analytics data based on the specified resource, metrics, and given filters for team, internal, and public workspaces, as well as Partner Workspaces. **Note:** This endpoint only accepts the following resource:metric query parameter combinations: - \`user\` — \`workspace_active_users\`, \`active_users\` - \`workspace\` — \`elements_in_workspace\`, \`active_workspaces\`, \`api_calls\`, \`active_collections\`, \`response_status\`, \`pending_invites\`, \`needs_attention\`, \`success_rate\`, \`user_requests\`, \`collection_error_aggregate\` - \`team\` — \`user_api_journey\`, \`workspace_distribution\`, \`internal_workspace_distribution\`, \`license_consumption\`, \`members\`, \`last_autoflex_cycle\`, \`partner_engagement_funnel\` \`members_overtime\` , \`member_invites\`, \`invites_sent\` , \`invites_accepted\` - \`ai\` — \`top_agent_models_by_usage\`, \`activity_distribution\`, \`peak_activity\`, \`usage_leaderboard\`, \`credit_usage_by_model\`, \`messages_sent\`, \`credit_usage\`, \`agent_mode_sessions\`, \`new_vs_returning_users\`, \`agent_mode_users\` - \`api_development\` — \`active_workspaces\`, \`entity_activity\`, \`top_entities\` - \`api_testing\` — \`runs\`, \`functional_test_runs\`, \`performance_test_runs\` - \`api_production\` — \`monitor_runs\`, \`flow_executions\` - \`api_distribution\` — \`active_workspaces\`, \`pvt_network\`, \`partner\`, \`public\` - \`api_management\` — \`workspace_activity\` The \`view\` query parameter only accepts the following values when called with the following resource:metric pairs: \`detailed\` or \`summary\` — \`user:active_users\`, \`workspace:active_workspaces\`, \`workspace:pending_invites\`, \`workspace:needs_attention\`, \`workspace:success_rate\`, \`team:partner_engagement_funnel\`, \`api_distribution:pvt_network\`, \`api_distribution:partner\`, \`api_distribution:public\` - \`detailed\`, \`summary\`, or \`trends\` — \`api_development:entity_activity\`, \`api_testing:functional_test_runs\` , \`api_testing:performance_test_runs\`, \`api_production:monitor_runs\`, \`api_production:flow_executions\` - \`summary\` or \`trend\` — \`api_development:active_workspaces\`, \`api_testing:runs\`, \`api_distribution:active_workspaces\`, \`api_management:workspace_activity\` - \`summary\` only — \`workspace:elements_in_workspace\`, \`workspace:workspace_active_users\`, \`workspace:api_calls\`, \`workspace:response_status\`, \`team:user_api_journey\`, \`team:workspace_distribution\`, \`team:internal_workspace_distribution\`, \`team:license_consumption\` - \`detailed\` only — \`workspace:active_collections\`, \`workspace:user_requests\`, \`api_development:top_entities\`, \`api_management:popular_workspaces\` , \`team:invites_sent\` , \`team:invites_accepted\` - \`trend\` only — \`team:members_overtime\`, \`team:member_invites\`

  • Get analytics metadata

    Returns a catalog of analytics resources and their corresponding metrics for use with the GET /analytics endpoint. These metrics provide insights on API usage, success, workspace, and team trends in Postman.

  • Get api catalog discovery service

    Gets one discovered service in detail, including its endpoint list and its OpenAPI definition as a base64-encoded string — decode that value before reading it. Use getApiCatalogDiscoveryServices first to find the service ID. Do not use this tool for a catalogued service's health, traffic, or ownership data; use getApiCatalogService instead. Requires a Postman Enterprise plan.

  • Get api catalog discovery services

    Lists services that Postman has detected but that are not necessarily in the API Catalog yet. Use this to find candidates to onboard, or to check whether a service has already been integrated. Filter with \`discoverySource\` (\`api_gateway_app\`, \`insights_project\`, \`infra_watcher\`, \`public_api\`), \`status\` (\`discovered\`, \`integrated\`, \`archived\`), and \`search\` on the name; page with \`limit\` (max 100) and \`cursor\`. Do not use this tool for services already in the catalog — those have analytics and governance data and are read with getApiCatalogServices. Requires a Postman Enterprise plan.

  • Get api catalog service

    Gets one catalogued service's health, traffic, compliance, ownership, and dependencies in a given system environment. Both the service ID and the required \`systemEnvironmentId\` are needed; get them from getApiCatalogServices and getApiCatalogSystemEnvironments. The same service reports different data per environment, so the environment is part of the question, not an optional filter. Do not use this tool for per-endpoint metrics; use getApiCatalogServiceEndpoints instead. Requires a Postman Enterprise plan.

  • Get api catalog service ci runs

    Lists CI collection runs for a service, with summary statistics, pipeline details, and Git metadata. Use this to tie test results back to a branch, workflow, or commit author. \`systemEnvironmentId\` is required. Filter with \`collectionId\`, \`environmentId\`, \`status\`, \`branch\`, \`workflowName\`, \`actor\`, \`repoName\`, and \`repoOwner\`; order with \`sort\` in \`field:direction\` form over \`timestamp\` or \`duration\`. Do not use this tool for scheduled monitor runs; use getApiCatalogServiceMonitorRuns instead. Requires a Postman Enterprise plan.

  • Get api catalog service endpoints

    Lists the endpoints Postman has observed for a service, with per-endpoint traffic and performance metrics. Use this to find a service's slowest or most error-prone endpoints. \`systemEnvironmentId\` is required. Filter with \`httpMethods\`, \`hosts\`, \`responseCodes\`, and \`search\` on the path; order with \`sort\` in \`field:direction\` form over \`count\`, \`endpoint\`, \`p95LatencyMs\`, or \`errorRate\`. These are observed endpoints, not a specification — do not use this tool to read a service's OpenAPI definition. Requires a Postman Enterprise plan.

  • Get api catalog service monitor runs

    Lists scheduled monitor runs for a service, with summary statistics per run. Use this to check whether a service's monitors are passing and when they last ran. \`systemEnvironmentId\` is required. Filter with \`collectionId\`, \`environmentId\`, and \`status\`; order with \`sort\` in \`field:direction\` form over \`timestamp\`, \`duration\`, or \`failedAssertions\`. Do not use this tool for CI-triggered runs; those are separate and read with getApiCatalogServiceCiRuns. Requires a Postman Enterprise plan.

  • Get api catalog services

    Lists the services catalogued in one system environment, with their analytics, compliance, and governance metadata. \`systemEnvironmentId\` is required — call getApiCatalogSystemEnvironments first to get one, and repeat this call per environment when you need a cross-environment view. Narrow with \`name\`, \`tags\`, and \`governanceGroupId\`; page with \`limit\` (max 100) and \`cursor\`. Do not use this tool to find services that are not catalogued yet; use getApiCatalogDiscoveryServices instead. Requires a Postman Enterprise plan.

  • Get api catalog service specification lints

    Lists specification lint runs for a service, with per-severity issue counts. Use this to see whether a service's specifications pass governance rules and which severities are failing. Unlike the other service reads, this one takes no \`systemEnvironmentId\`; scope it with \`specId\` instead. \`severity\` is a threshold — higher severities are always included. Order with \`sort\` in \`field:direction\` form over \`timestamp\` or \`errorCount\`. Do not use this tool to lint a specification on demand; it only reports runs that have already happened. Requires a Postman Enterprise plan.

  • Get api catalog system environment

    Gets one system environment by ID. Use getApiCatalogSystemEnvironments when you need to discover the ID. Do not use this tool to list the services in that environment; use getApiCatalogServices with this environment's ID instead. Requires a Postman Enterprise plan.

  • Get api catalog system environment associations

    Lists the workspace environments attached to a system environment. Use this to see which Postman environments feed a deployment stage before adding or removing any. Narrow to one workspace with \`workspaceId\`; page with \`limit\` (max 100) and \`cursor\`. Requires a Postman Enterprise plan.

Page 1 / 6Next