postman-cli-completion 1.88.0 → 1.90.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- # Bash completion for Postman CLI (postman v1.88.0)
1
+ # Bash completion for Postman CLI (postman v1.90.0)
2
2
  # Auto-generated by scripts/generate.mjs — DO NOT EDIT
3
3
  # Source: spec/commands.json
4
4
  # https://github.com/yokawasa/postman-cli-completion
@@ -172,7 +172,7 @@ _postman_collection_migrate() {
172
172
 
173
173
  _postman_collection_lint() {
174
174
  if [[ "$cur" == -* ]]; then
175
- COMPREPLY=( $(compgen -W "-f --fail-severity -r --reporter -h --help" -- "$cur") )
175
+ COMPREPLY=( $(compgen -W "-f --fail-severity -r --reporter --readyapi --allow-pending -h --help" -- "$cur") )
176
176
  return 0
177
177
  fi
178
178
  case "$prev" in
@@ -510,7 +510,7 @@ _postman_collection_list() {
510
510
 
511
511
  _postman_collection_run() {
512
512
  if [[ "$cur" == -* ]]; then
513
- COMPREPLY=( $(compgen -W "-e --environment -g --globals --output -n --iteration-count -d --iteration-data --iteration-data-dataset --iteration-data-view --dataset -i --global-var --env-var --integration-id --postman-api-key --alias --bail --ignore-redirects -x --suppress-exit-code --silent --disable-unicode --delay-request --timeout --timeout-request --timeout-script --working-dir --no-insecure-file-read -k --insecure --ssl-client-cert-list --ssl-client-cert --ssl-client-key --ssl-client-passphrase --ssl-extra-ca-certs --cookie-jar --export-cookie-jar --verbose --port --use-mock --simulation -w --workspace --report-events --no-report-events -h --help" -- "$cur") )
513
+ COMPREPLY=( $(compgen -W "-e --environment -g --globals --output -n --iteration-count -d --iteration-data --iteration-data-dataset --iteration-data-view --dataset -i --global-var --env-var --integration-id --postman-api-key --alias --bail --ignore-redirects -x --suppress-exit-code --silent --disable-unicode --delay-request --timeout --timeout-request --timeout-script --working-dir --no-insecure-file-read -k --insecure --allow-stdio --ssl-client-cert-list --ssl-client-cert --ssl-client-key --ssl-client-passphrase --ssl-extra-ca-certs --cookie-jar --export-cookie-jar --verbose --port --use-mock --simulation -w --workspace --report-events --no-report-events -h --help" -- "$cur") )
514
514
  return 0
515
515
  fi
516
516
  case "$prev" in
@@ -2790,7 +2790,7 @@ _postman_mcp() {
2790
2790
  if [[ "$cur" == -* ]]; then
2791
2791
  COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
2792
2792
  else
2793
- COMPREPLY=( $(compgen -W "inspect tools resources prompts" -- "$cur") )
2793
+ COMPREPLY=( $(compgen -W "inspect tools resources prompts login logout credentials" -- "$cur") )
2794
2794
  fi
2795
2795
  return 0
2796
2796
  fi
@@ -2799,12 +2799,15 @@ _postman_mcp() {
2799
2799
  tools) _postman_mcp_tools ;;
2800
2800
  resources) _postman_mcp_resources ;;
2801
2801
  prompts) _postman_mcp_prompts ;;
2802
+ login) _postman_mcp_login ;;
2803
+ logout) _postman_mcp_logout ;;
2804
+ credentials) _postman_mcp_credentials ;;
2802
2805
  esac
2803
2806
  }
2804
2807
 
