postman-cli 1.93.1 → 1.95.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.
- package/man/postman.1 +253 -26
- package/package.json +6 -6
package/man/postman.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH POSTMAN 1 "2026-11-
|
|
1
|
+
.TH POSTMAN 1 "2026-11-27" "v1.95.0" "Postman CLI Manual"
|
|
2
2
|
.SH NAME
|
|
3
3
|
postman \- Command\-line companion utility for Postman
|
|
4
4
|
.SH SYNOPSIS
|
|
@@ -3696,10 +3696,10 @@ Workspace name (defaults to owner/repo from the git remote)
|
|
|
3696
3696
|
Optional workspace summary
|
|
3697
3697
|
.TP
|
|
3698
3698
|
.B \-\-team\-id <id>
|
|
3699
|
-
|
|
3699
|
+
Team inside your organisation to create the workspace in. If your organisation has teams inside it, required unless the workspace is personal or you can create in only one team; if it has none, leave it out. Find ids with `postman team list \-\-can\-create\-workspace`.
|
|
3700
3700
|
.TP
|
|
3701
3701
|
.B \-\-team\-role <level>
|
|
3702
|
-
What a team or public workspace grants: view or edit. Applies to the team named by \-\-team\-id, or to your whole organisation when none is named. Defaults to
|
|
3702
|
+
What a team or public workspace grants: view or edit. Applies to the team named by \-\-team\-id, or to your whole organisation when none is named. Defaults to edit, so teammates can push to the bound repository.
|
|
3703
3703
|
.TP
|
|
3704
3704
|
.B \-\-path <dir>
|
|
3705
3705
|
Directory to bind (defaults to the current directory)
|
|
@@ -4116,9 +4116,9 @@ Load segments:
|
|
|
4116
4116
|
ramp\-up — 2 segments
|
|
4117
4117
|
|
|
4118
4118
|
peak ┤ _________ at peak __________
|
|
4119
|
-
│ ramp\-up _____
|
|
4120
|
-
│ ______
|
|
4121
|
-
base ┤__ warm\-up ___
|
|
4119
|
+
│ ramp\-up _____╱
|
|
4120
|
+
│ ______╱
|
|
4121
|
+
base ┤__ warm\-up ___╱
|
|
4122
4122
|
└┬─────────────┬─────────────┬───────────────────────────┤ \-\-duration
|
|
4123
4123
|
1 2 (3)
|
|
4124
4124
|
|
|
@@ -4130,10 +4130,10 @@ Load segments:
|
|
|
4130
4130
|
|
|
4131
4131
|
spike — 3 segments · no time at the peak; use \-\-load\-profile peak to hold
|
|
4132
4132
|
|
|
4133
|
-
peak ┤
|
|
4134
|
-
│ ramp\-up _
|
|
4135
|
-
│ _
|
|
4136
|
-
base ┤______ warm\-up _______
|
|
4133
|
+
peak ┤ ╱╲
|
|
4134
|
+
│ ramp\-up _╱ ╲_ ramp\-down
|
|
4135
|
+
│ _╱ ╲_
|
|
4136
|
+
base ┤______ warm\-up _______╱ ╲______ at base _______
|
|
4137
4137
|
└┬─────────────────────┬─────┬─────┬─────────────────────┤ \-\-duration
|
|
4138
4138
|
1 2 3 (4)
|
|
4139
4139
|
|
|
@@ -4146,9 +4146,9 @@ Load segments:
|
|
|
4146
4146
|
peak — 4 segments
|
|
4147
4147
|
|
|
4148
4148
|
peak ┤ __ hold ___
|
|
4149
|
-
│ ramp\-up ____
|
|
4150
|
-
│ ____
|
|
4151
|
-
base ┤_ warm\-up _
|
|
4149
|
+
│ ramp\-up ____╱ ╲____ ramp\-down
|
|
4150
|
+
│ ____╱ ╲____
|
|
4151
|
+
base ┤_ warm\-up _╱ ╲_ at base __
|
|
4152
4152
|
└┬──────────┬──────────┬──────────┬──────────┬───────────┤ \-\-duration
|
|
4153
4153
|
1 2 3 4 (5)
|
|
4154
4154
|
|
|
@@ -5246,7 +5246,7 @@ Exit Codes:
|
|
|
5246
5246
|
0: The call ended with status OK and every test passed
|
|
5247
5247
|
1: The call failed, ended with a non\-OK status, or a test failed
|
|
5248
5248
|
2: Usage error, including a method the schema does not define
|
|
5249
|
-
3:
|
|
5249
|
+
3: A Postman login or temporary session is required
|
|
5250
5250
|
8: Your plan does not include gRPC requests
|
|
5251
5251
|
|
|
5252
5252
|
|
|
@@ -7902,12 +7902,16 @@ Postman workspace ID (falls back to .postman/resources.yaml or .postman/config.j
|
|
|
7902
7902
|
.TP
|
|
7903
7903
|
.B \-\-api\-key <key>
|
|
7904
7904
|
Postman API key
|
|
7905
|
+
.TP
|
|
7906
|
+
.B \-\-hidden
|
|
7907
|
+
List only the hidden webhooks Postman features create for their own use, such as the MCP Events receivers, which are otherwise left out
|
|
7905
7908
|
|
|
7906
7909
|
.TP Examples:
|
|
7907
7910
|
|
|
7908
7911
|
Examples:
|
|
7909
7912
|
postman webhook list
|
|
7910
7913
|
postman webhook list \-\-workspace 00000000\-0000\-0000\-0000\-000000000000
|
|
7914
|
+
postman webhook list \-\-hidden
|
|
7911
7915
|
|
|
7912
7916
|
|
|
7913
7917
|
|
|
@@ -8631,20 +8635,26 @@ WARNING: disable SSH host\-key verification; use only for trusted local testing
|
|
|
8631
8635
|
.B \-\-schema <schema>
|
|
8632
8636
|
DB schema (postgresql/sqlserver; defaults to dbo for sqlserver)
|
|
8633
8637
|
.TP
|
|
8634
|
-
.B \-\-
|
|
8635
|
-
|
|
8638
|
+
.B \-\-ssl\-mode <disable|prefer|require|verify\-ca|verify\-full>
|
|
8639
|
+
PostgreSQL sslmode (default: prefer)
|
|
8640
|
+
.TP
|
|
8641
|
+
.B \-\-tls <false|preferred|true|skip\-verify>
|
|
8642
|
+
MySQL TLS mode (default: the driver's)
|
|
8643
|
+
.TP
|
|
8644
|
+
.B \-\-encrypt <strict|true|false|disable>
|
|
8645
|
+
SQL Server encryption (default: the driver's)
|
|
8636
8646
|
.TP
|
|
8637
8647
|
.B \-\-trust\-server\-certificate <true|false>
|
|
8638
|
-
SQL Server: skip certificate verification (
|
|
8648
|
+
SQL Server: skip certificate verification (true is insecure)
|
|
8639
8649
|
.TP
|
|
8640
8650
|
.B \-\-tls\-certificate <path>
|
|
8641
|
-
SQL Server
|
|
8651
|
+
SQL Server certificate file. Not supported yet, so it is ignored with a warning
|
|
8642
8652
|
.TP
|
|
8643
8653
|
.B \-\-host\-name\-in\-certificate <hostname>
|
|
8644
8654
|
SQL Server certificate hostname override
|
|
8645
8655
|
.TP
|
|
8646
8656
|
.B \-\-tls\-min\-version <1.2|1.3>
|
|
8647
|
-
SQL Server minimum TLS version
|
|
8657
|
+
SQL Server minimum TLS version
|
|
8648
8658
|
.TP
|
|
8649
8659
|
.B \-\-api\-key <key>
|
|
8650
8660
|
Postman API key (defaults to the `postman login` session)
|
|
@@ -8680,6 +8690,18 @@ Database credentials from the Shared Vault:
|
|
|
8680
8690
|
still needs credentials. `collection run` reads POSTMAN_API_KEY; other dataset
|
|
8681
8691
|
commands need `postman login \-\-with\-api\-key "$POSTMAN_API_KEY"` or \-\-api\-key.
|
|
8682
8692
|
|
|
8693
|
+
TLS:
|
|
8694
|
+
Settings are stored in location.config.connection_properties.
|
|
8695
|
+
postman dataset source add \-d ./orders.dataset.yaml \-n orders \-\-type postgresql \e
|
|
8696
|
+
\-\-host db.internal \-\-port 5432 \-\-database shop \-\-table orders \e
|
|
8697
|
+
\-\-user vault:PG_USER \-\-password vault:PG_PASSWORD \-\-ssl\-mode verify\-full
|
|
8698
|
+
postman dataset source add \-d ./orders.dataset.yaml \-n invoices \-\-type sqlserver \e
|
|
8699
|
+
\-\-host sql.internal \-\-database billing \-\-table invoices \e
|
|
8700
|
+
\-\-user vault:MSSQL_USER \-\-password vault:MSSQL_PASSWORD \e
|
|
8701
|
+
\-\-encrypt strict \-\-tls\-min\-version 1.3
|
|
8702
|
+
A postgresql source gets sslmode=prefer unless \-\-ssl\-mode is given; mysql and
|
|
8703
|
+
sqlserver sources use the driver defaults unless \-\-tls / \-\-encrypt etc. are given.
|
|
8704
|
+
|
|
8683
8705
|
JDBC:
|
|
8684
8706
|
Start with `postman dataset jdbc inspect <jar>`. Its output maps onto these
|
|
8685
8707
|
flags directly: suggestedUrlTemplate \-> \-\-url\-template, templateVariables \->
|
|
@@ -8897,14 +8919,20 @@ WARNING: disable SSH host\-key verification; use only for trusted local testing
|
|
|
8897
8919
|
.B \-\-schema <schema>
|
|
8898
8920
|
Update DB schema (postgresql/sqlserver)
|
|
8899
8921
|
.TP
|
|
8900
|
-
.B \-\-
|
|
8901
|
-
Update
|
|
8922
|
+
.B \-\-ssl\-mode <disable|prefer|require|verify\-ca|verify\-full>
|
|
8923
|
+
Update PostgreSQL sslmode
|
|
8924
|
+
.TP
|
|
8925
|
+
.B \-\-tls <false|preferred|true|skip\-verify>
|
|
8926
|
+
Update MySQL TLS mode
|
|
8927
|
+
.TP
|
|
8928
|
+
.B \-\-encrypt <strict|true|false|disable>
|
|
8929
|
+
Update SQL Server encryption
|
|
8902
8930
|
.TP
|
|
8903
8931
|
.B \-\-trust\-server\-certificate <true|false>
|
|
8904
8932
|
Update SQL Server certificate verification (true is insecure)
|
|
8905
8933
|
.TP
|
|
8906
8934
|
.B \-\-tls\-certificate <path>
|
|
8907
|
-
|
|
8935
|
+
SQL Server certificate file. Not supported yet, so it is ignored with a warning
|
|
8908
8936
|
.TP
|
|
8909
8937
|
.B \-\-host\-name\-in\-certificate <hostname>
|
|
8910
8938
|
Update SQL Server certificate hostname override
|
|
@@ -8931,6 +8959,15 @@ Examples:
|
|
|
8931
8959
|
postman dataset source update orders\-db \-d ./orders.dataset.yaml \e
|
|
8932
8960
|
\-\-password vault:PG_PASSWORD \-w <workspaceId>
|
|
8933
8961
|
|
|
8962
|
+
Require verified TLS on a PostgreSQL source:
|
|
8963
|
+
postman dataset source update orders\-db \-d ./orders.dataset.yaml \-\-ssl\-mode verify\-full
|
|
8964
|
+
|
|
8965
|
+
TLS:
|
|
8966
|
+
TLS flags merge into location.config.connection_properties; other keys there are
|
|
8967
|
+
kept. A SQL Server source may have a `tls` block from an older CLI, which the
|
|
8968
|
+
engine never applied. It is left alone unless you pass SQL Server TLS flags,
|
|
8969
|
+
which replace it (warning LEGACY_TLS_REMOVED); its values are not carried over.
|
|
8970
|
+
|
|
8934
8971
|
JDBC:
|
|
8935
8972
|
Rotate one credential, leaving everything else alone:
|
|
8936
8973
|
postman dataset source update orders \-d ./orders.dataset.yaml \e
|
|
@@ -9590,7 +9627,7 @@ Examples:
|
|
|
9590
9627
|
|
|
9591
9628
|
|
|
9592
9629
|
.SS "mcp"
|
|
9593
|
-
Explore MCP servers: inspect them, list and call tools, read resources, get prompts, and sign in to servers that use OAuth
|
|
9630
|
+
Explore MCP servers: inspect them, list and call tools, read resources, get prompts, subscribe to events, and sign in to servers that use OAuth
|
|
9594
9631
|
|
|
9595
9632
|
.B Usage:
|
|
9596
9633
|
[options] [command]
|
|
@@ -9628,7 +9665,7 @@ logout \-\-all without a terminal or \-\-yes).
|
|
|
9628
9665
|
.B Subcommands:
|
|
9629
9666
|
.TP
|
|
9630
9667
|
.B mcp inspect
|
|
9631
|
-
Show what an MCP server reports at initialize: capabilities and counts of tools, resources, resource templates and
|
|
9668
|
+
Show what an MCP server reports at initialize: capabilities and counts of tools, resources, resource templates, prompts and event types (initialize, then every */list)
|
|
9632
9669
|
.TP
|
|
9633
9670
|
.B mcp tools
|
|
9634
9671
|
List and call the tools an MCP server offers
|
|
@@ -9639,6 +9676,9 @@ List and read the resources an MCP server offers
|
|
|
9639
9676
|
.B mcp prompts
|
|
9640
9677
|
List and get the prompts an MCP server offers
|
|
9641
9678
|
.TP
|
|
9679
|
+
.B mcp events
|
|
9680
|
+
List and subscribe to the events an MCP server offers (MCP Events extension, 2026\-07\-28)
|
|
9681
|
+
.TP
|
|
9642
9682
|
.B mcp login
|
|
9643
9683
|
Sign in to an MCP server that uses OAuth, in a browser, and store the token every postman mcp command then sends to it
|
|
9644
9684
|
.TP
|
|
@@ -9649,7 +9689,7 @@ Remove the credentials postman mcp login stored for an MCP server, and revoke th
|
|
|
9649
9689
|
List the sign\-ins postman mcp login stored: server, issuer, client, scopes, expiry and whether they refresh. Never shows a token or secret
|
|
9650
9690
|
|
|
9651
9691
|
.SS "mcp inspect"
|
|
9652
|
-
Show what an MCP server reports at initialize: capabilities and counts of tools, resources, resource templates and
|
|
9692
|
+
Show what an MCP server reports at initialize: capabilities and counts of tools, resources, resource templates, prompts and event types (initialize, then every */list)
|
|
9653
9693
|
|
|
9654
9694
|
.B Usage:
|
|
9655
9695
|
[options]
|
|
@@ -10188,6 +10228,185 @@ When an HTTP server needs an OAuth sign\-in, sign in without asking (opens a bro
|
|
|
10188
10228
|
.B \-\-no\-login
|
|
10189
10229
|
Never ask to sign in; exit 3 when an HTTP server needs one
|
|
10190
10230
|
|
|
10231
|
+
.SS "mcp events"
|
|
10232
|
+
List and subscribe to the events an MCP server offers (MCP Events extension, 2026\-07\-28)
|
|
10233
|
+
|
|
10234
|
+
.B Usage:
|
|
10235
|
+
[options] [command]
|
|
10236
|
+
|
|
10237
|
+
.B Subcommands:
|
|
10238
|
+
.TP
|
|
10239
|
+
.B mcp events list
|
|
10240
|
+
List the event types an MCP server offers (events/list)
|
|
10241
|
+
.TP
|
|
10242
|
+
.B mcp events subscribe
|
|
10243
|
+
Subscribe to one event type and print its events as they arrive (events/poll, events/stream or events/subscribe)
|
|
10244
|
+
|
|
10245
|
+
.SS "mcp events list"
|
|
10246
|
+
List the event types an MCP server offers (events/list)
|
|
10247
|
+
|
|
10248
|
+
.B Usage:
|
|
10249
|
+
[options]
|
|
10250
|
+
|
|
10251
|
+
.B Options:
|
|
10252
|
+
.TP
|
|
10253
|
+
.B \-\-json
|
|
10254
|
+
Print { events } as JSON
|
|
10255
|
+
.TP
|
|
10256
|
+
.B \-\-debug
|
|
10257
|
+
Print each @postman/runtime event, and the MCP client's debug messages, to stderr
|
|
10258
|
+
.TP
|
|
10259
|
+
.B \-\-request <path|id>
|
|
10260
|
+
Reuse a saved local\-mode MCP request ($kind: mcp\-request): a .request.yaml path, or the id of an MCP request in postman/collections/
|
|
10261
|
+
.TP
|
|
10262
|
+
.B \-\-url <url>
|
|
10263
|
+
Connect to a remote MCP server over HTTP (streamable HTTP, falling back to legacy SSE)
|
|
10264
|
+
.TP
|
|
10265
|
+
.B \-H, \-\-header <key:value>
|
|
10266
|
+
Add an HTTP header in key:value format. Repeatable. (default: )
|
|
10267
|
+
.TP
|
|
10268
|
+
.B \-\-transport <transport>
|
|
10269
|
+
Check the transport the target uses
|
|
10270
|
+
.TP
|
|
10271
|
+
.B \-\-command <command>
|
|
10272
|
+
Start a local MCP server and talk to it over stdio. Needs \-\-allow\-stdio. Or pass the command and its arguments after \-\-
|
|
10273
|
+
.TP
|
|
10274
|
+
.B \-\-command\-env <key=value>
|
|
10275
|
+
Set an environment variable for the \-\-command server. Repeatable. (default: )
|
|
10276
|
+
.TP
|
|
10277
|
+
.B \-\-allow\-stdio
|
|
10278
|
+
Allow starting a local process for a stdio server
|
|
10279
|
+
.TP
|
|
10280
|
+
.B \-k, \-\-insecure
|
|
10281
|
+
Disable TLS certificate verification for HTTP servers
|
|
10282
|
+
.TP
|
|
10283
|
+
.B \-\-timeout\-request <ms>
|
|
10284
|
+
Time limit for each MCP operation in ms (default: 60000, 0 for none)
|
|
10285
|
+
.TP
|
|
10286
|
+
.B \-\-protocol\-version <version>
|
|
10287
|
+
Protocol version negotiation (default: auto)
|
|
10288
|
+
.TP
|
|
10289
|
+
.B \-e, \-\-environment <path>
|
|
10290
|
+
Resolve {{variables}} from a local environment file
|
|
10291
|
+
.TP
|
|
10292
|
+
.B \-\-env\-var <key=value>
|
|
10293
|
+
Set an environment variable for {{variable}} resolution. Repeatable. (default: )
|
|
10294
|
+
.TP
|
|
10295
|
+
.B \-\-login
|
|
10296
|
+
When an HTTP server needs an OAuth sign\-in, sign in without asking (opens a browser)
|
|
10297
|
+
.TP
|
|
10298
|
+
.B \-\-no\-login
|
|
10299
|
+
Never ask to sign in; exit 3 when an HTTP server needs one
|
|
10300
|
+
|
|
10301
|
+
.SS "mcp events subscribe"
|
|
10302
|
+
Subscribe to one event type and print its events as they arrive (events/poll, events/stream or events/subscribe)
|
|
10303
|
+
|
|
10304
|
+
.B Usage:
|
|
10305
|
+
[options] <event>
|
|
10306
|
+
|
|
10307
|
+
.B Options:
|
|
10308
|
+
.TP
|
|
10309
|
+
.B \-\-args <json|@file|\->
|
|
10310
|
+
Subscription arguments as a JSON object, @path to a JSON file, or \- for stdin
|
|
10311
|
+
.TP
|
|
10312
|
+
.B \-\-arg <key=value>
|
|
10313
|
+
One subscription argument, typed by the event type's inputSchema. Repeatable; a repeated key keeps the last value. Not with \-\-args (default: )
|
|
10314
|
+
.TP
|
|
10315
|
+
.B \-\-delivery <mode>
|
|
10316
|
+
Delivery mode; must be one the event type offers. Webhook delivery goes through Postman's webhook receiver unless \-\-webhook\-url is given (default: webhook with \-\-webhook\-url, else push, else poll, else webhook)
|
|
10317
|
+
.TP
|
|
10318
|
+
.B \-\-cursor <cursor>
|
|
10319
|
+
Resume after this cursor, e.g. the cursor a previous summary printed (default: from now)
|
|
10320
|
+
.TP
|
|
10321
|
+
.B \-\-max\-age <ms>
|
|
10322
|
+
Skip replaying events older than this many ms
|
|
10323
|
+
.TP
|
|
10324
|
+
.B \-\-max\-events <n>
|
|
10325
|
+
Poll delivery: the most events each poll returns; picks poll when \-\-delivery is not given
|
|
10326
|
+
.TP
|
|
10327
|
+
.B \-\-limit <n>
|
|
10328
|
+
Stop after this many events
|
|
10329
|
+
.TP
|
|
10330
|
+
.B \-\-timeout <ms>
|
|
10331
|
+
Stop listening after this many ms; with \-\-limit, fewer events exits 1
|
|
10332
|
+
.TP
|
|
10333
|
+
.B \-\-webhook\-url <url>
|
|
10334
|
+
Receive webhooks through your own public URL, such as a tunnel, that forwards to the local webhook receiver, instead of through Postman's. The server delivers to a path under it
|
|
10335
|
+
.TP
|
|
10336
|
+
.B \-\-webhook\-port <port>
|
|
10337
|
+
With \-\-webhook\-url: the local port the webhook receiver listens on, so your tunnel can target it (default: a free port)
|
|
10338
|
+
.TP
|
|
10339
|
+
.B \-\-webhook\-ttl <ms>
|
|
10340
|
+
Webhook delivery: suggested subscription lifetime in ms; the runtime refreshes it before it expires
|
|
10341
|
+
.TP
|
|
10342
|
+
.B \-\-api\-key <key>
|
|
10343
|
+
Webhook delivery through Postman's receiver: Postman API key (default: your postman login session)
|
|
10344
|
+
.TP
|
|
10345
|
+
.B \-\-json
|
|
10346
|
+
Print one JSON object per line as events arrive, ending with a summary
|
|
10347
|
+
.TP
|
|
10348
|
+
.B \-\-debug
|
|
10349
|
+
Print each @postman/runtime event, and the MCP client's debug messages, to stderr
|
|
10350
|
+
.TP
|
|
10351
|
+
.B \-\-request <path|id>
|
|
10352
|
+
Reuse a saved local\-mode MCP request ($kind: mcp\-request): a .request.yaml path, or the id of an MCP request in postman/collections/
|
|
10353
|
+
.TP
|
|
10354
|
+
.B \-\-url <url>
|
|
10355
|
+
Connect to a remote MCP server over HTTP (streamable HTTP, falling back to legacy SSE)
|
|
10356
|
+
.TP
|
|
10357
|
+
.B \-H, \-\-header <key:value>
|
|
10358
|
+
Add an HTTP header in key:value format. Repeatable. (default: )
|
|
10359
|
+
.TP
|
|
10360
|
+
.B \-\-transport <transport>
|
|
10361
|
+
Check the transport the target uses
|
|
10362
|
+
.TP
|
|
10363
|
+
.B \-\-command <command>
|
|
10364
|
+
Start a local MCP server and talk to it over stdio. Needs \-\-allow\-stdio. Or pass the command and its arguments after \-\-
|
|
10365
|
+
.TP
|
|
10366
|
+
.B \-\-command\-env <key=value>
|
|
10367
|
+
Set an environment variable for the \-\-command server. Repeatable. (default: )
|
|
10368
|
+
.TP
|
|
10369
|
+
.B \-\-allow\-stdio
|
|
10370
|
+
Allow starting a local process for a stdio server
|
|
10371
|
+
.TP
|
|
10372
|
+
.B \-k, \-\-insecure
|
|
10373
|
+
Disable TLS certificate verification for HTTP servers
|
|
10374
|
+
.TP
|
|
10375
|
+
.B \-\-timeout\-request <ms>
|
|
10376
|
+
Time limit for each MCP operation in ms (default: 60000, 0 for none)
|
|
10377
|
+
.TP
|
|
10378
|
+
.B \-\-protocol\-version <version>
|
|
10379
|
+
Protocol version negotiation (default: auto)
|
|
10380
|
+
.TP
|
|
10381
|
+
.B \-e, \-\-environment <path>
|
|
10382
|
+
Resolve {{variables}} from a local environment file
|
|
10383
|
+
.TP
|
|
10384
|
+
.B \-\-env\-var <key=value>
|
|
10385
|
+
Set an environment variable for {{variable}} resolution. Repeatable. (default: )
|
|
10386
|
+
.TP
|
|
10387
|
+
.B \-\-login
|
|
10388
|
+
When an HTTP server needs an OAuth sign\-in, sign in without asking (opens a browser)
|
|
10389
|
+
.TP
|
|
10390
|
+
.B \-\-no\-login
|
|
10391
|
+
Never ask to sign in; exit 3 when an HTTP server needs one
|
|
10392
|
+
|
|
10393
|
+
.TP Examples:
|
|
10394
|
+
|
|
10395
|
+
Needs a server that declares the MCP Events extension on protocol 2026\-07\-28. The subscription
|
|
10396
|
+
arguments are checked against the event type's inputSchema first; a failed check exits 2.
|
|
10397
|
+
|
|
10398
|
+
Listening stops at \-\-limit events, after \-\-timeout ms, on Ctrl\-C, or when the server ends the
|
|
10399
|
+
subscription; the command then unsubscribes and prints a summary with the last cursor it saw.
|
|
10400
|
+
Exit codes: 0 when it stopped at \-\-limit, on Ctrl\-C, or at \-\-timeout without \-\-limit; 1 when
|
|
10401
|
+
\-\-timeout came before \-\-limit, or the subscription ended or failed.
|
|
10402
|
+
|
|
10403
|
+
Examples:
|
|
10404
|
+
$ postman mcp events subscribe comment.created \-\-arg document_id=doc\-1 \-\-url http://localhost:3000/mcp
|
|
10405
|
+
$ postman mcp events subscribe build.finished \-\-limit 1 \-\-timeout 600000 \-\-url $MCP_URL \-\-json
|
|
10406
|
+
$ postman mcp events subscribe comment.created \-\-delivery webhook \-\-url $MCP_URL
|
|
10407
|
+
$ postman mcp events subscribe comment.created \-\-delivery webhook \-\-webhook\-url https://my.tunnel.dev \-\-webhook\-port 8599 \-\-url $MCP_URL
|
|
10408
|
+
|
|
10409
|
+
|
|
10191
10410
|
.SS "mcp login"
|
|
10192
10411
|
Sign in to an MCP server that uses OAuth, in a browser, and store the token every postman mcp command then sends to it
|
|
10193
10412
|
|
|
@@ -10377,6 +10596,9 @@ Scan only this GitHub organization (repeatable, or comma\-separated)
|
|
|
10377
10596
|
.B \-\-branch <branch>
|
|
10378
10597
|
Scan this branch instead of each repository's default branch
|
|
10379
10598
|
.TP
|
|
10599
|
+
.B \-\-team\-id <id>
|
|
10600
|
+
Team inside your organization where new workspaces are created (see `postman team list \-\-can\-create\-workspace`)
|
|
10601
|
+
.TP
|
|
10380
10602
|
.B \-\-dry\-run
|
|
10381
10603
|
With \-\-wait, show the plan and stop without writing anything
|
|
10382
10604
|
.TP
|
|
@@ -10405,6 +10627,7 @@ itself when the scan finishes.
|
|
|
10405
10627
|
Exit codes:
|
|
10406
10628
|
0 accepted, applied, nothing to apply, or answered no
|
|
10407
10629
|
1 the request, the plan or the apply failed
|
|
10630
|
+
2 invalid option value
|
|
10408
10631
|
3 not signed in, or the credential was rejected
|
|
10409
10632
|
4 partial: some services failed (with \-\-wait)
|
|
10410
10633
|
5 the prompt was cancelled
|
|
@@ -10413,7 +10636,7 @@ Exit codes:
|
|
|
10413
10636
|
Examples:
|
|
10414
10637
|
postman api\-catalog\-setup start
|
|
10415
10638
|
postman api\-catalog\-setup start \-\-org acme
|
|
10416
|
-
postman api\-catalog\-setup start acme/billing\-api acme/orders\-api \-\-yes
|
|
10639
|
+
postman api\-catalog\-setup start acme/billing\-api acme/orders\-api \-\-yes \-\-team\-id 451
|
|
10417
10640
|
postman api\-catalog\-setup start \-\-org acme \-\-wait \-\-dry\-run
|
|
10418
10641
|
|
|
10419
10642
|
|
|
@@ -10454,6 +10677,9 @@ Apply without asking for confirmation
|
|
|
10454
10677
|
.B \-\-wait
|
|
10455
10678
|
Wait for the scan if it is still running, and follow the apply to the end
|
|
10456
10679
|
.TP
|
|
10680
|
+
.B \-\-team\-id <id>
|
|
10681
|
+
Team inside your organization where new workspaces are created (see `postman team list \-\-can\-create\-workspace`)
|
|
10682
|
+
.TP
|
|
10457
10683
|
.B \-\-api\-key <key>
|
|
10458
10684
|
Postman API key (falls back to POSTMAN_API_KEY, then a `postman login` session)
|
|
10459
10685
|
.TP
|
|
@@ -10465,6 +10691,7 @@ Print the plan and the apply as JSON
|
|
|
10465
10691
|
Exit codes:
|
|
10466
10692
|
0 accepted, applied, nothing to apply, or answered no
|
|
10467
10693
|
1 the request, the plan or the apply failed
|
|
10694
|
+
2 invalid option value
|
|
10468
10695
|
3 not signed in, or the credential was rejected
|
|
10469
10696
|
4 partial: some services failed (with \-\-wait)
|
|
10470
10697
|
5 the prompt was cancelled
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "postman-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.95.0",
|
|
4
4
|
"description": "Official Postman CLI - Command-line companion for API development, testing, and automation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"postman",
|
|
@@ -57,10 +57,10 @@
|
|
|
57
57
|
"scripts/"
|
|
58
58
|
],
|
|
59
59
|
"optionalDependencies": {
|
|
60
|
-
"@postman/pm-bin-macos-arm64": "1.
|
|
61
|
-
"@postman/pm-bin-macos-x64": "1.
|
|
62
|
-
"@postman/pm-bin-linux-x64": "1.
|
|
63
|
-
"@postman/pm-bin-linux-arm64": "1.
|
|
64
|
-
"@postman/pm-bin-windows-x64": "1.
|
|
60
|
+
"@postman/pm-bin-macos-arm64": "1.95.0",
|
|
61
|
+
"@postman/pm-bin-macos-x64": "1.95.0",
|
|
62
|
+
"@postman/pm-bin-linux-x64": "1.95.0",
|
|
63
|
+
"@postman/pm-bin-linux-arm64": "1.95.0",
|
|
64
|
+
"@postman/pm-bin-windows-x64": "1.95.0"
|
|
65
65
|
}
|
|
66
66
|
}
|