postman-cli 1.87.0 → 1.88.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.
Files changed (2) hide show
  1. package/man/postman.1 +706 -11
  2. package/package.json +6 -6
package/man/postman.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH POSTMAN 1 "2026-11-08" "v1.87.0" "Postman CLI Manual"
1
+ .TH POSTMAN 1 "2026-11-11" "v1.88.0" "Postman CLI Manual"
2
2
  .SH NAME
3
3
  postman \- Command\-line companion utility for Postman
4
4
  .SH SYNOPSIS
@@ -216,6 +216,9 @@ Update Postman CLI using the original installation method.
216
216
  .TP
217
217
  .B \-\-check
218
218
  Check whether a Postman CLI update is available.
219
+ .TP
220
+ .B \-\-timeout <ms>
221
+ Timeout for the update check in milliseconds (default: 30000).
219
222
 
220
223
  .SS "skills"
221
224
  Check and update the agent skills in this repository.
@@ -683,7 +686,7 @@ Target collection: name, directory, id, cloud id, or path. Required.
683
686
  Folder within the collection, e.g. "Users/Admin". Defaults to the root.
684
687
  .TP
685
688
  .B \-\-type <type>
686
- Request type: http, graphql, grpc, websocket, socketio. (default: http)
689
+ Request type: http, graphql, grpc, websocket, socketio, mcp. (default: http)
687
690
  .TP
688
691
  .B \-w, \-\-workspace <id>
689
692
  Target a Postman cloud workspace by id (cloud mode).
@@ -696,12 +699,13 @@ JSON output.
696
699
 
697
700
  .TP Examples:
698
701
 
699
- Creates an empty request (name + type only). Configure it with `collection request update`.
702
+ Creates an empty request (name + type only). Configure it with `collection request update`. An mcp request starts on the HTTP transport; `update \-\-command` moves it to stdio.
700
703
 
701
704
  Examples:
702
705
  postman collection request add "Get user" \-\-collection "My API"
703
706
  postman collection request add \-\-collection "My API" # named "New request"
704
707
  postman collection request add "List" \-\-collection "My API" \-\-folder Users \-\-type http
708
+ postman collection request add "Weather" \-\-collection "My API" \-\-type mcp
705
709
 
706
710
 
707
711
 
