139 pages for listen.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
TUI client
Model Context Protocol · in the page
docs/draft/tools/inspector/tui
…n a browser. 3. When the browser redirect lands on the TUI's loopback listener, the connection finishes on its own, with no second **`c`**. 4. Use the **Auth** tab to inspect the resulting OAuth state…
Web client
Model Context Protocol · in the page
docs/draft/tools/inspector/web
…notifications/message` logs in panels below the frame. * The sandbox listens on its own port, `6275` by default (set it with `MCP_SANDBOX_PORT`). An app whose UI resource declares `_meta.ui.domain` h…
Understanding Authorization in MCP
Model Context Protocol · in the page
docs/draft/tutorials/security/authorization
…Request); app.delete("/", authMiddleware, handleSessionRequest); app.listen(CONFIG.port, CONFIG.host, () => { console.log(`🚀 MCP Server running on ${mcpServerUrl.origin}`); console.log(`📡 MCP end…
Local Server Security
Model Context Protocol · in the page
docs/draft/tutorials/security/local-server-security
…than connecting to a malicious endpoint, and local developer tools listening on a port have been exploited directly from a web page. Out of scope: attackers with physical access to your machine…
Security Best Practices
Model Context Protocol · in the page
docs/draft/tutorials/security/security_best_practices
…roves control of a domain, but it cannot prove which local process is listening on a `localhost` redirect URI. #### Attack Description An attacker can claim to be any client by: 1. Providing the le…
Build an MCP App
Model Context Protocol · in the page
extensions/apps/build
…await transport.handleRequest(req, res, req.body); }); expressApp.listen(3001, (err) => { if (err) { console.error("Error starting server:", err); process.exit(1); } console.log("Ser…
Tasks
Model Context Protocol · in the page
extensions/tasks/overview
…tifications/tasks`. Clients opt into these through the `subscriptions/listen` mechanism. Each notification carries the full task state, eliminating the need for an extra `tasks/get` round-trip. Polli…
SEP-1686: Tasks
Model Context Protocol · in the page
seps/1686-tasks
…esult> => { if (!onTaskStatus || !this.taskId) { // No task listener or task ID provided, just block for the result return await result; } // Whichever is successful first (or…
SEP-2567: Sessionless MCP via Explicit State Handles
Model Context Protocol · in the page
seps/2567-sessionless-mcp
…ifetime is tied to session lifetime. ([SEP-2575] introduces `messages/listen` as the delivery channel for server-to-client notifications; subscription lifetime under that model is not re-examined here…
SEP-2575: Make MCP Stateless
Model Context Protocol · in the page
seps/2575-stateless-mcp
…pabilities: ClientCapabilities; }; }; } ``` ### `subscriptions/listen` RPC This SEP introduces a new `subscriptions/listen` RPC that replaces the previous HTTP GET endpoint and ensures consist…
SEP-2663: Tasks Extension
Model Context Protocol · in the page
seps/2663-tasks-extension
…tions/tasks"; params: TaskStatusNotificationParams; } ``` To begin listening for task status notifications, clients send a `subscriptions/listen` request to the server including a list of task IDs…
Transports
Model Context Protocol · in the page
specification/2025-03-26/basic/transports
…ake the stream [resumable](#resumability-and-redelivery). ### Listening for Messages from the Server 1. The client **MAY** issue an HTTP GET to the MCP endpoint. This can be used to open an…
Transports
Model Context Protocol · in the page
specification/2025-06-18/basic/transports
…ake the stream [resumable](#resumability-and-redelivery). ### Listening for Messages from the Server 1. The client **MAY** issue an HTTP GET to the MCP endpoint. This can be used to open an…
Transports
Model Context Protocol · in the page
specification/2025-11-25/basic/transports
…ake the stream [resumable](#resumability-and-redelivery). ### Listening for Messages from the Server 1. The client **MAY** issue an HTTP GET to the MCP endpoint. This can be used to open an…
Architecture
Model Context Protocol · in the page
specification/2026-07-28/architecture/index
…end opt Subscriptions Client->>Server: subscriptions/listen (toolsListChanged, resourceSubscriptions, …) Server--)Client: notifications/subscriptions/acknowledged loop…
Overview
Model Context Protocol · in the page
specification/2026-07-28/basic/index
…tion or session continuity. Long-lived requests like [`subscriptions/listen`](/specification/2026-07-28/basic/patterns/subscriptions) remain request/response; the response is just an open stream of n…
Cancellation
Model Context Protocol · in the page
specification/2026-07-28/basic/patterns/cancellation
…**MUST** send `notifications/cancelled` referencing a `subscriptions/listen` request ID when it tears down that subscription stream (see [Subscriptions][subscriptions]). Servers **MUST NOT** send `no…
Overview
Model Context Protocol · in the page
specification/2026-07-28/basic/patterns/index
…(list changes, resource updates), the client sends a [`subscriptions/listen`](/specification/2026-07-28/basic/patterns/subscriptions) request; the reply is a long-lived stream of the requested notifi…
Subscriptions
Model Context Protocol · in the page
specification/2026-07-28/basic/patterns/subscriptions
# Subscriptions `subscriptions/listen` opens a long-lived notification stream from the server to the client. Unlike one-off requests, the stream stays open and delivers notifications until the client…
stdio
Model Context Protocol · in the page
specification/2026-07-28/basic/transports/stdio
…ssage`. 3. *Notifications* delivered for an active [`subscriptions/listen`][subscriptions-listen] request. Clients **MUST** correlate these using the `io.modelcontextprotocol/subscriptionId` fie…
Streamable HTTP
Model Context Protocol · in the page
specification/2026-07-28/basic/transports/streamable-http
…pdates) are delivered on the response stream of a [`subscriptions/listen`][subscriptions-listen] request. See [Message Flow](#message-flow) for sequence diagrams of these interactions. The serve…
Key Changes
Model Context Protocol · in the page
specification/2026-07-28/changelog
…and `resources/subscribe`/`resources/unsubscribe` with `subscriptions/listen`: a single long-lived POST-response stream for opted-in server-to-client change notifications. Clients opt in to specific t…
Schema Reference
Model Context Protocol · in the page
specification/2026-07-28/schema
…this key on every notification delivered via a <a href="#subscriptionslistenrequest" class="tsd-kind-interface">subscriptions/listen</a> stream, so the client can correlate the notification with the…
Prompts
Model Context Protocol · in the page
specification/2026-07-28/server/prompts
…D** send a notification to clients that have opened a [`subscriptions/listen`](/specification/2026-07-28/basic/patterns/subscriptions) stream with `promptsListChanged: true`: ```json theme={null} {…
Resources
Model Context Protocol · in the page
specification/2026-07-28/server/resources
…update notifications for resources requested through subscriptions/listen using the resourceSubscriptions filter. Servers may advertise either feature independently, together or neither. Server…
Tools
Model Context Protocol · in the page
specification/2026-07-28/server/tools
…D** send a notification to clients that have opened a [`subscriptions/listen`](/specification/2026-07-28/basic/patterns/subscriptions) stream with `toolsListChanged: true`: ```json theme={null} { "…
Logging
Model Context Protocol · in the page
specification/2026-07-28/server/utilities/logging
…quest-scoped: the server **MUST NOT** deliver it on a [`subscriptions/listen`](/specification/2026-07-28/basic/patterns/subscriptions) stream or on any stream other than the one carrying the response…
Architecture
Model Context Protocol · in the page
specification/draft/architecture/index
…end opt Subscriptions Client->>Server: subscriptions/listen (toolsListChanged, resourceSubscriptions, …) Server--)Client: notifications/subscriptions/acknowledged loop…
Overview
Model Context Protocol · in the page
specification/draft/basic/index
…tion or session continuity. Long-lived requests like [`subscriptions/listen`](/specification/draft/basic/patterns/subscriptions) remain request/response; the response is just an open stream of notifi…
Cancellation
Model Context Protocol · in the page
specification/draft/basic/patterns/cancellation
…**MUST** send `notifications/cancelled` referencing a `subscriptions/listen` request ID when it tears down that subscription stream (see [Subscriptions][subscriptions]). Servers **MUST NOT** send `no…
Overview
Model Context Protocol · in the page
specification/draft/basic/patterns/index
…(list changes, resource updates), the client sends a [`subscriptions/listen`](/specification/draft/basic/patterns/subscriptions) request; the reply is a long-lived stream of the requested notificatio…
Subscriptions
Model Context Protocol · in the page
specification/draft/basic/patterns/subscriptions
# Subscriptions `subscriptions/listen` opens a long-lived notification stream from the server to the client. Unlike one-off requests, the stream stays open and delivers notifications until the client…
stdio
Model Context Protocol · in the page
specification/draft/basic/transports/stdio
…ssage`. 3. *Notifications* delivered for an active [`subscriptions/listen`][subscriptions-listen] request. Clients **MUST** correlate these using the `io.modelcontextprotocol/subscriptionId` fie…
Streamable HTTP
Model Context Protocol · in the page
specification/draft/basic/transports/streamable-http
…pdates) are delivered on the response stream of a [`subscriptions/listen`][subscriptions-listen] request. See [Message Flow](#message-flow) for sequence diagrams of these interactions. The serve…
Schema Reference
Model Context Protocol · in the page
specification/draft/schema
…this key on every notification delivered via a <a href="#subscriptionslistenrequest" class="tsd-kind-interface">subscriptions/listen</a> stream, so the client can correlate the notification with the…
Prompts
Model Context Protocol · in the page
specification/draft/server/prompts
…D** send a notification to clients that have opened a [`subscriptions/listen`](/specification/draft/basic/patterns/subscriptions) stream with `promptsListChanged: true`: ```json theme={null} { "jso…
Resources
Model Context Protocol · in the page
specification/draft/server/resources
…update notifications for resources requested through subscriptions/listen using the resourceSubscriptions filter. Servers may advertise either feature independently, together or neither. Server…
Tools
Model Context Protocol · in the page
specification/draft/server/tools
…D** send a notification to clients that have opened a [`subscriptions/listen`](/specification/draft/basic/patterns/subscriptions) stream with `toolsListChanged: true`: ```json theme={null} { "jsonr…
Logging
Model Context Protocol · in the page
specification/draft/server/utilities/logging
…quest-scoped: the server **MUST NOT** deliver it on a [`subscriptions/listen`](/specification/draft/basic/patterns/subscriptions) stream or on any stream other than the one carrying the response to th…