postman-cli 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.
- package/man/postman.1 +261 -9
- 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-13" "v1.90.0" "Postman CLI Manual"
|
|
2
2
|
.SH NAME
|
|
3
3
|
postman \- Command\-line companion utility for Postman
|
|
4
4
|
.SH SYNOPSIS
|
|
@@ -353,7 +353,7 @@ Add, get, update, or remove folders in a local v3 collection.
|
|
|
353
353
|
Add, update, remove, get, or list examples (saved responses) under a request.
|
|
354
354
|
.TP
|
|
355
355
|
.B collection import
|
|
356
|
-
Import a cURL, HAR,
|
|
356
|
+
Import a cURL, HAR, JMeter (.jmx), or ReadyAPI/SoapUI (.xml) source into a v3 collection (local, or cloud with \-\-workspace).
|
|
357
357
|
.TP
|
|
358
358
|
.B collection list
|
|
359
359
|
List collections: your local project's collections by default, or a Postman cloud workspace's collections with \-\-workspace.
|
|
@@ -423,6 +423,12 @@ Exit with failure if diagnostics at this level or above are present. [choices: "
|
|
|
423
423
|
.TP
|
|
424
424
|
.B \-r, \-\-reporter <value>
|
|
425
425
|
Output format: cli (human\-readable) or json. (default: cli)
|
|
426
|
+
.TP
|
|
427
|
+
.B \-\-readyapi
|
|
428
|
+
Lint a ReadyAPI\-imported collection: every script parses as JavaScript, uses only real pm.* APIs, and has no unresolved Groovy placeholder.
|
|
429
|
+
.TP
|
|
430
|
+
.B \-\-allow\-pending
|
|
431
|
+
With \-\-readyapi, treat un\-translated Groovy placeholders as warnings, not errors.
|
|
426
432
|
|
|
427
433
|
.SS "collection ai\-readiness"
|
|
428
434
|
Score a Postman collection for AI readiness by ID, local file path, or local\-mode directory.
|
|
@@ -1241,7 +1247,7 @@ Example type for cloud mode: http. (default: http)
|
|
|
1241
1247
|
JSON output.
|
|
1242
1248
|
|
|
1243
1249
|
.SS "collection import"
|
|
1244
|
-
Import a cURL, HAR,
|
|
1250
|
+
Import a cURL, HAR, JMeter (.jmx), or ReadyAPI/SoapUI (.xml) source into a v3 collection (local, or cloud with \-\-workspace).
|
|
1245
1251
|
|
|
1246
1252
|
.B Usage:
|
|
1247
1253
|
[options] <src>
|
|
@@ -1249,7 +1255,7 @@ Import a cURL, HAR, or JMeter (.jmx) source into a v3 collection (local, or clou
|
|
|
1249
1255
|
.B Options:
|
|
1250
1256
|
.TP
|
|
1251
1257
|
.B \-\-type <format>
|
|
1252
|
-
Source format: curl, har, or
|
|
1258
|
+
Source format: curl, har, jmeter, or readyapi. Auto\-detected from the extension/content when omitted.
|
|
1253
1259
|
.TP
|
|
1254
1260
|
.B \-\-name <name>
|
|
1255
1261
|
Collection display name. Defaults to a per\-format fallback.
|
|
@@ -1280,6 +1286,7 @@ Examples:
|
|
|
1280
1286
|
postman collection import ./login.curl
|
|
1281
1287
|
postman collection import ./session.har \-\-name "Recorded session"
|
|
1282
1288
|
postman collection import ./load\-test.jmx \-\-name "Load test"
|
|
1289
|
+
postman collection import ./project.xml \-\-type readyapi \-\-name "Orders API"
|
|
1283
1290
|
pbpaste | postman collection import \- \-\-type curl \-\-name Users
|
|
1284
1291
|
postman collection import ./session.har \-\-name Session \-\-workspace <workspaceId>
|
|
1285
1292
|
|
|
@@ -1435,6 +1442,9 @@ Prevents reading the files situated outside of the working directory
|
|
|
1435
1442
|
.B \-k, \-\-insecure
|
|
1436
1443
|
Disables SSL validations
|
|
1437
1444
|
.TP
|
|
1445
|
+
.B \-\-allow\-stdio
|
|
1446
|
+
Allow MCP requests on the stdio transport to start their local server process
|
|
1447
|
+
.TP
|
|
1438
1448
|
.B \-\-ssl\-client\-cert\-list <path>
|
|
1439
1449
|
Specify the path to a client certificates configurations (JSON)
|
|
1440
1450
|
.TP
|
|
@@ -5641,6 +5651,16 @@ Eligible runs are recorded in the mock's start history (source: cli) so they app
|
|
|
5641
5651
|
In CI the pipeline/branch is captured automatically. Best\-effort and never blocks the server;
|
|
5642
5652
|
use \-\-no\-history to opt out.
|
|
5643
5653
|
|
|
5654
|
+
A mock whose config.yaml sets "interceptRequests: false" does not answer requests itself:
|
|
5655
|
+
each one is forwarded to the upstream its "origin" names, path and query intact, and the
|
|
5656
|
+
response relayed back. A bare hostname is forwarded over https; write the scheme for
|
|
5657
|
+
anything else (origin: http://localhost:8080). Absent or true, the mock answers as usual.
|
|
5658
|
+
|
|
5659
|
+
Request bodies are parsed into req.body up to 10 MB. A larger body is still served, with
|
|
5660
|
+
req.body left undefined so the handler reads it as a stream; nothing is rejected at any size.
|
|
5661
|
+
Raise the cap with "maxRequestBodySize: 200mb" in config.yaml (or "unlimited"), or override it
|
|
5662
|
+
with POSTMAN_CLI_MOCK_MAX_REQUEST_BODY.
|
|
5663
|
+
|
|
5644
5664
|
Paths can be relative (e.g. ./postman/mocks/orders) or absolute (e.g. /Users/me/postman/mocks/orders).
|
|
5645
5665
|
|
|
5646
5666
|
|
|
@@ -6280,6 +6300,8 @@ Eg. postman simulation run ./postman/simulations/checkout/checkout.sim.yaml \-\-
|
|
|
6280
6300
|
|
|
6281
6301
|
\-\-proxy reads the same .sim.yaml, starts the mocks on throwaway ports behind the proxy, and records no start history. The hostnames a member stands in for are its `origin:` in the .sim.yaml, as a string or a list, and a member with none is never matched, so its host reaches the real service. `simulation create` copies that value from the mock's own manifest, which is where it is declared — so adding an `origin:` to a manifest does not change a .sim.yaml that already exists. Edit the member, or recreate the simulation.
|
|
6282
6302
|
|
|
6303
|
+
A member whose mock sets `interceptRequests: false` in its config.yaml is not matched either: its hostnames stay unclaimed and undecrypted, so those requests reach the real upstream. On the one routed port the same member forwards to its `origin:` instead.
|
|
6304
|
+
|
|
6283
6305
|
Because the mocks sit on throwaway ports, a manifest's own `port` is ignored. A member that does not answer within 30s gives 504 and one that cannot be reached gives 502. Ctrl+C prints the total, mocked and passed\-through request counts.
|
|
6284
6306
|
|
|
6285
6307
|
Every \-\-proxy\-* flag, plus \-\-scenario, \-\-session, \-\-log\-format, \-\-log\-body, \-\-doctor and \-\-lift, is inert without \-\-proxy and passing one alone is a usage error (exit 2), as is an unsupported \-\-log\-format.
|
|
@@ -9286,7 +9308,7 @@ Examples:
|
|
|
9286
9308
|
|
|
9287
9309
|
|
|
9288
9310
|
.SS "mcp"
|
|
9289
|
-
Explore MCP servers: inspect them, list and call tools, read resources, and
|
|
9311
|
+
Explore MCP servers: inspect them, list and call tools, read resources, get prompts, and sign in to servers that use OAuth
|
|
9290
9312
|
|
|
9291
9313
|
.B Usage:
|
|
9292
9314
|
[options] [command]
|
|
@@ -9298,13 +9320,27 @@ Each command takes one target: \-\-request <path|id>, \-\-url <url>, or a local
|
|
|
9298
9320
|
$ postman mcp tools list \-\-allow\-stdio \-\- node server.js \-\-transport stdio
|
|
9299
9321
|
Every MCP operation has a 60000 ms time limit; change it with \-\-timeout\-request.
|
|
9300
9322
|
|
|
9301
|
-
|
|
9302
|
-
\-H "Authorization:
|
|
9303
|
-
|
|
9323
|
+
Which credentials a command sends to an HTTP server, first match wins:
|
|
9324
|
+
1. \-H "Authorization: ..."
|
|
9325
|
+
2. the saved request's own auth (\-\-request)
|
|
9326
|
+
3. auth the request inherits from its folder, then its collection
|
|
9327
|
+
4. the sign\-in `postman mcp login \-\-url <url>` stored (refreshed when it expires)
|
|
9328
|
+
5. none
|
|
9329
|
+
Levels 1\-3 are sent as given, never refreshed, and never lead to a sign\-in.
|
|
9330
|
+
|
|
9331
|
+
When a server that offers OAuth answers 401/403 and nothing was sent (or the stored sign\-in expired),
|
|
9332
|
+
a command in a terminal asks to sign in in your browser, then retries once. \-\-login signs in without
|
|
9333
|
+
asking (exit 8 where no browser can open); \-\-no\-login never asks. POSTMAN_MCP_LOGIN=prompt|always|never
|
|
9334
|
+
sets the default (prompt). List stored sign\-ins with `postman mcp credentials`; remove them with
|
|
9335
|
+
`postman mcp logout \-\-url <url>` or `\-\-all`.
|
|
9336
|
+
POSTMAN_MCP_CREDENTIALS_STORE=file|none sets where sign\-ins are kept: file (default,
|
|
9337
|
+
~/.postman/mcp\-credentials.json) or none (memory only; a sign\-in lasts one command, and stored
|
|
9338
|
+
sign\-ins are not read). Another value of either variable exits 2; a stdio target ignores both.
|
|
9304
9339
|
|
|
9305
9340
|
Exit codes: 0 ok, 1 failure (including a tool result with isError), 2 usage, 3 the server
|
|
9306
9341
|
rejected or requires credentials (HTTP 401/403), 4 inspect could not list everything, 5 cancelled,
|
|
9307
|
-
8 refused (stdio without \-\-allow\-stdio
|
|
9342
|
+
8 refused (stdio without \-\-allow\-stdio, login or \-\-login cannot open a browser here, or
|
|
9343
|
+
logout \-\-all without a terminal or \-\-yes).
|
|
9308
9344
|
|
|
9309
9345
|
|
|
9310
9346
|
.B Subcommands:
|
|
@@ -9320,6 +9356,15 @@ List and read the resources an MCP server offers
|
|
|
9320
9356
|
.TP
|
|
9321
9357
|
.B mcp prompts
|
|
9322
9358
|
List and get the prompts an MCP server offers
|
|
9359
|
+
.TP
|
|
9360
|
+
.B mcp login
|
|
9361
|
+
Sign in to an MCP server that uses OAuth, in a browser, and store the token every postman mcp command then sends to it
|
|
9362
|
+
.TP
|
|
9363
|
+
.B mcp logout
|
|
9364
|
+
Remove the credentials postman mcp login stored for an MCP server, and revoke them at its authorization server
|
|
9365
|
+
.TP
|
|
9366
|
+
.B mcp credentials
|
|
9367
|
+
List the sign\-ins postman mcp login stored: server, issuer, client, scopes, expiry and whether they refresh. Never shows a token or secret
|
|
9323
9368
|
|
|
9324
9369
|
.SS "mcp inspect"
|
|
9325
9370
|
Show what an MCP server reports at initialize: capabilities and counts of tools, resources, resource templates and prompts (initialize, then every */list)
|
|
@@ -9370,9 +9415,19 @@ Resolve {{variables}} from a local environment file
|
|
|
9370
9415
|
.TP
|
|
9371
9416
|
.B \-\-env\-var <key=value>
|
|
9372
9417
|
Set an environment variable for {{variable}} resolution. Repeatable. (default: )
|
|
9418
|
+
.TP
|
|
9419
|
+
.B \-\-login
|
|
9420
|
+
When an HTTP server needs an OAuth sign\-in, sign in without asking (opens a browser)
|
|
9421
|
+
.TP
|
|
9422
|
+
.B \-\-no\-login
|
|
9423
|
+
Never ask to sign in; exit 3 when an HTTP server needs one
|
|
9373
9424
|
|
|
9374
9425
|
.TP Examples:
|
|
9375
9426
|
|
|
9427
|
+
The Auth line (`auth` in \-\-json) names the credentials the session sent and where they came from:
|
|
9428
|
+
the Authorization header (\-H), saved auth on the request, a folder or the collection, your
|
|
9429
|
+
postman mcp login sign\-in, or none. It never shows their value.
|
|
9430
|
+
|
|
9376
9431
|
Examples:
|
|
9377
9432
|
$ postman mcp inspect \-\-url https://example.com/mcp \-H "Authorization: Bearer $TOKEN"
|
|
9378
9433
|
$ postman mcp inspect \-\-command "npx \-y @modelcontextprotocol/server\-everything" \-\-allow\-stdio \-\-json
|
|
@@ -9442,6 +9497,12 @@ Resolve {{variables}} from a local environment file
|
|
|
9442
9497
|
.TP
|
|
9443
9498
|
.B \-\-env\-var <key=value>
|
|
9444
9499
|
Set an environment variable for {{variable}} resolution. Repeatable. (default: )
|
|
9500
|
+
.TP
|
|
9501
|
+
.B \-\-login
|
|
9502
|
+
When an HTTP server needs an OAuth sign\-in, sign in without asking (opens a browser)
|
|
9503
|
+
.TP
|
|
9504
|
+
.B \-\-no\-login
|
|
9505
|
+
Never ask to sign in; exit 3 when an HTTP server needs one
|
|
9445
9506
|
|
|
9446
9507
|
.SS "mcp tools call"
|
|
9447
9508
|
Call one tool and print its result (tools/call)
|
|
@@ -9498,6 +9559,12 @@ Resolve {{variables}} from a local environment file
|
|
|
9498
9559
|
.TP
|
|
9499
9560
|
.B \-\-env\-var <key=value>
|
|
9500
9561
|
Set an environment variable for {{variable}} resolution. Repeatable. (default: )
|
|
9562
|
+
.TP
|
|
9563
|
+
.B \-\-login
|
|
9564
|
+
When an HTTP server needs an OAuth sign\-in, sign in without asking (opens a browser)
|
|
9565
|
+
.TP
|
|
9566
|
+
.B \-\-no\-login
|
|
9567
|
+
Never ask to sign in; exit 3 when an HTTP server needs one
|
|
9501
9568
|
|
|
9502
9569
|
.TP Examples:
|
|
9503
9570
|
|
|
@@ -9577,6 +9644,12 @@ Resolve {{variables}} from a local environment file
|
|
|
9577
9644
|
.TP
|
|
9578
9645
|
.B \-\-env\-var <key=value>
|
|
9579
9646
|
Set an environment variable for {{variable}} resolution. Repeatable. (default: )
|
|
9647
|
+
.TP
|
|
9648
|
+
.B \-\-login
|
|
9649
|
+
When an HTTP server needs an OAuth sign\-in, sign in without asking (opens a browser)
|
|
9650
|
+
.TP
|
|
9651
|
+
.B \-\-no\-login
|
|
9652
|
+
Never ask to sign in; exit 3 when an HTTP server needs one
|
|
9580
9653
|
|
|
9581
9654
|
.SS "mcp resources templates"
|
|
9582
9655
|
List the resource templates an MCP server offers
|
|
@@ -9638,6 +9711,12 @@ Resolve {{variables}} from a local environment file
|
|
|
9638
9711
|
.TP
|
|
9639
9712
|
.B \-\-env\-var <key=value>
|
|
9640
9713
|
Set an environment variable for {{variable}} resolution. Repeatable. (default: )
|
|
9714
|
+
.TP
|
|
9715
|
+
.B \-\-login
|
|
9716
|
+
When an HTTP server needs an OAuth sign\-in, sign in without asking (opens a browser)
|
|
9717
|
+
.TP
|
|
9718
|
+
.B \-\-no\-login
|
|
9719
|
+
Never ask to sign in; exit 3 when an HTTP server needs one
|
|
9641
9720
|
|
|
9642
9721
|
.SS "mcp resources read"
|
|
9643
9722
|
Read one resource and print its contents (resources/read)
|
|
@@ -9688,6 +9767,12 @@ Resolve {{variables}} from a local environment file
|
|
|
9688
9767
|
.TP
|
|
9689
9768
|
.B \-\-env\-var <key=value>
|
|
9690
9769
|
Set an environment variable for {{variable}} resolution. Repeatable. (default: )
|
|
9770
|
+
.TP
|
|
9771
|
+
.B \-\-login
|
|
9772
|
+
When an HTTP server needs an OAuth sign\-in, sign in without asking (opens a browser)
|
|
9773
|
+
.TP
|
|
9774
|
+
.B \-\-no\-login
|
|
9775
|
+
Never ask to sign in; exit 3 when an HTTP server needs one
|
|
9691
9776
|
|
|
9692
9777
|
.SS "mcp prompts"
|
|
9693
9778
|
List and get the prompts an MCP server offers
|
|
@@ -9752,6 +9837,12 @@ Resolve {{variables}} from a local environment file
|
|
|
9752
9837
|
.TP
|
|
9753
9838
|
.B \-\-env\-var <key=value>
|
|
9754
9839
|
Set an environment variable for {{variable}} resolution. Repeatable. (default: )
|
|
9840
|
+
.TP
|
|
9841
|
+
.B \-\-login
|
|
9842
|
+
When an HTTP server needs an OAuth sign\-in, sign in without asking (opens a browser)
|
|
9843
|
+
.TP
|
|
9844
|
+
.B \-\-no\-login
|
|
9845
|
+
Never ask to sign in; exit 3 when an HTTP server needs one
|
|
9755
9846
|
|
|
9756
9847
|
.SS "mcp prompts get"
|
|
9757
9848
|
Get one prompt with its arguments filled in (prompts/get)
|
|
@@ -9808,6 +9899,167 @@ Resolve {{variables}} from a local environment file
|
|
|
9808
9899
|
.TP
|
|
9809
9900
|
.B \-\-env\-var <key=value>
|
|
9810
9901
|
Set an environment variable for {{variable}} resolution. Repeatable. (default: )
|
|
9902
|
+
.TP
|
|
9903
|
+
.B \-\-login
|
|
9904
|
+
When an HTTP server needs an OAuth sign\-in, sign in without asking (opens a browser)
|
|
9905
|
+
.TP
|
|
9906
|
+
.B \-\-no\-login
|
|
9907
|
+
Never ask to sign in; exit 3 when an HTTP server needs one
|
|
9908
|
+
|
|
9909
|
+
.SS "mcp login"
|
|
9910
|
+
Sign in to an MCP server that uses OAuth, in a browser, and store the token every postman mcp command then sends to it
|
|
9911
|
+
|
|
9912
|
+
.B Usage:
|
|
9913
|
+
[options]
|
|
9914
|
+
|
|
9915
|
+
.B Options:
|
|
9916
|
+
.TP
|
|
9917
|
+
.B \-\-scope <scopes>
|
|
9918
|
+
Space\-separated scopes to request (default: what the server asks for)
|
|
9919
|
+
.TP
|
|
9920
|
+
.B \-\-client\-id <id>
|
|
9921
|
+
Use a client registered with the authorization server, instead of registering one dynamically
|
|
9922
|
+
.TP
|
|
9923
|
+
.B \-\-client\-secret <secret>
|
|
9924
|
+
The \-\-client\-id client's secret, if it has one
|
|
9925
|
+
.TP
|
|
9926
|
+
.B \-\-callback\-port <port>
|
|
9927
|
+
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
|
|
9928
|
+
.TP
|
|
9929
|
+
.B \-\-no\-browser
|
|
9930
|
+
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
|
|
9931
|
+
.TP
|
|
9932
|
+
.B \-H, \-\-header <key:value>
|
|
9933
|
+
Add an HTTP header to the sign\-in's first request to the server, in key:value format. Repeatable. (default: )
|
|
9934
|
+
.TP
|
|
9935
|
+
.B \-k, \-\-insecure
|
|
9936
|
+
Disable TLS certificate verification
|
|
9937
|
+
.TP
|
|
9938
|
+
.B \-\-timeout\-request <ms>
|
|
9939
|
+
Time limit for each request in ms (default: 60000, 0 for none)
|
|
9940
|
+
.TP
|
|
9941
|
+
.B \-\-debug
|
|
9942
|
+
Print each OAuth request's method, URL without its query, and status to stderr
|
|
9943
|
+
.TP
|
|
9944
|
+
.B \-\-request <path|id>
|
|
9945
|
+
A saved local\-mode MCP request ($kind: mcp\-request): a .request.yaml path, or the id of an MCP request in postman/collections/
|
|
9946
|
+
.TP
|
|
9947
|
+
.B \-\-url <url>
|
|
9948
|
+
The MCP server URL
|
|
9949
|
+
.TP
|
|
9950
|
+
.B \-e, \-\-environment <path>
|
|
9951
|
+
Resolve {{variables}} from a local environment file
|
|
9952
|
+
.TP
|
|
9953
|
+
.B \-\-env\-var <key=value>
|
|
9954
|
+
Set an environment variable for {{variable}} resolution. Repeatable. (default: )
|
|
9955
|
+
.TP
|
|
9956
|
+
.B \-\-json
|
|
9957
|
+
Print the result as JSON
|
|
9958
|
+
|
|
9959
|
+
.TP Examples:
|
|
9960
|
+
|
|
9961
|
+
Stores the tokens in the Postman home directory (~/.postman/mcp\-credentials.json), readable only by
|
|
9962
|
+
you. Signing in again replaces what was stored for the server. List what is stored with
|
|
9963
|
+
`postman mcp credentials`. With POSTMAN_MCP_CREDENTIALS_STORE=none nothing is stored: the sign\-in
|
|
9964
|
+
only checks that you can sign in, and its token is lost when the command ends.
|
|
9965
|
+
|
|
9966
|
+
Which credentials a command sends, first match wins:
|
|
9967
|
+
1. \-H "Authorization: ..."
|
|
9968
|
+
2. the saved request's own auth (\-\-request)
|
|
9969
|
+
3. auth the request inherits from its folder, then its collection
|
|
9970
|
+
4. the sign\-in this command stored
|
|
9971
|
+
5. none
|
|
9972
|
+
Levels 1\-3 are sent as given, never refreshed, and never lead to a sign\-in. A stored sign\-in is
|
|
9973
|
+
refreshed when it expires.
|
|
9974
|
+
|
|
9975
|
+
With \-\-no\-browser in a terminal, sign in on any machine, then paste the URL the browser ended on
|
|
9976
|
+
(http://127.0.0.1:<port>/callback?...). The pasted URL is not shown.
|
|
9977
|
+
|
|
9978
|
+
Examples:
|
|
9979
|
+
$ postman mcp login \-\-url https://example.com/mcp
|
|
9980
|
+
$ postman mcp login \-\-url https://example.com/mcp \-\-no\-browser
|
|
9981
|
+
$ postman mcp login \-\-request "postman/collections/My Server/whoami.request.yaml" \-\-scope "read write"
|
|
9982
|
+
$ postman mcp login \-\-url https://example.com/mcp \-\-client\-id my\-client \-\-callback\-port 8765
|
|
9983
|
+
|
|
9984
|
+
|
|
9985
|
+
.SS "mcp logout"
|
|
9986
|
+
Remove the credentials postman mcp login stored for an MCP server, and revoke them at its authorization server
|
|
9987
|
+
|
|
9988
|
+
.B Usage:
|
|
9989
|
+
[options]
|
|
9990
|
+
|
|
9991
|
+
.B Options:
|
|
9992
|
+
.TP
|
|
9993
|
+
.B \-\-all
|
|
9994
|
+
Remove every stored sign\-in
|
|
9995
|
+
.TP
|
|
9996
|
+
.B \-y, \-\-yes
|
|
9997
|
+
With \-\-all, skip the confirmation; required when there is no terminal
|
|
9998
|
+
.TP
|
|
9999
|
+
.B \-\-no\-revoke
|
|
10000
|
+
Only remove the credentials from this machine; do not revoke them
|
|
10001
|
+
.TP
|
|
10002
|
+
.B \-k, \-\-insecure
|
|
10003
|
+
Disable TLS certificate verification for the revocation
|
|
10004
|
+
.TP
|
|
10005
|
+
.B \-\-timeout\-request <ms>
|
|
10006
|
+
Time limit for each revocation request in ms (default: 60000, 0 for none)
|
|
10007
|
+
.TP
|
|
10008
|
+
.B \-\-debug
|
|
10009
|
+
Print each revocation request's method, URL without its query, and status to stderr
|
|
10010
|
+
.TP
|
|
10011
|
+
.B \-\-request <path|id>
|
|
10012
|
+
A saved local\-mode MCP request ($kind: mcp\-request): a .request.yaml path, or the id of an MCP request in postman/collections/
|
|
10013
|
+
.TP
|
|
10014
|
+
.B \-\-url <url>
|
|
10015
|
+
The MCP server URL
|
|
10016
|
+
.TP
|
|
10017
|
+
.B \-e, \-\-environment <path>
|
|
10018
|
+
Resolve {{variables}} from a local environment file
|
|
10019
|
+
.TP
|
|
10020
|
+
.B \-\-env\-var <key=value>
|
|
10021
|
+
Set an environment variable for {{variable}} resolution. Repeatable. (default: )
|
|
10022
|
+
.TP
|
|
10023
|
+
.B \-\-json
|
|
10024
|
+
Print the result as JSON
|
|
10025
|
+
|
|
10026
|
+
.TP Examples:
|
|
10027
|
+
|
|
10028
|
+
Removes the credentials from this machine first, then revokes the refresh and access tokens at the
|
|
10029
|
+
authorization server (RFC 7009), best effort: a failed revocation is a warning on stderr and does
|
|
10030
|
+
not change the exit code. \-\-no\-revoke skips it. \-\-all asks first in a terminal; without one it
|
|
10031
|
+
needs \-\-yes, and exits 8 otherwise.
|
|
10032
|
+
|
|
10033
|
+
Works on the credentials file with POSTMAN_MCP_CREDENTIALS_STORE=none too, so it can remove and revoke
|
|
10034
|
+
a sign\-in stored before; it never adds to the file.
|
|
10035
|
+
|
|
10036
|
+
Examples:
|
|
10037
|
+
$ postman mcp logout \-\-url https://example.com/mcp
|
|
10038
|
+
$ postman mcp logout \-\-request "postman/collections/My Server/whoami.request.yaml" \-\-json
|
|
10039
|
+
$ postman mcp logout \-\-all \-\-yes \-\-json
|
|
10040
|
+
|
|
10041
|
+
|
|
10042
|
+
.SS "mcp credentials"
|
|
10043
|
+
List the sign\-ins postman mcp login stored: server, issuer, client, scopes, expiry and whether they refresh. Never shows a token or secret
|
|
10044
|
+
|
|
10045
|
+
.B Usage:
|
|
10046
|
+
[options]
|
|
10047
|
+
|
|
10048
|
+
.B Options:
|
|
10049
|
+
.TP
|
|
10050
|
+
.B \-\-json
|
|
10051
|
+
Print the sign\-ins as JSON
|
|
10052
|
+
|
|
10053
|
+
.TP Examples:
|
|
10054
|
+
|
|
10055
|
+
Reads ~/.postman/mcp\-credentials.json only; nothing is sent. Remove a sign\-in with
|
|
10056
|
+
`postman mcp logout \-\-url <url>`, or all of them with `postman mcp logout \-\-all`.
|
|
10057
|
+
With POSTMAN_MCP_CREDENTIALS_STORE=none, the file is not read and the list says storage is off.
|
|
10058
|
+
|
|
10059
|
+
Examples:
|
|
10060
|
+
$ postman mcp credentials
|
|
10061
|
+
$ postman mcp credentials \-\-json
|
|
10062
|
+
|
|
9811
10063
|
|
|
9812
10064
|
.SH SEE ALSO
|
|
9813
10065
|
Full documentation: https://learning.postman.com/docs/postman\-cli/postman\-cli\-overview/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "postman-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.90.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.90.0",
|
|
61
|
+
"@postman/pm-bin-macos-x64": "1.90.0",
|
|
62
|
+
"@postman/pm-bin-linux-x64": "1.90.0",
|
|
63
|
+
"@postman/pm-bin-linux-arm64": "1.90.0",
|
|
64
|
+
"@postman/pm-bin-windows-x64": "1.90.0"
|
|
65
65
|
}
|
|
66
66
|
}
|