@@ -755,7 +759,13 @@ Folder to scope the request selector, e.g. "Users/Admin" (local: name/path; clou
755
759
  Rename the request (moves its file). Any request type.
756
760
  .TP
757
761
  .B \-\-url <url>
758
- Request URL; its query string becomes the query parameters. Any request type.
762
+ Request URL; its query string becomes the query parameters. Any request type; moves an mcp request to the HTTP transport.
763
+ .TP
764
+ .B \-\-command <command>
765
+ Command that starts a local MCP server; moves an mcp request to the stdio transport (mcp requests only, local mode).
766
+ .TP
767
+ .B \-\-command\-env <key=value>
768
+ Replace the environment variables of a stdio mcp request's server. Repeatable (local mode). (default: )
759
769
  .TP
760
770
  .B \-\-method <method>
761
771
  HTTP method (http requests only).
@@ -782,13 +792,13 @@ Replace request headers. Repeatable; any request type with headers. (default: )
782
792
  Request auth: none, inherit, bearer:TOKEN, basic:USER:PASS, apikey:KEY:VALUE[:header|query], oauth2:TOKEN. Any request type.
783
793
  .TP
784
794
  .B \-\-scripts <event:script>
785
- Replace scripts. event is prerequest or test; script is @file, \- for stdin, or inline. Repeatable; any request type. (default: )
795
+ Replace scripts. event is prerequest or test, or on an mcp request beforeConnect, afterConnect, afterResponse or afterDisconnect; script is @file, \- for stdin, or inline. Repeatable; any request type. (default: )
786
796
  .TP
787
797
  .B \-w, \-\-workspace <id>
788
798
  Target a Postman cloud workspace by id (cloud mode).
789
799
  .TP
790
800
  .B \-\-type <type>
791
- Request type for cloud mode: http, graphql, grpc, websocket, socketio. (default: http)
801
+ Request type for cloud mode: http, graphql, grpc, websocket, socketio, mcp. (default: http)
792
802
  .TP
793
803
  .B \-m, \-\-message <text>
794
804
  Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.
@@ -798,7 +808,7 @@ JSON output.
798
808
 
799
809
  .TP Examples:
800
810
 
801
- Works on any request type; \-\-rename/\-\-url/\-\-description/\-\-headers/\-\-auth/\-\-scripts apply to all, while \-\-method/\-\-param/\-\-clear\-params are http\-only and \-\-body is interpreted per type. \-\-param and \-\-clear\-params apply after \-\-url. Select the request by the <request> selector: local — a name or "Folder/Name" path (or \-\-folder to scope a bare name); cloud (\-\-workspace) — a request id, with \-\-collection an id too.
811
+ Works on any request type; \-\-rename/\-\-url/\-\-description/\-\-headers/\-\-auth/\-\-scripts apply to all, while \-\-method/\-\-param/\-\-clear\-params are http\-only and \-\-body is interpreted per type. \-\-param and \-\-clear\-params apply after \-\-url. On an mcp request, \-\-url moves it to the HTTP transport and \-\-command to stdio, removing the other transport's fields (url and headers, or command and env). Select the request by the <request> selector: local — a name or "Folder/Name" path (or \-\-folder to scope a bare name); cloud (\-\-workspace) — a request id, with \-\-collection an id too.
802
812
 
803
813
  Examples:
804
814
  postman collection request update "Get user" \-\-collection "My API" \-\-url "{{baseUrl}}/users/:id"
@@ -806,6 +816,7 @@ Examples:
806
816
  postman collection request update "List" \-\-collection "My API" \-\-clear\-params
807
817
  postman collection request update "Get user" \-\-collection "My API" \-\-folder Users \-\-rename "Fetch user"
808
818
  postman collection request update "Get user" \-\-collection "My API" \-\-headers "Authorization:Bearer x" \-\-auth bearer:TOKEN \-\-scripts "test:@check.js"
819
+ postman collection request update "Weather" \-\-collection "My API" \-\-command "node server.js \-\-transport stdio" \-\-command\-env "API_KEY={{apiKey}}"
809
820
  postman collection request update <requestId> \-\-collection <collectionId> \-\-url "..." \-w <workspaceId>
810
821
 
811
822
 
@@ -828,7 +839,7 @@ Folder to scope the request selector, e.g. "Users/Admin" (local: name/path; clou
828
839
  Target a Postman cloud workspace by id (cloud mode).
829
840
  .TP
830
841
  .B \-\-type <type>
831
- Request type for cloud mode: http, graphql, grpc, websocket, socketio. (default: http)
842
+ Request type for cloud mode: http, graphql, grpc, websocket, socketio, mcp. (default: http)
832
843
  .TP
833
844
  .B \-m, \-\-message <text>
834
845
  Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.
@@ -4454,6 +4465,166 @@ Examples:
4454
4465
 
4455
4466
 
4456
4467
 
4468
+ .SS "fn"
4469
+ Build code\-based workflows
4470
+
4471
+ .B Usage:
4472
+ [options] [command]
4473
+
4474
+ .B Subcommands:
4475
+ .TP
4476
+ .B fn init
4477
+ Create a starter workflow in the current or chosen directory (requires Postman login)
4478
+ .TP
4479
+ .B fn describe
4480
+ Describe workflow primitives and blocks (requires Postman login)
4481
+ .TP
4482
+ .B fn check
4483
+ Validate a workflow definition without running its steps (requires Postman login)
4484
+ .TP
4485
+ .B fn run
4486
+ Run a workflow using Postman login for AI and evals
4487
+
4488
+ .SS "fn init"
4489
+ Create a starter workflow in the current or chosen directory (requires Postman login)
4490
+
4491
+ .B Usage:
4492
+ [options] [path]
4493
+
4494
+ .B Options:
4495
+ .TP
4496
+ .B \-\-json
4497
+ Output JSON (default when stdout is piped)
4498
+ .TP
4499
+ .B \-\-api\-key <key>
4500
+ Postman API key (otherwise use postman login or POSTMAN_API_KEY)
4501
+
4502
+ .TP Examples:
4503
+
4504
+ Examples:
4505
+ postman fn init
4506
+ postman fn init ./my\-workflow
4507
+ postman fn init ./my\-workflow \-\-json
4508
+
4509
+ Creates workflow.mts and any missing destination directories. Existing files are never overwritten.
4510
+ The starter prints "Welcome to Postman Flows" when run with postman fn run workflow.mts.
4511
+ Does not install packages, add editor configuration, or execute the workflow.
4512
+ The .mts extension works in both CommonJS and ES module projects.
4513
+
4514
+
4515
+
4516
+ .SS "fn describe"
4517
+ Describe workflow primitives and blocks (requires Postman login)
4518
+
4519
+ .B Usage:
4520
+ [options] [subject]
4521
+
4522
+ .B Options:
4523
+ .TP
4524
+ .B \-\-json
4525
+ Output JSON (default when stdout is piped)
4526
+ .TP
4527
+ .B \-\-api\-key <key>
4528
+ Postman API key (otherwise use postman login or POSTMAN_API_KEY)
4529
+
4530
+ .TP Examples:
4531
+
4532
+ Examples:
4533
+ postman fn describe
4534
+ postman fn describe workflow
4535
+ postman fn describe http.fetch \-\-json
4536
+ postman fn describe fetchRequest
4537
+
4538
+ Read\-only. Lists primitives and blocks; a subject shows readable details and examples.
4539
+ Use \-\-json for full structured documentation, including schemas.
4540
+
4541
+
4542
+
4543
+ .SS "fn check"
4544
+ Validate a workflow definition without running its steps (requires Postman login)
4545
+
4546
+ .B Usage:
4547
+ [options] <workflow.ts>
4548
+
4549
+ .B Options:
4550
+ .TP
4551
+ .B \-\-json
4552
+ Output JSON (default when stdout is piped)
4553
+ .TP
4554
+ .B \-\-api\-key <key>
4555
+ Postman API key (otherwise use postman login or POSTMAN_API_KEY)
4556
+ .TP
4557
+ .B \-\-timeout <ms>
4558
+ Maximum time to load and validate the workflow (default: 30000)
4559
+
4560
+ .TP Examples:
4561
+
4562
+ Examples:
4563
+ postman fn check ./workflow.ts
4564
+ postman fn check ./workflow.mts
4565
+ postman fn check ./workflow.ts \-\-json
4566
+ postman fn check ./workflow.ts \-\-timeout 60000
4567
+
4568
+ Supports import/export workflows and local helpers using the fn packages shipped with this CLI.
4569
+ Imports the workflow module, so top\-level code runs; workflow steps are not executed.
4570
+ Validates the workflow definition, not TypeScript types. Returns exit code 1 when validation fails.
4571
+
4572
+
4573
+
4574
+ .SS "fn run"
4575
+ Run a workflow using Postman login for AI and evals
4576
+
4577
+ .B Usage:
4578
+ [options] <workflow.ts>
4579
+
4580
+ .B Options:
4581
+ .TP
4582
+ .B \-\-input <input.json>
4583
+ JSON array of workflow inputs
4584
+ .TP
4585
+ .B \-\-config <config.json>
4586
+ Workflow configuration JSON file
4587
+ .TP
4588
+ .B \-\-json
4589
+ Output JSON (default when stdout is piped)
4590
+ .TP
4591
+ .B \-\-api\-key <key>
4592
+ Postman API key (otherwise use postman login or POSTMAN_API_KEY)
4593
+ .TP
4594
+ .B \-\-timeout <ms>
4595
+ Maximum time to load and run the workflow (default: 300000)
4596
+ .TP
4597
+ .B \-\-verbose
4598
+ Show workflow logs and step details without changing the workflow log level
4599
+ .TP
4600
+ .B \-\-stream
4601
+ Stream JSON events and workflow logs followed by a summary
4602
+ .TP
4603
+ .B \-\-visualize
4604
+ Write an HTML visualization of the execution
4605
+ .TP
4606
+ .B \-\-out <output.html>
4607
+ New visualization file path (requires \-\-visualize)
4608
+
4609
+ .TP Examples:
4610
+
4611
+ Examples:
4612
+ postman fn run ./workflow.ts
4613
+ postman fn run ./workflow.mts
4614
+ postman fn run ./workflow.ts \-\-input inputs.json \-\-config config.json \-\-json
4615
+ postman fn run ./workflow.ts \-\-stream
4616
+ postman fn run ./workflow.ts \-\-visualize \-\-out run.html
4617
+
4618
+ Runs workflow code and may change external systems. Runs are not automatically retried.
4619
+ AI and eval blocks use Postman login; separate service credentials are not needed.
4620
+ console.print values are shown without \-\-verbose. Use \-\-verbose for workflow logs and step details.
4621
+ Use console.print to display workflow values in the terminal.
4622
+ JSON and stream output retain returned values and workflow logs.
4623
+ Inputs/config and captured execution output are limited to 2 MiB each. Import\-time logs are suppressed.
4624
+ Ctrl+C cancels the run; cancellation and timeout do not roll back completed actions.
4625
+
4626
+
4627
+
4457
4628
  .SS "request"
4458
4629
  Send HTTP requests from the command line with full Postman capabilities including authentication, environment variables, assertions, retries, and detailed output control. Use `postman request grpc` for gRPC.
4459
4630
 
@@ -5356,7 +5527,7 @@ Same as \-\-mode stateful. Generated offline for a local file, by Postman with \
5356
5527
  With \-\-mode ai: guidance for the AI, up to 2000 characters, e.g. "Orders can only be cancelled before they ship". Recorded with the mock, so \-\-update reuses them.
5357
5528
  .TP
5358
5529
  .B \-\-strict
5359
- With \-\-mode ai: fail instead of falling back. Postman refuses a mock it would build without AI (exit 1, nothing written or saved). A mock whose AI rules reached only some operations, or one an older Postman built without AI anyway, is kept but exits 4.
5530
+ With \-\-mode ai: fail instead of falling back. Postman refuses a mock it would build without AI (exit 1, nothing written or saved). A mock whose AI rules reached only some operations, or one an older Postman built without AI anyway, is kept but exits 4. A cloud mock is saved before AI runs, so when AI fails it keeps its contract\-derived version (exit 1).
5360
5531
  .TP
5361
5532
  .B \-\-spec <specId>
5362
5533
  Generate from a spec in Postman (by id) instead of a local file. With \-\-workspace, the mock stays linked to it and is regenerated when it changes.
@@ -5368,7 +5539,7 @@ Generate from a collection in Postman (by id) instead of a local file. With \-\-
5368
5539
  Generate from a dataset: its tables become resources and their first 20 rows the records. A dataset in Postman (by id) or a local .dataset.yaml (CSV and JSON sources). Generated by Postman in stateful (the default) or ai mode; AI sees the column names and types, never the rows.
5369
5540
  .TP
5370
5541
  .B \-\-force
5371
- Replace the mock's files if the target folder already holds a mock. A folder with other files and no mock is never written to.
5542
+ Replace the mock's files if the target folder already holds a mock. A folder with other files and no mock is never written to. With \-\-update, regenerate a handler that was edited by hand.
5372
5543
  .TP
5373
5544
  .B \-u, \-\-update <mockPathOrId>
5374
5545
  Regenerate an existing mock in place: one in your repository by path (e.g. ./postman/mocks/orders), or one in Postman cloud by id. Without a source or \-\-mode, it uses the ones the mock recorded (and an ai mock's instructions). Cannot be used with \-\-output.
@@ -5386,7 +5557,7 @@ With \-\-deploy, let anyone with the link reach the server (default: callers nee
5386
5557
  With \-\-deploy, the short label used in the server's web address. Requires \-\-deploy.
5387
5558
  .TP
5388
5559
  .B \-\-timeout <ms>
5389
- How long to wait for Postman to generate the mock, in milliseconds (default 75000).
5560
+ How long to wait for Postman to answer the generate request, in milliseconds (default 75000). With \-\-mode ai, the AI step that follows is waited for up to 10 minutes.
5390
5561
  .TP
5391
5562
  .B \-\-api\-key <key>
5392
5563
  Postman API key for anything Postman generates, saves or deploys (defaults to your `postman login` session)
@@ -9114,6 +9285,530 @@ Examples:
9114
9285
 
9115
9286
 
9116
9287
 
9288
+ .SS "mcp"
9289
+ Explore MCP servers: inspect them, list and call tools, read resources, and get prompts
9290
+
9291
+ .B Usage:
9292
+ [options] [command]
9293
+
9294
+ .TP Examples:
9295
+
9296
+ Each command takes one target: \-\-request <path|id>, \-\-url <url>, or a local stdio server with
9297
+ \-\-allow\-stdio and either \-\-command "<cmd>" or the command after \-\-, e.g.
9298
+ $ postman mcp tools list \-\-allow\-stdio \-\- node server.js \-\-transport stdio
9299
+ Every MCP operation has a 60000 ms time limit; change it with \-\-timeout\-request.
9300
+
9301
+ Interactive OAuth login is not supported yet. For a server that needs a token, pass one with
9302
+ \-H "Authorization: Bearer $TOKEN", or use \-\-request with a saved request whose auth holds one
9303
+ (bearer or OAuth 2). A saved OAuth 2 token is sent as saved and never refreshed.
9304
+
9305
+ Exit codes: 0 ok, 1 failure (including a tool result with isError), 2 usage, 3 the server
9306
+ rejected or requires credentials (HTTP 401/403), 4 inspect could not list everything, 5 cancelled,
9307
+ 8 refused (stdio without \-\-allow\-stdio).
9308
+
9309
+
9310
+ .B Subcommands:
9311
+ .TP
9312
+ .B mcp inspect
9313
+ Show what an MCP server reports at initialize: capabilities and counts of tools, resources, resource templates and prompts (initialize, then every */list)
9314
+ .TP
9315
+ .B mcp tools
9316
+ List and call the tools an MCP server offers
9317
+ .TP
9318
+ .B mcp resources
9319
+ List and read the resources an MCP server offers
9320
+ .TP
9321
+ .B mcp prompts
9322
+ List and get the prompts an MCP server offers
9323
+
9324
+ .SS "mcp inspect"
9325
+ Show what an MCP server reports at initialize: capabilities and counts of tools, resources, resource templates and prompts (initialize, then every */list)
9326
+
9327
+ .B Usage:
9328
+ [options]
9329
+
9330
+ .B Options:
9331
+ .TP
9332
+ .B \-\-json
9333
+ Print the report as JSON
9334
+ .TP
9335
+ .B \-\-debug
9336
+ Print each @postman/runtime event, and the MCP client's debug messages, to stderr
9337
+ .TP
9338
+ .B \-\-request <path|id>
9339
+ Reuse a saved local\-mode MCP request ($kind: mcp\-request): a .request.yaml path, or the id of an MCP request in postman/collections/
9340
+ .TP
9341
+ .B \-\-url <url>
9342
+ Connect to a remote MCP server over HTTP (streamable HTTP, falling back to legacy SSE)
9343
+ .TP
9344
+ .B \-H, \-\-header <key:value>
9345
+ Add an HTTP header in key:value format. Repeatable. (default: )
9346
+ .TP
9347
+ .B \-\-transport <transport>
9348
+ Check the transport the target uses
9349
+ .TP
9350
+ .B \-\-command <command>
9351
+ Start a local MCP server and talk to it over stdio. Needs \-\-allow\-stdio. Or pass the command and its arguments after \-\-
9352
+ .TP
9353
+ .B \-\-command\-env <key=value>
9354
+ Set an environment variable for the \-\-command server. Repeatable. (default: )
9355
+ .TP
9356
+ .B \-\-allow\-stdio
9357
+ Allow starting a local process for a stdio server
9358
+ .TP
9359
+ .B \-k, \-\-insecure
9360
+ Disable TLS certificate verification for HTTP servers
9361
+ .TP
9362
+ .B \-\-timeout\-request <ms>
9363
+ Time limit for each MCP operation in ms (default: 60000, 0 for none)
9364
+ .TP
9365
+ .B \-\-protocol\-version <version>
9366
+ Protocol version negotiation (default: auto)
9367
+ .TP
9368
+ .B \-e, \-\-environment <path>
9369
+ Resolve {{variables}} from a local environment file
9370
+ .TP
9371
+ .B \-\-env\-var <key=value>
9372
+ Set an environment variable for {{variable}} resolution. Repeatable. (default: )
9373
+
9374
+ .TP Examples:
9375
+
9376
+ Examples:
9377
+ $ postman mcp inspect \-\-url https://example.com/mcp \-H "Authorization: Bearer $TOKEN"
9378
+ $ postman mcp inspect \-\-command "npx \-y @modelcontextprotocol/server\-everything" \-\-allow\-stdio \-\-json
9379
+ $ postman mcp inspect \-\-request "postman/collections/My Server/whoami.request.yaml"
9380
+
9381
+
9382
+ .SS "mcp tools"
9383
+ List and call the tools an MCP server offers
9384
+
9385
+ .B Usage:
9386
+ [options] [command]
9387
+
9388
+ .B Subcommands:
9389
+ .TP
9390
+ .B mcp tools list
9391
+ List the tools an MCP server offers (tools/list)
9392
+ .TP
9393
+ .B mcp tools call
9394
+ Call one tool and print its result (tools/call)
9395
+
9396
+ .SS "mcp tools list"
9397
+ List the tools an MCP server offers (tools/list)
9398
+
9399
+ .B Usage:
9400
+ [options]
9401
+
9402
+ .B Options:
9403
+ .TP
9404
+ .B \-\-json
9405
+ Print { tools } as JSON
9406
+ .TP
9407
+ .B \-\-debug
9408
+ Print each @postman/runtime event, and the MCP client's debug messages, to stderr
9409
+ .TP
9410
+ .B \-\-request <path|id>
9411
+ Reuse a saved local\-mode MCP request ($kind: mcp\-request): a .request.yaml path, or the id of an MCP request in postman/collections/
9412
+ .TP
9413
+ .B \-\-url <url>
9414
+ Connect to a remote MCP server over HTTP (streamable HTTP, falling back to legacy SSE)
9415
+ .TP
9416
+ .B \-H, \-\-header <key:value>
9417
+ Add an HTTP header in key:value format. Repeatable. (default: )
9418
+ .TP
9419
+ .B \-\-transport <transport>
9420
+ Check the transport the target uses
9421
+ .TP
9422
+ .B \-\-command <command>
9423
+ Start a local MCP server and talk to it over stdio. Needs \-\-allow\-stdio. Or pass the command and its arguments after \-\-
9424
+ .TP
9425
+ .B \-\-command\-env <key=value>
9426
+ Set an environment variable for the \-\-command server. Repeatable. (default: )
9427
+ .TP
9428
+ .B \-\-allow\-stdio
9429
+ Allow starting a local process for a stdio server
9430
+ .TP
9431
+ .B \-k, \-\-insecure
9432
+ Disable TLS certificate verification for HTTP servers
9433
+ .TP
9434
+ .B \-\-timeout\-request <ms>
9435
+ Time limit for each MCP operation in ms (default: 60000, 0 for none)
9436
+ .TP
9437
+ .B \-\-protocol\-version <version>
9438
+ Protocol version negotiation (default: auto)
9439
+ .TP
9440
+ .B \-e, \-\-environment <path>
9441
+ Resolve {{variables}} from a local environment file
9442
+ .TP
9443
+ .B \-\-env\-var <key=value>
9444
+ Set an environment variable for {{variable}} resolution. Repeatable. (default: )
9445
+
9446
+ .SS "mcp tools call"
9447
+ Call one tool and print its result (tools/call)
9448
+
9449
+ .B Usage:
9450
+ [options] <tool>
9451
+
9452
+ .B Options:
9453
+ .TP
9454
+ .B \-\-args <json|@file|\->
9455
+ 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
9456
+ .TP
9457
+ .B \-\-arg <key=value>
9458
+ One tool argument, typed by the tool's inputSchema (a number, boolean, JSON object or array, or a string). Repeatable; a repeated key keeps the last value. Not with \-\-args (default: )
9459
+ .TP
9460
+ .B \-\-json
9461
+ Print the CallToolResult as JSON
9462
+ .TP
9463
+ .B \-\-debug
9464
+ Print each @postman/runtime event, and the MCP client's debug messages, to stderr
9465
+ .TP
9466
+ .B \-\-request <path|id>
9467
+ Reuse a saved local\-mode MCP request ($kind: mcp\-request): a .request.yaml path, or the id of an MCP request in postman/collections/
9468
+ .TP
9469
+ .B \-\-url <url>
9470
+ Connect to a remote MCP server over HTTP (streamable HTTP, falling back to legacy SSE)
9471
+ .TP
9472
+ .B \-H, \-\-header <key:value>
9473
+ Add an HTTP header in key:value format. Repeatable. (default: )
9474
+ .TP
9475
+ .B \-\-transport <transport>
9476
+ Check the transport the target uses
9477
+ .TP
9478
+ .B \-\-command <command>
9479
+ Start a local MCP server and talk to it over stdio. Needs \-\-allow\-stdio. Or pass the command and its arguments after \-\-
9480
+ .TP
9481
+ .B \-\-command\-env <key=value>
9482
+ Set an environment variable for the \-\-command server. Repeatable. (default: )
9483
+ .TP
9484
+ .B \-\-allow\-stdio
9485
+ Allow starting a local process for a stdio server
9486
+ .TP
9487
+ .B \-k, \-\-insecure
9488
+ Disable TLS certificate verification for HTTP servers
9489
+ .TP
9490
+ .B \-\-timeout\-request <ms>
9491
+ Time limit for each MCP operation in ms (default: 60000, 0 for none)
9492
+ .TP
9493
+ .B \-\-protocol\-version <version>
9494
+ Protocol version negotiation (default: auto)
9495
+ .TP
9496
+ .B \-e, \-\-environment <path>
9497
+ Resolve {{variables}} from a local environment file
9498
+ .TP
9499
+ .B \-\-env\-var <key=value>
9500
+ Set an environment variable for {{variable}} resolution. Repeatable. (default: )
9501
+
9502
+ .TP Examples:
9503
+
9504
+ Before calling, the arguments are checked against the tool's inputSchema: required properties, enum
9505
+ and const values, and null. A failed check exits 2 and sends nothing. A \-\-request's saved message is
9506
+ sent as written.
9507
+
9508
+ Examples:
9509
+ $ postman mcp tools call add \-\-arg a=2 \-\-arg b=3 \-\-url http://localhost:3000/mcp
9510
+ $ postman mcp tools call echo \-\-args '{"text":"hi"}' \-\-allow\-stdio \-\- node server.js \-\-stdio
9511
+ $ postman mcp tools call search \-\-args @args.json \-\-request search.request.yaml \-\-json | jq .structuredContent
9512
+
9513
+
9514
+ .SS "mcp resources"
9515
+ List and read the resources an MCP server offers
9516
+
9517
+ .B Usage:
9518
+ [options] [command]
9519
+
9520
+ .B Subcommands:
9521
+ .TP
9522
+ .B mcp resources list
9523
+ List the resources an MCP server offers (resources/list)
9524
+ .TP
9525
+ .B mcp resources templates
9526
+ List the resource templates an MCP server offers
9527
+ .TP
9528
+ .B mcp resources read
9529
+ Read one resource and print its contents (resources/read)
9530
+
9531
+ .SS "mcp resources list"
9532
+ List the resources an MCP server offers (resources/list)
9533
+
9534
+ .B Usage:
9535
+ [options]
9536
+
9537
+ .B Options:
9538
+ .TP
9539
+ .B \-\-json
9540
+ Print { resources } as JSON
9541
+ .TP
9542
+ .B \-\-debug
9543
+ Print each @postman/runtime event, and the MCP client's debug messages, to stderr
9544
+ .TP
9545
+ .B \-\-request <path|id>
9546
+ Reuse a saved local\-mode MCP request ($kind: mcp\-request): a .request.yaml path, or the id of an MCP request in postman/collections/
9547
+ .TP
9548
+ .B \-\-url <url>
9549
+ Connect to a remote MCP server over HTTP (streamable HTTP, falling back to legacy SSE)
9550
+ .TP
9551
+ .B \-H, \-\-header <key:value>
9552
+ Add an HTTP header in key:value format. Repeatable. (default: )
9553
+ .TP
9554
+ .B \-\-transport <transport>
9555
+ Check the transport the target uses
9556
+ .TP
9557
+ .B \-\-command <command>
9558
+ Start a local MCP server and talk to it over stdio. Needs \-\-allow\-stdio. Or pass the command and its arguments after \-\-
9559
+ .TP
9560
+ .B \-\-command\-env <key=value>
9561
+ Set an environment variable for the \-\-command server. Repeatable. (default: )
9562
+ .TP
9563
+ .B \-\-allow\-stdio
9564
+ Allow starting a local process for a stdio server
9565
+ .TP
9566
+ .B \-k, \-\-insecure
9567
+ Disable TLS certificate verification for HTTP servers
9568
+ .TP
9569
+ .B \-\-timeout\-request <ms>
9570
+ Time limit for each MCP operation in ms (default: 60000, 0 for none)
9571
+ .TP
9572
+ .B \-\-protocol\-version <version>
9573
+ Protocol version negotiation (default: auto)
9574
+ .TP
9575
+ .B \-e, \-\-environment <path>
9576
+ Resolve {{variables}} from a local environment file
9577
+ .TP
9578
+ .B \-\-env\-var <key=value>
9579
+ Set an environment variable for {{variable}} resolution. Repeatable. (default: )
9580
+
9581
+ .SS "mcp resources templates"
9582
+ List the resource templates an MCP server offers
9583
+
9584
+ .B Usage:
9585
+ [options] [command]
9586
+
9587
+ .B Subcommands:
9588
+ .TP
9589
+ .B mcp resources templates list
9590
+ List the resource templates an MCP server offers (resources/templates/list)
9591
+
9592
+ .SS "mcp resources templates list"
9593
+ List the resource templates an MCP server offers (resources/templates/list)
9594
+
9595
+ .B Usage:
9596
+ [options]
9597
+
9598
+ .B Options:
9599
+ .TP
9600
+ .B \-\-json
9601
+ Print { resourceTemplates } as JSON
9602
+ .TP
9603
+ .B \-\-debug
9604
+ Print each @postman/runtime event, and the MCP client's debug messages, to stderr
9605
+ .TP
9606
+ .B \-\-request <path|id>
9607
+ Reuse a saved local\-mode MCP request ($kind: mcp\-request): a .request.yaml path, or the id of an MCP request in postman/collections/
9608
+ .TP
9609
+ .B \-\-url <url>
9610
+ Connect to a remote MCP server over HTTP (streamable HTTP, falling back to legacy SSE)
9611
+ .TP
9612
+ .B \-H, \-\-header <key:value>
9613
+ Add an HTTP header in key:value format. Repeatable. (default: )
9614
+ .TP
9615
+ .B \-\-transport <transport>
9616
+ Check the transport the target uses
9617
+ .TP
9618
+ .B \-\-command <command>
9619
+ Start a local MCP server and talk to it over stdio. Needs \-\-allow\-stdio. Or pass the command and its arguments after \-\-
9620
+ .TP
9621
+ .B \-\-command\-env <key=value>
9622
+ Set an environment variable for the \-\-command server. Repeatable. (default: )
9623
+ .TP
9624
+ .B \-\-allow\-stdio
9625
+ Allow starting a local process for a stdio server
9626
+ .TP
9627
+ .B \-k, \-\-insecure
9628
+ Disable TLS certificate verification for HTTP servers
9629
+ .TP
9630
+ .B \-\-timeout\-request <ms>
9631
+ Time limit for each MCP operation in ms (default: 60000, 0 for none)
9632
+ .TP
9633
+ .B \-\-protocol\-version <version>
9634
+ Protocol version negotiation (default: auto)
9635
+ .TP
9636
+ .B \-e, \-\-environment <path>
9637
+ Resolve {{variables}} from a local environment file
9638
+ .TP
9639
+ .B \-\-env\-var <key=value>
9640
+ Set an environment variable for {{variable}} resolution. Repeatable. (default: )
9641
+
9642
+ .SS "mcp resources read"
9643
+ Read one resource and print its contents (resources/read)
9644
+
9645
+ .B Usage:
9646
+ [options] <uri>
9647
+
9648
+ .B Options:
9649
+ .TP
9650
+ .B \-\-json
9651
+ Print the ReadResourceResult as JSON (blob contents stay base64)
9652
+ .TP
9653
+ .B \-\-debug
9654
+ Print each @postman/runtime event, and the MCP client's debug messages, to stderr
9655
+ .TP
9656
+ .B \-\-request <path|id>
9657
+ Reuse a saved local\-mode MCP request ($kind: mcp\-request): a .request.yaml path, or the id of an MCP request in postman/collections/
9658
+ .TP
9659
+ .B \-\-url <url>
9660
+ Connect to a remote MCP server over HTTP (streamable HTTP, falling back to legacy SSE)
9661
+ .TP
9662
+ .B \-H, \-\-header <key:value>
9663
+ Add an HTTP header in key:value format. Repeatable. (default: )
9664
+ .TP
9665
+ .B \-\-transport <transport>
9666
+ Check the transport the target uses
9667
+ .TP
9668
+ .B \-\-command <command>
9669
+ Start a local MCP server and talk to it over stdio. Needs \-\-allow\-stdio. Or pass the command and its arguments after \-\-
9670
+ .TP
9671
+ .B \-\-command\-env <key=value>
9672
+ Set an environment variable for the \-\-command server. Repeatable. (default: )
9673
+ .TP
9674
+ .B \-\-allow\-stdio
9675
+ Allow starting a local process for a stdio server
9676
+ .TP
9677
+ .B \-k, \-\-insecure
9678
+ Disable TLS certificate verification for HTTP servers
9679
+ .TP
9680
+ .B \-\-timeout\-request <ms>
9681
+ Time limit for each MCP operation in ms (default: 60000, 0 for none)
9682
+ .TP
9683
+ .B \-\-protocol\-version <version>
9684
+ Protocol version negotiation (default: auto)
9685
+ .TP
9686
+ .B \-e, \-\-environment <path>
9687
+ Resolve {{variables}} from a local environment file
9688
+ .TP
9689
+ .B \-\-env\-var <key=value>
9690
+ Set an environment variable for {{variable}} resolution. Repeatable. (default: )
9691
+
9692
+ .SS "mcp prompts"
9693
+ List and get the prompts an MCP server offers
9694
+
9695
+ .B Usage:
9696
+ [options] [command]
9697
+
9698
+ .B Subcommands:
9699
+ .TP
9700
+ .B mcp prompts list
9701
+ List the prompts an MCP server offers (prompts/list)
9702
+ .TP
9703
+ .B mcp prompts get
9704
+ Get one prompt with its arguments filled in (prompts/get)
9705
+
9706
+ .SS "mcp prompts list"
9707
+ List the prompts an MCP server offers (prompts/list)
9708
+
9709
+ .B Usage:
9710
+ [options]
9711
+
9712
+ .B Options:
9713
+ .TP
9714
+ .B \-\-json
9715
+ Print { prompts } as JSON
9716
+ .TP
9717
+ .B \-\-debug
9718
+ Print each @postman/runtime event, and the MCP client's debug messages, to stderr
9719
+ .TP
9720
+ .B \-\-request <path|id>
9721
+ Reuse a saved local\-mode MCP request ($kind: mcp\-request): a .request.yaml path, or the id of an MCP request in postman/collections/
9722
+ .TP
9723
+ .B \-\-url <url>
9724
+ Connect to a remote MCP server over HTTP (streamable HTTP, falling back to legacy SSE)
9725
+ .TP
9726
+ .B \-H, \-\-header <key:value>
9727
+ Add an HTTP header in key:value format. Repeatable. (default: )
9728
+ .TP
9729
+ .B \-\-transport <transport>
9730
+ Check the transport the target uses
9731
+ .TP
9732
+ .B \-\-command <command>
9733
+ Start a local MCP server and talk to it over stdio. Needs \-\-allow\-stdio. Or pass the command and its arguments after \-\-
9734
+ .TP
9735
+ .B \-\-command\-env <key=value>
9736
+ Set an environment variable for the \-\-command server. Repeatable. (default: )
9737
+ .TP
9738
+ .B \-\-allow\-stdio
9739
+ Allow starting a local process for a stdio server
9740
+ .TP
9741
+ .B \-k, \-\-insecure
9742
+ Disable TLS certificate verification for HTTP servers
9743
+ .TP
9744
+ .B \-\-timeout\-request <ms>
9745
+ Time limit for each MCP operation in ms (default: 60000, 0 for none)
9746
+ .TP
9747
+ .B \-\-protocol\-version <version>
9748
+ Protocol version negotiation (default: auto)
9749
+ .TP
9750
+ .B \-e, \-\-environment <path>
9751
+ Resolve {{variables}} from a local environment file
9752
+ .TP
9753
+ .B \-\-env\-var <key=value>
9754
+ Set an environment variable for {{variable}} resolution. Repeatable. (default: )
9755
+
9756
+ .SS "mcp prompts get"
9757
+ Get one prompt with its arguments filled in (prompts/get)
9758
+
9759
+ .B Usage:
9760
+ [options] <name>
9761
+
9762
+ .B Options:
9763
+ .TP
9764
+ .B \-\-args <json|@file|\->
9765
+ Prompt arguments as a JSON object of strings, @path, or \- for stdin
9766
+ .TP
9767
+ .B \-\-arg <key=value>
9768
+ One prompt argument, always sent as a string. Repeatable; a repeated key keeps the last value. Not with \-\-args (default: )
9769
+ .TP
9770
+ .B \-\-json
9771
+ Print the GetPromptResult as JSON
9772
+ .TP
9773
+ .B \-\-debug
9774
+ Print each @postman/runtime event, and the MCP client's debug messages, to stderr
9775
+ .TP
9776
+ .B \-\-request <path|id>
9777
+ Reuse a saved local\-mode MCP request ($kind: mcp\-request): a .request.yaml path, or the id of an MCP request in postman/collections/
9778
+ .TP
9779
+ .B \-\-url <url>
9780
+ Connect to a remote MCP server over HTTP (streamable HTTP, falling back to legacy SSE)
9781
+ .TP
9782
+ .B \-H, \-\-header <key:value>
9783
+ Add an HTTP header in key:value format. Repeatable. (default: )
9784
+ .TP
9785
+ .B \-\-transport <transport>
9786
+ Check the transport the target uses
9787
+ .TP
9788
+ .B \-\-command <command>
9789
+ Start a local MCP server and talk to it over stdio. Needs \-\-allow\-stdio. Or pass the command and its arguments after \-\-
9790
+ .TP
9791
+ .B \-\-command\-env <key=value>
9792
+ Set an environment variable for the \-\-command server. Repeatable. (default: )
9793
+ .TP
9794
+ .B \-\-allow\-stdio
9795
+ Allow starting a local process for a stdio server
9796
+ .TP
9797
+ .B \-k, \-\-insecure
9798
+ Disable TLS certificate verification for HTTP servers
9799
+ .TP
9800
+ .B \-\-timeout\-request <ms>
9801
+ Time limit for each MCP operation in ms (default: 60000, 0 for none)
9802
+ .TP
9803
+ .B \-\-protocol\-version <version>
9804
+ Protocol version negotiation (default: auto)
9805
+ .TP
9806
+ .B \-e, \-\-environment <path>
9807
+ Resolve {{variables}} from a local environment file
9808
+ .TP
9809
+ .B \-\-env\-var <key=value>
9810
+ Set an environment variable for {{variable}} resolution. Repeatable. (default: )
9811
+
9117
9812
  .SH SEE ALSO
9118
9813
  Full documentation: https://learning.postman.com/docs/postman\-cli/postman\-cli\-overview/
9119
9814
  .SH AUTHOR
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postman-cli",
3
- "version": "1.87.0",
3
+ "version": "1.88.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.87.0",
61
- "@postman/pm-bin-macos-x64": "1.87.0",
62
- "@postman/pm-bin-linux-x64": "1.87.0",
63
- "@postman/pm-bin-linux-arm64": "1.87.0",
64
- "@postman/pm-bin-windows-x64": "1.87.0"
60
+ "@postman/pm-bin-macos-arm64": "1.88.0",
61
+ "@postman/pm-bin-macos-x64": "1.88.0",
62
+ "@postman/pm-bin-linux-x64": "1.88.0",
63
+ "@postman/pm-bin-linux-arm64": "1.88.0",
64
+ "@postman/pm-bin-windows-x64": "1.88.0"
65
65
  }
66
66
  }