2805
2808
  _postman_mcp_inspect() {
2806
2809
  if [[ "$cur" == -* ]]; then
2807
- COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var -h --help" -- "$cur") )
2810
+ COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var --login --no-login -h --help" -- "$cur") )
2808
2811
  return 0
2809
2812
  fi
2810
2813
  case "$prev" in
@@ -2843,7 +2846,7 @@ _postman_mcp_tools() {
2843
2846
 
2844
2847
  _postman_mcp_tools_list() {
2845
2848
  if [[ "$cur" == -* ]]; then
2846
- COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var -h --help" -- "$cur") )
2849
+ COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var --login --no-login -h --help" -- "$cur") )
2847
2850
  return 0
2848
2851
  fi
2849
2852
  case "$prev" in
@@ -2867,7 +2870,7 @@ _postman_mcp_tools_list() {
2867
2870
 
2868
2871
  _postman_mcp_tools_call() {
2869
2872
  if [[ "$cur" == -* ]]; then
2870
- COMPREPLY=( $(compgen -W "--args --arg --json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var -h --help" -- "$cur") )
2873
+ COMPREPLY=( $(compgen -W "--args --arg --json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var --login --no-login -h --help" -- "$cur") )
2871
2874
  return 0
2872
2875
  fi
2873
2876
  case "$prev" in
@@ -2910,7 +2913,7 @@ _postman_mcp_resources() {
2910
2913
 
2911
2914
  _postman_mcp_resources_list() {
2912
2915
  if [[ "$cur" == -* ]]; then
2913
- COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var -h --help" -- "$cur") )
2916
+ COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var --login --no-login -h --help" -- "$cur") )
2914
2917
  return 0
2915
2918
  fi
2916
2919
  case "$prev" in
@@ -2948,7 +2951,7 @@ _postman_mcp_resources_templates() {
2948
2951
 
2949
2952
  _postman_mcp_resources_templates_list() {
2950
2953
  if [[ "$cur" == -* ]]; then
2951
- COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var -h --help" -- "$cur") )
2954
+ COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var --login --no-login -h --help" -- "$cur") )
2952
2955
  return 0
2953
2956
  fi
2954
2957
  case "$prev" in
@@ -2972,7 +2975,7 @@ _postman_mcp_resources_templates_list() {
2972
2975
 
2973
2976
  _postman_mcp_resources_read() {
2974
2977
  if [[ "$cur" == -* ]]; then
2975
- COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var -h --help" -- "$cur") )
2978
+ COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var --login --no-login -h --help" -- "$cur") )
2976
2979
  return 0
2977
2980
  fi
2978
2981
  case "$prev" in
@@ -3011,7 +3014,7 @@ _postman_mcp_prompts() {
3011
3014
 
3012
3015
  _postman_mcp_prompts_list() {
3013
3016
  if [[ "$cur" == -* ]]; then
3014
- COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var -h --help" -- "$cur") )
3017
+ COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var --login --no-login -h --help" -- "$cur") )
3015
3018
  return 0
3016
3019
  fi
3017
3020
  case "$prev" in
@@ -3035,7 +3038,7 @@ _postman_mcp_prompts_list() {
3035
3038
 
3036
3039
  _postman_mcp_prompts_get() {
3037
3040
  if [[ "$cur" == -* ]]; then
3038
- COMPREPLY=( $(compgen -W "--args --arg --json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var -h --help" -- "$cur") )
3041
+ COMPREPLY=( $(compgen -W "--args --arg --json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var --login --no-login -h --help" -- "$cur") )
3039
3042
  return 0
3040
3043
  fi
3041
3044
  case "$prev" in
@@ -3060,6 +3063,52 @@ _postman_mcp_prompts_get() {
3060
3063
  esac
3061
3064
  }
3062
3065
 
3066
+ _postman_mcp_login() {
3067
+ if [[ "$cur" == -* ]]; then
3068
+ COMPREPLY=( $(compgen -W "--scope --client-id --client-secret --callback-port --no-browser -H --header -k --insecure --timeout-request --debug --request --url -e --environment --env-var --json -h --help" -- "$cur") )
3069
+ return 0
3070
+ fi
3071
+ case "$prev" in
3072
+ -H|--header)
3073
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
3074
+ return 0 ;;
3075
+ --request)
3076
+ _postman_filematch '!*.@(json)' "$cur"
3077
+ return 0 ;;
3078
+ -e|--environment)
3079
+ _postman_filematch '!*.@(json)' "$cur"
3080
+ return 0 ;;
3081
+ --env-var)
3082
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
3083
+ return 0 ;;
3084
+ esac
3085
+ }
3086
+
3087
+ _postman_mcp_logout() {
3088
+ if [[ "$cur" == -* ]]; then
3089
+ COMPREPLY=( $(compgen -W "--all -y --yes --no-revoke -k --insecure --timeout-request --debug --request --url -e --environment --env-var --json -h --help" -- "$cur") )
3090
+ return 0
3091
+ fi
3092
+ case "$prev" in
3093
+ --request)
3094
+ _postman_filematch '!*.@(json)' "$cur"
3095
+ return 0 ;;
3096
+ -e|--environment)
3097
+ _postman_filematch '!*.@(json)' "$cur"
3098
+ return 0 ;;
3099
+ --env-var)
3100
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
3101
+ return 0 ;;
3102
+ esac
3103
+ }
3104
+
3105
+ _postman_mcp_credentials() {
3106
+ if [[ "$cur" == -* ]]; then
3107
+ COMPREPLY=( $(compgen -W "--json -h --help" -- "$cur") )
3108
+ return 0
3109
+ fi
3110
+ }
3111
+
3063
3112
  _postman_performance() {
3064
3113
  if [[ -z "$subcmd" ]]; then
3065
3114
  if [[ "$cur" == -* ]]; then
@@ -1,4 +1,4 @@
1
- # Fish completion for Postman CLI (postman v1.88.0)
1
+ # Fish completion for Postman CLI (postman v1.90.0)
2
2
  # Auto-generated by scripts/generate.mjs — DO NOT EDIT
3
3
  # Source: spec/commands.json
4
4
  # https://github.com/yokawasa/postman-cli-completion
@@ -50,7 +50,7 @@ complete -c postman -n __postman_no_subcommand -a application -d 'Application-le
50
50
  complete -c postman -n __postman_no_subcommand -a app -d 'Alias for application'
51
51
  complete -c postman -n __postman_no_subcommand -a dependency -d 'Manage workspace dependencies reused from other workspaces'
52
52
  complete -c postman -n __postman_no_subcommand -a feedback -d 'Submit feedback about CLI usability, gaps, and improvements'
53
- complete -c postman -n __postman_no_subcommand -a mcp -d 'Explore MCP servers: inspect them, list and call tools, read resources, and get prompts'
53
+ complete -c postman -n __postman_no_subcommand -a mcp -d 'Explore MCP servers: inspect them, list and call tools, read resources, get prompts, and sign in to servers that use OAuth'
54
54
  complete -c postman -n __postman_no_subcommand -a performance -d 'Manage performance tests on your collections'
55
55
  complete -c postman -n __postman_no_subcommand -a secret -d 'Create and manage Postman secrets in a team\'s shared vault'
56
56
  complete -c postman -n __postman_no_subcommand -a simulation -d 'Create, run and manage simulations'
@@ -91,7 +91,7 @@ complete -c postman -n '__postman_using_subcommand collection new migrate lint a
91
91
  complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get delete publish generate sync share request folder example import list run' -a request -d 'Add, get, update, or remove requests in a local v3 collection.'
92
92
  complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get delete publish generate sync share request folder example import list run' -a folder -d 'Add, get, update, or remove folders in a local v3 collection.'
93
93
  complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get delete publish generate sync share request folder example import list run' -a example -d 'Add, update, remove, get, or list examples (saved responses) under a request.'
94
- complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get delete publish generate sync share request folder example import list run' -a import -d 'Import a cURL, HAR, or JMeter (.jmx) source into a v3 collection (local, or cloud with --workspace).'
94
+ complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get delete publish generate sync share request folder example import list run' -a import -d 'Import a cURL, HAR, JMeter (.jmx), or ReadyAPI/SoapUI (.xml) source into a v3 collection (local, or cloud with --workspace).'
95
95
  complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get delete publish generate sync share request folder example import list run' -a list -d 'List collections: your local project\'s collections by default, or a Postman cloud workspace\'s collections with --workspace.'
96
96
  complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get delete publish generate sync share request folder example import list run' -a run -d 'Run a collection by ID or path, or a request file.'
97
97
  complete -c postman -n '__fish_seen_subcommand_from collection' -s h -l help -d 'display help for command'
@@ -109,6 +109,8 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
109
109
  # ---------- collection lint ----------
110
110
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from lint' -s f -l fail-severity -d 'Exit with failure if diagnostics at this level or above are present. [choices: "error", "warning"] (default: "error")' -x
111
111
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from lint' -s r -l reporter -d 'Output format: cli (human-readable) or json. (default: "cli")' -x
112
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from lint' -l readyapi -d 'Lint a ReadyAPI-imported collection: every script parses as JavaScript, uses only real pm.* APIs, and has no unresolved Groovy placeholder.'
113
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from lint' -l allow-pending -d 'With --readyapi, treat un-translated Groovy placeholders as warnings, not errors.'
112
114
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from lint' -s h -l help -d 'display help for command'
113
115
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from lint' -r -k -a '(__fish_complete_suffix .json)'
114
116
  # ---------- collection ai-readiness ----------
@@ -318,7 +320,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
318
320
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from list' -l json -d 'JSON output.'
319
321
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from list' -s h -l help -d 'display help for command'
320
322
  # ---------- collection import ----------
321
- complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from import' -l type -d 'Source format: curl, har, or jmeter. Auto-detected from the extension/content when omitted.' -x
323
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from import' -l type -d 'Source format: curl, har, jmeter, or readyapi. Auto-detected from the extension/content when omitted.' -x
322
324
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from import' -l name -d 'Collection display name. Defaults to a per-format fallback.' -x
323
325
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from import' -s o -l output -d 'Output directory for the local collection (default: postman/collections/<name>).' -r
324
326
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from import' -s w -l workspace -d 'Create the collection in a Postman cloud workspace by id (cloud mode).' -x
@@ -361,6 +363,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
361
363
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l working-dir -d 'Specify the path to the working directory' -x
362
364
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l no-insecure-file-read -d 'Prevents reading the files situated outside of the working directory'
363
365
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -s k -l insecure -d 'Disables SSL validations'
366
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l allow-stdio -d 'Allow MCP requests on the stdio transport to start their local server process'
364
367
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l ssl-client-cert-list -d 'Specify the path to a client certificates configurations (JSON)' -r
365
368
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l ssl-client-cert -d 'Specify the path to a client certificate (PEM)' -r
366
369
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l ssl-client-key -d 'Specify the path to a client certificate private key' -r
@@ -1722,10 +1725,13 @@ complete -c postman -n '__fish_seen_subcommand_from feedback' -l json -d 'Print
1722
1725
  complete -c postman -n '__fish_seen_subcommand_from feedback' -s h -l help -d 'display help for command'
1723
1726
 
1724
1727
  # ---------- mcp ----------
1725
- complete -c postman -n '__postman_using_subcommand mcp inspect tools resources prompts' -a inspect -d 'Show what an MCP server reports at initialize: capabilities and counts of tools, resources, resource templates and prompts (initialize, then every */list)'
1726
- complete -c postman -n '__postman_using_subcommand mcp inspect tools resources prompts' -a tools -d 'List and call the tools an MCP server offers'
1727
- complete -c postman -n '__postman_using_subcommand mcp inspect tools resources prompts' -a resources -d 'List and read the resources an MCP server offers'
1728
- complete -c postman -n '__postman_using_subcommand mcp inspect tools resources prompts' -a prompts -d 'List and get the prompts an MCP server offers'
1728
+ complete -c postman -n '__postman_using_subcommand mcp inspect tools resources prompts login logout credentials' -a inspect -d 'Show what an MCP server reports at initialize: capabilities and counts of tools, resources, resource templates and prompts (initialize, then every */list)'
1729
+ complete -c postman -n '__postman_using_subcommand mcp inspect tools resources prompts login logout credentials' -a tools -d 'List and call the tools an MCP server offers'
1730
+ complete -c postman -n '__postman_using_subcommand mcp inspect tools resources prompts login logout credentials' -a resources -d 'List and read the resources an MCP server offers'
1731
+ complete -c postman -n '__postman_using_subcommand mcp inspect tools resources prompts login logout credentials' -a prompts -d 'List and get the prompts an MCP server offers'
1732
+ complete -c postman -n '__postman_using_subcommand mcp inspect tools resources prompts login logout credentials' -a login -d 'Sign in to an MCP server that uses OAuth, in a browser, and store the token every postman mcp command then sends to it'
1733
+ complete -c postman -n '__postman_using_subcommand mcp inspect tools resources prompts login logout credentials' -a logout -d 'Remove the credentials postman mcp login stored for an MCP server, and revoke them at its authorization server'
1734
+ complete -c postman -n '__postman_using_subcommand mcp inspect tools resources prompts login logout credentials' -a credentials -d 'List the sign-ins postman mcp login stored: server, issuer, client, scopes, expiry and whether they refresh. Never shows a token or secret'
1729
1735
  complete -c postman -n '__fish_seen_subcommand_from mcp' -s h -l help -d 'display help for command'
1730
1736
  # ---------- mcp inspect ----------
1731
1737
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -l json -d 'Print the report as JSON'
@@ -1742,6 +1748,8 @@ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcomm
1742
1748
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -l protocol-version -d 'Protocol version negotiation (default: auto) (choices: "auto", "legacy", "2026-07-28")' -x
1743
1749
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1744
1750
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1751
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -l login -d 'When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)'
1752
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -l no-login -d 'Never ask to sign in; exit 3 when an HTTP server needs one'
1745
1753
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -s h -l help -d 'display help for command'
1746
1754
  # ---------- mcp tools ----------
1747
1755
  complete -c postman -n '__postman_using_subcommand tools list call' -a list -d 'List the tools an MCP server offers (tools/list)'
@@ -1762,6 +1770,8 @@ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcomm
1762
1770
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from list' -l protocol-version -d 'Protocol version negotiation (default: auto) (choices: "auto", "legacy", "2026-07-28")' -x
1763
1771
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from list' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1764
1772
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from list' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1773
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from list' -l login -d 'When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)'
1774
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from list' -l no-login -d 'Never ask to sign in; exit 3 when an HTTP server needs one'
1765
1775
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from list' -s h -l help -d 'display help for command'
1766
1776
  # ---------- mcp tools call ----------
1767
1777
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -l args -d 'Tool arguments as a JSON object, @path to a JSON file, or - for stdin. Defaults to the --request message\'s saved arguments for the same tool' -x
@@ -1780,6 +1790,8 @@ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcomm
1780
1790
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -l protocol-version -d 'Protocol version negotiation (default: auto) (choices: "auto", "legacy", "2026-07-28")' -x
1781
1791
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1782
1792
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1793
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -l login -d 'When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)'
1794
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -l no-login -d 'Never ask to sign in; exit 3 when an HTTP server needs one'
1783
1795
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -s h -l help -d 'display help for command'
1784
1796
  # ---------- mcp resources ----------
1785
1797
  complete -c postman -n '__postman_using_subcommand resources list templates read' -a list -d 'List the resources an MCP server offers (resources/list)'
@@ -1801,6 +1813,8 @@ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcomm
1801
1813
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from list' -l protocol-version -d 'Protocol version negotiation (default: auto) (choices: "auto", "legacy", "2026-07-28")' -x
1802
1814
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from list' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1803
1815
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from list' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1816
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from list' -l login -d 'When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)'
1817
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from list' -l no-login -d 'Never ask to sign in; exit 3 when an HTTP server needs one'
1804
1818
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from list' -s h -l help -d 'display help for command'
1805
1819
  # ---------- mcp resources templates ----------
1806
1820
  complete -c postman -n '__postman_using_subcommand templates list' -a list -d 'List the resource templates an MCP server offers (resources/templates/list)'
@@ -1820,6 +1834,8 @@ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcomm
1820
1834
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates; and __fish_seen_subcommand_from list' -l protocol-version -d 'Protocol version negotiation (default: auto) (choices: "auto", "legacy", "2026-07-28")' -x
1821
1835
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates; and __fish_seen_subcommand_from list' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1822
1836
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates; and __fish_seen_subcommand_from list' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1837
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates; and __fish_seen_subcommand_from list' -l login -d 'When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)'
1838
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates; and __fish_seen_subcommand_from list' -l no-login -d 'Never ask to sign in; exit 3 when an HTTP server needs one'
1823
1839
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates; and __fish_seen_subcommand_from list' -s h -l help -d 'display help for command'
1824
1840
  # ---------- mcp resources read ----------
1825
1841
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -l json -d 'Print the ReadResourceResult as JSON (blob contents stay base64)'
@@ -1836,6 +1852,8 @@ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcomm
1836
1852
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -l protocol-version -d 'Protocol version negotiation (default: auto) (choices: "auto", "legacy", "2026-07-28")' -x
1837
1853
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1838
1854
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1855
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -l login -d 'When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)'
1856
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -l no-login -d 'Never ask to sign in; exit 3 when an HTTP server needs one'
1839
1857
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -s h -l help -d 'display help for command'
1840
1858
  # ---------- mcp prompts ----------
1841
1859
  complete -c postman -n '__postman_using_subcommand prompts list get' -a list -d 'List the prompts an MCP server offers (prompts/list)'
@@ -1856,6 +1874,8 @@ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcomm
1856
1874
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from list' -l protocol-version -d 'Protocol version negotiation (default: auto) (choices: "auto", "legacy", "2026-07-28")' -x
1857
1875
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from list' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1858
1876
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from list' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1877
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from list' -l login -d 'When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)'
1878
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from list' -l no-login -d 'Never ask to sign in; exit 3 when an HTTP server needs one'
1859
1879
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from list' -s h -l help -d 'display help for command'
1860
1880
  # ---------- mcp prompts get ----------
1861
1881
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -l args -d 'Prompt arguments as a JSON object of strings, @path, or - for stdin' -x
@@ -1874,7 +1894,41 @@ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcomm
1874
1894
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -l protocol-version -d 'Protocol version negotiation (default: auto) (choices: "auto", "legacy", "2026-07-28")' -x
1875
1895
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1876
1896
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1897
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -l login -d 'When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)'
1898
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -l no-login -d 'Never ask to sign in; exit 3 when an HTTP server needs one'
1877
1899
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -s h -l help -d 'display help for command'
1900
+ # ---------- mcp login ----------
1901
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -l scope -d 'Space-separated scopes to request (default: what the server asks for)' -x
1902
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -l client-id -d 'Use a client registered with the authorization server, instead of registering one dynamically' -x
1903
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -l client-secret -d 'The --client-id client\'s secret, if it has one' -x
1904
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -l callback-port -d 'Receive the sign-in on this port of 127.0.0.1, to match a registered redirect URI http://127.0.0.1:<port>/callback' -x
1905
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -l no-browser -d 'Print the sign-in link to stderr instead of opening a browser. In a terminal, also accepts the URL the browser was redirected to, pasted, for a browser on another machine'
1906
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -s H -l header -d 'Add an HTTP header to the sign-in\'s first request to the server, in key:value format. Repeatable. (default: [])' -r
1907
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -s k -l insecure -d 'Disable TLS certificate verification'
1908
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -l timeout-request -d 'Time limit for each request in ms (default: 60000, 0 for none)' -x
1909
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -l debug -d 'Print each OAuth request\'s method, URL without its query, and status to stderr'
1910
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -l request -d 'A saved local-mode MCP request ($kind: mcp-request): a .request.yaml path, or the id of an MCP request in postman/collections/' -r
1911
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -l url -d 'The MCP server URL' -x
1912
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1913
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1914
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -l json -d 'Print the result as JSON'
1915
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -s h -l help -d 'display help for command'
1916
+ # ---------- mcp logout ----------
1917
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from logout' -l all -d 'Remove every stored sign-in'
1918
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from logout' -s y -l yes -d 'With --all, skip the confirmation; required when there is no terminal'
1919
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from logout' -l no-revoke -d 'Only remove the credentials from this machine; do not revoke them'
1920
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from logout' -s k -l insecure -d 'Disable TLS certificate verification for the revocation'
1921
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from logout' -l timeout-request -d 'Time limit for each revocation request in ms (default: 60000, 0 for none)' -x
1922
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from logout' -l debug -d 'Print each revocation request\'s method, URL without its query, and status to stderr'
1923
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from logout' -l request -d 'A saved local-mode MCP request ($kind: mcp-request): a .request.yaml path, or the id of an MCP request in postman/collections/' -r
1924
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from logout' -l url -d 'The MCP server URL' -x
1925
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from logout' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1926
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from logout' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1927
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from logout' -l json -d 'Print the result as JSON'
1928
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from logout' -s h -l help -d 'display help for command'
1929
+ # ---------- mcp credentials ----------
1930
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from credentials' -l json -d 'Print the sign-ins as JSON'
1931
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from credentials' -s h -l help -d 'display help for command'
1878
1932
 
1879
1933
  # ---------- performance ----------
1880
1934
  complete -c postman -n '__postman_using_subcommand performance run list get' -a run -d 'Run a performance test on a collection (cloud collection UID or local collection path)'
@@ -1,6 +1,6 @@
1
1
  #compdef postman
2
2
  compdef _postman postman
3
- # Zsh completion for Postman CLI (postman v1.88.0)
3
+ # Zsh completion for Postman CLI (postman v1.90.0)
4
4
  # Auto-generated by scripts/generate.mjs — DO NOT EDIT
5
5
  # Source: spec/commands.json
6
6
  # https://github.com/yokawasa/postman-cli-completion
@@ -91,7 +91,7 @@ _postman_commands() {
91
91
  'app:Alias for application'
92
92
  'dependency:Manage workspace dependencies reused from other workspaces'
93
93
  'feedback:Submit feedback about CLI usability, gaps, and improvements'
94
- 'mcp:Explore MCP servers\: inspect them, list and call tools, read resources, and get prompts'
94
+ 'mcp:Explore MCP servers\: inspect them, list and call tools, read resources, get prompts, and sign in to servers that use OAuth'
95
95
  'performance:Manage performance tests on your collections'
96
96
  'secret:Create and manage Postman secrets in a team'\''s shared vault'
97
97
  'simulation:Create, run and manage simulations'
@@ -197,7 +197,7 @@ _postman_collection_commands() {
197
197
  'request:Add, get, update, or remove requests in a local v3 collection.'
198
198
  'folder:Add, get, update, or remove folders in a local v3 collection.'
199
199
  'example:Add, update, remove, get, or list examples (saved responses) under a request.'
200
- 'import:Import a cURL, HAR, or JMeter (.jmx) source into a v3 collection (local, or cloud with --workspace).'
200
+ 'import:Import a cURL, HAR, JMeter (.jmx), or ReadyAPI/SoapUI (.xml) source into a v3 collection (local, or cloud with --workspace).'
201
201
  'list:List collections\: your local project'\''s collections by default, or a Postman cloud workspace'\''s collections with --workspace.'
202
202
  'run:Run a collection by ID or path, or a request file.'
203
203
  )
@@ -226,6 +226,8 @@ _postman_collection_lint() {
226
226
  _arguments \
227
227
  '(-f --fail-severity)'{-f,--fail-severity}'[Exit with failure if diagnostics at this level or above are present. \[choices\: "error", "warning"\] (default\: "error")]:value' \
228
228
  '(-r --reporter)'{-r,--reporter}'[Output format\: cli (human-readable) or json. (default\: "cli")]:value' \
229
+ '--readyapi[Lint a ReadyAPI-imported collection\: every script parses as JavaScript, uses only real pm.* APIs, and has no unresolved Groovy placeholder.]' \
230
+ '--allow-pending[With --readyapi, treat un-translated Groovy placeholders as warnings, not errors.]' \
229
231
  '(-h --help)'{-h,--help}'[display help for command]' \
230
232
  '*:path:_files -g "*.json"'
231
233
  }
@@ -627,7 +629,7 @@ _postman_collection_example_list() {
627
629
 
628
630
  _postman_collection_import() {
629
631
  _arguments \
630
- '--type[Source format\: curl, har, or jmeter. Auto-detected from the extension/content when omitted.]:format' \
632
+ '--type[Source format\: curl, har, jmeter, or readyapi. Auto-detected from the extension/content when omitted.]:format' \
631
633
  '--name[Collection display name. Defaults to a per-format fallback.]:name' \
632
634
  '(-o --output)'{-o,--output}'[Output directory for the local collection (default\: postman/collections/<name>).]:dir:_files -g "*.json"' \
633
635
  '(-w --workspace)'{-w,--workspace}'[Create the collection in a Postman cloud workspace by id (cloud mode).]:id' \
@@ -677,6 +679,7 @@ _postman_collection_run() {
677
679
  '--working-dir[Specify the path to the working directory]:path:_files -/' \
678
680
  '--no-insecure-file-read[Prevents reading the files situated outside of the working directory]' \
679
681
  '(-k --insecure)'{-k,--insecure}'[Disables SSL validations]' \
682
+ '--allow-stdio[Allow MCP requests on the stdio transport to start their local server process]' \
680
683
  '--ssl-client-cert-list[Specify the path to a client certificates configurations (JSON)]:path:_files -g "*.(pem|crt|key)"' \
681
684
  '--ssl-client-cert[Specify the path to a client certificate (PEM)]:path:_files -g "*.(pem|crt|key)"' \
682
685
  '--ssl-client-key[Specify the path to a client certificate private key]:path:_files -g "*.(pem|crt|key)"' \
@@ -3395,6 +3398,9 @@ _postman_mcp() {
3395
3398
  tools) _postman_mcp_tools ;;
3396
3399
  resources) _postman_mcp_resources ;;
3397
3400
  prompts) _postman_mcp_prompts ;;
3401
+ login) _postman_mcp_login ;;
3402
+ logout) _postman_mcp_logout ;;
3403
+ credentials) _postman_mcp_credentials ;;
3398
3404
  esac
3399
3405
  ;;
3400
3406
  esac
@@ -3407,6 +3413,9 @@ _postman_mcp_commands() {
3407
3413
  'tools:List and call the tools an MCP server offers'
3408
3414
  'resources:List and read the resources an MCP server offers'
3409
3415
  'prompts:List and get the prompts an MCP server offers'
3416
+ 'login:Sign in to an MCP server that uses OAuth, in a browser, and store the token every postman mcp command then sends to it'
3417
+ 'logout:Remove the credentials postman mcp login stored for an MCP server, and revoke them at its authorization server'
3418
+ 'credentials:List the sign-ins postman mcp login stored\: server, issuer, client, scopes, expiry and whether they refresh. Never shows a token or secret'
3410
3419
  )
3411
3420
  _describe -t commands 'mcp command' sub
3412
3421
  }
@@ -3427,6 +3436,8 @@ _postman_mcp_inspect() {
3427
3436
  '--protocol-version[Protocol version negotiation (default\: auto) (choices\: "auto", "legacy", "2026-07-28")]:version' \
3428
3437
  '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3429
3438
  '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3439
+ '--login[When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)]' \
3440
+ '--no-login[Never ask to sign in; exit 3 when an HTTP server needs one]' \
3430
3441
  '(-h --help)'{-h,--help}'[display help for command]'
3431
3442
  }
3432
3443
 
@@ -3472,6 +3483,8 @@ _postman_mcp_tools_list() {
3472
3483
  '--protocol-version[Protocol version negotiation (default\: auto) (choices\: "auto", "legacy", "2026-07-28")]:version' \
3473
3484
  '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3474
3485
  '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3486
+ '--login[When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)]' \
3487
+ '--no-login[Never ask to sign in; exit 3 when an HTTP server needs one]' \
3475
3488
  '(-h --help)'{-h,--help}'[display help for command]'
3476
3489
  }
3477
3490
 
@@ -3493,6 +3506,8 @@ _postman_mcp_tools_call() {
3493
3506
  '--protocol-version[Protocol version negotiation (default\: auto) (choices\: "auto", "legacy", "2026-07-28")]:version' \
3494
3507
  '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3495
3508
  '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3509
+ '--login[When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)]' \
3510
+ '--no-login[Never ask to sign in; exit 3 when an HTTP server needs one]' \
3496
3511
  '(-h --help)'{-h,--help}'[display help for command]' \
3497
3512
  '*:tool:'
3498
3513
  }
@@ -3541,6 +3556,8 @@ _postman_mcp_resources_list() {
3541
3556
  '--protocol-version[Protocol version negotiation (default\: auto) (choices\: "auto", "legacy", "2026-07-28")]:version' \
3542
3557
  '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3543
3558
  '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3559
+ '--login[When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)]' \
3560
+ '--no-login[Never ask to sign in; exit 3 when an HTTP server needs one]' \
3544
3561
  '(-h --help)'{-h,--help}'[display help for command]'
3545
3562
  }
3546
3563
 
@@ -3584,6 +3601,8 @@ _postman_mcp_resources_templates_list() {
3584
3601
  '--protocol-version[Protocol version negotiation (default\: auto) (choices\: "auto", "legacy", "2026-07-28")]:version' \
3585
3602
  '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3586
3603
  '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3604
+ '--login[When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)]' \
3605
+ '--no-login[Never ask to sign in; exit 3 when an HTTP server needs one]' \
3587
3606
  '(-h --help)'{-h,--help}'[display help for command]'
3588
3607
  }
3589
3608
 
@@ -3603,6 +3622,8 @@ _postman_mcp_resources_read() {
3603
3622
  '--protocol-version[Protocol version negotiation (default\: auto) (choices\: "auto", "legacy", "2026-07-28")]:version' \
3604
3623
  '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3605
3624
  '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3625
+ '--login[When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)]' \
3626
+ '--no-login[Never ask to sign in; exit 3 when an HTTP server needs one]' \
3606
3627
  '(-h --help)'{-h,--help}'[display help for command]' \
3607
3628
  '*:uri:'
3608
3629
  }
@@ -3649,6 +3670,8 @@ _postman_mcp_prompts_list() {
3649
3670
  '--protocol-version[Protocol version negotiation (default\: auto) (choices\: "auto", "legacy", "2026-07-28")]:version' \
3650
3671
  '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3651
3672
  '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3673
+ '--login[When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)]' \
3674
+ '--no-login[Never ask to sign in; exit 3 when an HTTP server needs one]' \
3652
3675
  '(-h --help)'{-h,--help}'[display help for command]'
3653
3676
  }
3654
3677
 
@@ -3670,10 +3693,53 @@ _postman_mcp_prompts_get() {
3670
3693
  '--protocol-version[Protocol version negotiation (default\: auto) (choices\: "auto", "legacy", "2026-07-28")]:version' \
3671
3694
  '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3672
3695
  '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3696
+ '--login[When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)]' \
3697
+ '--no-login[Never ask to sign in; exit 3 when an HTTP server needs one]' \
3673
3698
  '(-h --help)'{-h,--help}'[display help for command]' \
3674
3699
  '*:name:'
3675
3700
  }
3676
3701
 
3702
+ _postman_mcp_login() {
3703
+ _arguments \
3704
+ '--scope[Space-separated scopes to request (default\: what the server asks for)]:scopes' \
3705
+ '--client-id[Use a client registered with the authorization server, instead of registering one dynamically]:id' \
3706
+ '--client-secret[The --client-id client'\''s secret, if it has one]:secret' \
3707
+ '--callback-port[Receive the sign-in on this port of 127.0.0.1, to match a registered redirect URI http\://127.0.0.1\:<port>/callback]:port' \
3708
+ '--no-browser[Print the sign-in link to stderr instead of opening a browser. In a terminal, also accepts the URL the browser was redirected to, pasted, for a browser on another machine]' \
3709
+ '(-H --header)'{-H,--header}'[Add an HTTP header to the sign-in'\''s first request to the server, in key\:value format. Repeatable. (default\: \[\])]:key\:value:_files -g "*.(pem|crt|key)"' \
3710
+ '(-k --insecure)'{-k,--insecure}'[Disable TLS certificate verification]' \
3711
+ '--timeout-request[Time limit for each request in ms (default\: 60000, 0 for none)]:ms' \
3712
+ '--debug[Print each OAuth request'\''s method, URL without its query, and status to stderr]' \
3713
+ '--request[A saved local-mode MCP request ($kind\: mcp-request)\: a .request.yaml path, or the id of an MCP request in postman/collections/]:path|id:_files -g "*.json"' \
3714
+ '--url[The MCP server URL]:url' \
3715
+ '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3716
+ '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3717
+ '--json[Print the result as JSON]' \
3718
+ '(-h --help)'{-h,--help}'[display help for command]'
3719
+ }
3720
+
3721
+ _postman_mcp_logout() {
3722
+ _arguments \
3723
+ '--all[Remove every stored sign-in]' \
3724
+ '(-y --yes)'{-y,--yes}'[With --all, skip the confirmation; required when there is no terminal]' \
3725
+ '--no-revoke[Only remove the credentials from this machine; do not revoke them]' \
3726
+ '(-k --insecure)'{-k,--insecure}'[Disable TLS certificate verification for the revocation]' \
3727
+ '--timeout-request[Time limit for each revocation request in ms (default\: 60000, 0 for none)]:ms' \
3728
+ '--debug[Print each revocation request'\''s method, URL without its query, and status to stderr]' \
3729
+ '--request[A saved local-mode MCP request ($kind\: mcp-request)\: a .request.yaml path, or the id of an MCP request in postman/collections/]:path|id:_files -g "*.json"' \
3730
+ '--url[The MCP server URL]:url' \
3731
+ '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3732
+ '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3733
+ '--json[Print the result as JSON]' \
3734
+ '(-h --help)'{-h,--help}'[display help for command]'
3735
+ }
3736
+
3737
+ _postman_mcp_credentials() {
3738
+ _arguments \
3739
+ '--json[Print the sign-ins as JSON]' \
3740
+ '(-h --help)'{-h,--help}'[display help for command]'
3741
+ }
3742
+
3677
3743
  _postman_performance() {
3678
3744
  local context state state_descr line
3679
3745
  typeset -A opt_args
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postman-cli-completion",
3
- "version": "1.88.0",
3
+ "version": "1.90.0",
4
4
  "description": "Shell completions for the Postman CLI (zsh, bash, fish)",
5
5
  "type": "module",
6
6
  "bin": {