{"slug": "whats-new-in-postman-mcp-events-and-cli-testing", "title": "What’s new in Postman: MCP Events and CLI testing", "summary": "Postman added support for the MCP Events extension (SEP-3415) across the Postman app, Agent Mode and the Postman CLI, letting users subscribe to real-time events from Model Context Protocol servers on protocol version 2026-07-28. The feature is available on Free, Solo, Team and Enterprise plans in Postman app version 12.39.0 and Postman CLI version 1.95.0, and supports push (events/stream), poll (events/poll) and webhook (events/subscribe) delivery modes with options including cursor, maxAgeMs, maxEvents, heartbeatMs and ttlMs. Postman also said its CLI can now test any MCP server from the terminal and that Fabric connects to OAuth-protected MCP servers that do not support dynamic client registration.", "body_md": "# What’s new in Postman: MCP Events and CLI testing\n\nAn MCP server used to be something you called. You sent a request, got a response, and the conversation was over. Servers that push events change that: a deploy finishes or a build fails, and the server tells you instead of waiting to be asked. Testing that behavior means holding a connection open, picking a delivery mode and reading a stream of payloads as they arrive.\n\nWe’ve shipped updates that cover this end to end. MCP Events works in the Postman app, Agent Mode and the Postman CLI. The Postman CLI can now test any MCP server from the terminal. And Fabric connects to OAuth-protected MCP servers that don’t support dynamic client registration. Here’s what changed and how to use each one.\n\n## MCP Events in the Postman app, Agent Mode and the CLI\n\nPostman now supports the MCP Events extension (SEP-3415) across MCP requests, Agent Mode and the Postman CLI. Connect to any [Model Context Protocol](https://modelcontextprotocol.io/) server on protocol version `2026-07-28`, subscribe to real-time events, and inspect or react to them from the app or your terminal. It’s available on the Free, Solo, Team and Enterprise plans in Postman app version 12.39.0 and Postman CLI version 1.95.0.\n\n### Subscribe from the Events tab\n\nWhen a server declares the `io.modelcontextprotocol/events` capability, a new **Events** tab appears next to **Tools**, **Prompts** and **Resources**. Browse the event types the server offers, fill in typed argument filters and subscribe directly.\n\nTo subscribe:\n\n1. Open an MCP request and connect to your server.\n2. Open the **Events** tab and select an event type.\n3. Fill in any argument filters.\n4. Choose a delivery mode and click **Subscribe** .\n\nIncoming events stream into the response timeline as `events / <name>`, next to subscription status changes (active, gap, error or ended). You can inspect each payload as it arrives.\n\n### Pick a delivery mode\n\nPostman supports every delivery mode in the extension, so you can match the mode to how your client runs:\n\n| Mode | Server method | Use it when | \n|---|---|---|\n| Push | `events/stream` | You want events delivered over the open connection as they happen | \n| Poll | `events/poll` | You want to fetch events on your own schedule | \n| Webhook | `events/subscribe` | You want the server to call a URL when an event fires | \n\nYou can set the SEP-3415 options `cursor`, `maxAgeMs`, `maxEvents`, `heartbeatMs` and `ttlMs` from the card UI. The card and the message editor stay in sync in both directions, so a change in one shows up in the other.\n\nWebhook delivery works without extra setup. On desktop and in the CLI, Postman creates a per-user callback URL and tunnel for you. If you’d rather use your own endpoint, you can still provide your own webhook URL.\n\n### Ask Agent Mode to listen\n\nYou can also describe what you want in plain language. Ask Agent Mode to subscribe to a server’s events, and it picks a delivery mode the server supports, listens in the background and wakes up to react when an event arrives.\n\n### List and subscribe from the Postman CLI\n\nThe Postman CLI covers the same workflow in the terminal. List what a server offers:\n\n```\npostman mcp events list --url https://mcp.example.com/mcp\n```\n\nThe output shows each event type and its delivery modes. The same information is counted in `postman mcp inspect`. Then stream one event type to your terminal:\n\n```\npostman mcp events subscribe deployment.finished \\\n  --url https://mcp.example.com/mcp \\\n  --arg environment=staging \\\n  --limit 5 \\\n  --timeout 60 \\\n  --json\n```\n\nUse `--arg` or `--args` to filter events and `--cursor` to resume from where a previous run stopped. `--limit` and `--timeout` bound the run so it finishes on its own. With `--json`, the CLI writes line-delimited JSON to stdout and keeps logs on stderr, and it exits with structured exit codes, so you can pipe events straight into a script:\n\n```\npostman mcp events subscribe deployment.finished \\\n  --url https://mcp.example.com/mcp \\\n  --limit 10 --json \\\n  | jq -r 'select(.data.status == \"failed\") | .data.service'\n```\n\nTry changing the delivery mode and the `--cursor` value to see how each one affects the events you receive.\n\n## MCP testing in the Postman CLI\n\nAnything you can do with an MCP request in the Postman app, you can now do from the terminal in headless mode with the Postman CLI. Explore a server, call its tools, prompts and resources, run your MCP scripts and tests, and run MCP requests in a collection run next to your HTTP requests. It works locally, in CI or from your coding agent, on every plan including Consumption Pricing.\n\n### Inspect a server\n\n`postman mcp inspect` connects to a server and reports its name, protocol version, capabilities and everything it exposes. It works with Streamable HTTP servers and with local STDIO servers:\n\n```\n# Remote server over Streamable HTTP\npostman mcp inspect --url https://mcp.example.com/mcp\n\n# Local STDIO server\npostman mcp inspect --allow-stdio -- node server.js\n```\n\n### Call tools, prompts and resources\n\nEach primitive has its own command:\n\n```\npostman mcp tools list --url https://mcp.example.com/mcp\npostman mcp tools call create_issue \\\n  --url https://mcp.example.com/mcp \\\n  --arg title=\"Checkout returns 500\" \\\n  --arg priority=high \\\n  --json\n\npostman mcp prompts list --url https://mcp.example.com/mcp\npostman mcp resources list --url https://mcp.example.com/mcp\npostman mcp resources templates list --url https://mcp.example.com/mcp\n```\n\nPass arguments as JSON, or with `--arg key=value`, which the CLI types from the tool’s input schema. Add `--json` to get output that scripts and agents can parse.\n\n### Reuse saved requests, scripts and tests\n\nIf you’ve already built an MCP request in a collection, run it as it is with `--request`. The CLI uses the saved URL or command, headers, auth and variables. Switch environments with `-e` or `--env-var`.\n\nThe four script hooks, **Before connect**, **After connect**, **After response** and **After disconnect**, run in the same order as in the app. Collection and folder `mcp:*` scripts are inherited too. Here’s an **After connect** script that checks the server exposes the tool you depend on:\n\n``` js\npm.test(\"Server exposes create_issue\", () => {\n  const tool = pm.mcp.tools.find((t) => t.name === \"create_issue\");\n  pm.expect(tool).to.exist;\n  pm.expect(tool.inputSchema.required).to.include(\"title\");\n});\n```\n\n`pm.test` results print under **Tests** and appear in the `--json` output. A failing test exits with code `1`, so it fails a CI pipeline without extra wiring.\n\n### Run MCP requests in a collection run\n\n`postman collection run` runs MCP requests with their scripts and tests in the same run as HTTP and other protocols, and values pass between steps. One run can call your API and then check the MCP tool that reads the result.\n\n### Sign in and create requests from the CLI\n\n`postman mcp login` runs the MCP authorization flow in your browser, including discovery, dynamic client registration and [PKCE](https://datatracker.ietf.org/doc/html/rfc7636). The CLI then stores and refreshes the tokens. If a server answers `401`, the CLI offers to sign you in and retries the command. Over SSH, `--no-browser` lets you paste the redirect URL back.\n\nTo add a request without opening the app, use `postman collection request add --type mcp`, and attach scripts with `--scripts afterResponse:@tests.js`.\n\n## Non-DCR OAuth for MCP servers in Fabric\n\nFabric can now connect to OAuth-protected MCP servers that don’t support [dynamic client registration](https://datatracker.ietf.org/doc/html/rfc7591), such as Slack and GitHub. You bring your own OAuth app, add it to Fabric and link it to the MCP connection. It’s available on the Free, Solo, Team, Enterprise and Consumption Pricing plans.\n\nTo set it up:\n\n1. Register an OAuth app with the MCP server’s provider, and add the redirect URI that Fabric shows you.\n2. In **Admin****>****OAuth clients** , add the app’s client ID, client secret and MCP server URL.\n3. When you create or edit the MCP connection, select that client.\n\nUsers then sign in through the provider’s [OAuth 2.0 authorization flow](https://datatracker.ietf.org/doc/html/rfc6749). Because the client secret lives in Admin, you set it up once and every user of the connection signs in with their own account.\n\n## Try it this week\n\n- Run `postman mcp inspect` against an MCP server you use and read what it exposes.\n- If the server declares the events capability, run `postman mcp events list` , then subscribe to one event type with`--limit 5 --json` .\n- Add an **After connect** test for the tools you rely on, save the request in a collection and run it with`postman collection run` in your pipeline.\n- Register an OAuth app with a provider that doesn’t support dynamic client registration and connect it to Fabric.\n\nChain these and you can watch an event arrive, check the tool that handles it and gate your pipeline on the result.", "url": "https://wpnews.pro/news/whats-new-in-postman-mcp-events-and-cli-testing", "canonical_source": "https://blog.postman.com/whats-new-in-postman-mcp-events-and-cli-testing/", "published_at": "2026-12-04 16:09:11+00:00", "updated_at": "2026-12-04 16:16:19.045696+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "developer-tools", "ai-tools"], "entities": ["Postman", "Model Context Protocol", "Agent Mode", "Postman CLI", "Fabric", "SEP-3415"], "also_reported_by": [], "takeaway": "Postman app 12.39.0 and CLI 1.95.0 can subscribe to MCP server events over push, poll or webhook delivery, and the CLI's `postman mcp events subscribe` command with `--json` writes line-delimited JSON to stdout with structured exit codes for scripting.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/whats-new-in-postman-mcp-events-and-cli-testing", "markdown": "https://wpnews.pro/news/whats-new-in-postman-mcp-events-and-cli-testing.md", "text": "https://wpnews.pro/news/whats-new-in-postman-mcp-events-and-cli-testing.txt", "jsonld": "https://wpnews.pro/news/whats-new-in-postman-mcp-events-and-cli-testing.jsonld"}}