Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

232 pages for timeout.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

SEP-1036: URL Mode Elicitation for secure out-of-band interactions Model Context Protocol · in the page seps/1036-url-mode-elicitation-for-secure-out-of-band-intera …should**: * Log security events for audit purposes * Implement timeout mechanisms for elicitation requests * Provide clear error messages for security failures ### Relationship to Existing… SEP-1686: Tasks Model Context Protocol · in the page seps/1686-tasks …rming whether the task was created With server-generated task IDs, a timeout or connection failure creates uncertainty—the client doesn't know whether the task was created, and has no safe way to ret… SEP-1865: MCP Apps - Interactive User Interfaces for MCP Model Context Protocol · in the page seps/1865-mcp-apps-interactive-user-interfaces-for-mcp …type definitions, SDKs, etc.). JSON-RPC offers advanced capabilities (timeouts, errors, etc.). **Alternatives considered:** * **Custom message protocol:** Current MCP-UI approach with message types… SEP-2106: Tools `inputSchema` & `outputSchema` Conform to JSON Schema 2020-12 Model Context Protocol · in the page seps/2106-json-schema-2020-12 …um reject loopback, link-local, and private network addresses), apply timeouts and size limits, and log dereferenced URIs. * Schemas that fail to validate due to an unresolved external `$ref` SHOULD b… SEP-2260: Require Server requests to be associated with a Client request. Model Context Protocol · in the page seps/2260-Require-Server-requests-to-be-associated-with-Client-requests …o-server request that requires that information from the client. ### Timeout Considerations When an MCP Server initiates a "nested" request inside a client request, the duration of the parent reques… SEP-2575: Make MCP Stateless Model Context Protocol · in the page seps/2575-stateless-mcp …ons/cancelled` on STDIO); * the underlying connection is closed (HTTP timeout, TCP disconnect, STDIO process exit); or * the server tears it down (e.g., shutdown), in which case it **MUST** close… SEP-991: Enable URL-based Client Registration using OAuth Client ID Metadata Documents Model Context Protocol · in the page seps/991-enable-url-based-client-registration-using-oauth-c …ominently 2. **SSRF Protection**: Validate URLs, limit response size, timeout requests, rate limit outbound requests ### Best Practices * Only fetch client metadata after authenticating the user * I… Lifecycle Model Context Protocol · in the page specification/2024-11-05/basic/lifecycle …tch * Failure to negotiate required capabilities * Initialize request timeout * Shutdown timeout Implementations **SHOULD** implement appropriate timeouts for all requests, to prevent hung connection… Ping Model Context Protocol · in the page specification/2024-11-05/basic/utilities/ping …"result": {} } ``` 2. If no response is received within a reasonable timeout period, the sender **MAY**: * Consider the connection stale * Terminate the connection * Attempt reconnection pro… Tools Model Context Protocol · in the page specification/2024-11-05/server/tools …ation * Validate tool results before passing to LLM * Implement timeouts for tool calls * Log tool usage for audit purposes Authorization Model Context Protocol · in the page specification/2025-03-26/basic/authorization …curely store third-party credentials 3. Implement appropriate session timeout handling 4. Consider security implications of token chaining 5. Implement proper error handling for third-party auth failu… Lifecycle Model Context Protocol · in the page specification/2025-03-26/basic/lifecycle …utdown is indicated by closing the associated HTTP connection(s). ## Timeouts Implementations **SHOULD** establish timeouts for all sent requests, to prevent hung connections and resource exhaustion… Ping Model Context Protocol · in the page specification/2025-03-26/basic/utilities/ping …"result": {} } ``` 2. If no response is received within a reasonable timeout period, the sender **MAY**: * Consider the connection stale * Terminate the connection * Attempt reconnection pro… Tools Model Context Protocol · in the page specification/2025-03-26/server/tools …ation * Validate tool results before passing to LLM * Implement timeouts for tool calls * Log tool usage for audit purposes Lifecycle Model Context Protocol · in the page specification/2025-06-18/basic/lifecycle …utdown is indicated by closing the associated HTTP connection(s). ## Timeouts Implementations **SHOULD** establish timeouts for all sent requests, to prevent hung connections and resource exhaustion… Ping Model Context Protocol · in the page specification/2025-06-18/basic/utilities/ping …"result": {} } ``` 2. If no response is received within a reasonable timeout period, the sender **MAY**: * Consider the connection stale * Terminate the connection * Attempt reconnection pro… Tools Model Context Protocol · in the page specification/2025-06-18/server/tools …ation * Validate tool results before passing to LLM * Implement timeouts for tool calls * Log tool usage for audit purposes Lifecycle Model Context Protocol · in the page specification/2025-11-25/basic/lifecycle …utdown is indicated by closing the associated HTTP connection(s). ## Timeouts Implementations **SHOULD** establish timeouts for all sent requests, to prevent hung connections and resource exhaustion… Ping Model Context Protocol · in the page specification/2025-11-25/basic/utilities/ping …"result": {} } ``` 2. If no response is received within a reasonable timeout period, the sender **MAY**: * Consider the connection stale * Terminate the connection * Attempt reconnection pro… Tools Model Context Protocol · in the page specification/2025-11-25/server/tools …ation * Validate tool results before passing to LLM * Implement timeouts for tool calls * Log tool usage for audit purposes Overview Model Context Protocol · in the page specification/2026-07-28/basic/index …rs that are purely local to an implementation (for example, a request timeout raised inside an SDK) are not currently assigned codes by this specification. Implementations surfacing local errors in JS… Cancellation Model Context Protocol · in the page specification/2026-07-28/basic/patterns/cancellation …notifications/cancelled` notification referencing the request ID. ## Timeouts Implementations **SHOULD** establish timeouts for all sent requests, to prevent hung connections and resource exhaustion… Subscriptions Model Context Protocol · in the page specification/2026-07-28/basic/patterns/subscriptions …ure)), then close the stream. * The underlying transport closes (HTTP timeout, TCP disconnect, stdio process exit). ### Graceful Closure When the server ends a subscription on its own initiative (… stdio Model Context Protocol · in the page specification/2026-07-28/basic/transports/stdio …er returns any other error, or does not respond within a reasonable timeout: the server is legacy. Fall back to the `initialize` handshake. The fallback **MUST NOT** be keyed to one specific erro… Streamable HTTP Model Context Protocol · in the page specification/2026-07-28/basic/transports/streamable-http …s the connection from being > closed by intermediaries or client idle timeouts during quiet periods when no > notifications are flowing. Per the \[SSE specification]\[sse], any line beginning > with a… Tools Model Context Protocol · in the page specification/2026-07-28/server/tools …s and outputs against `inputSchema` and `outputSchema` * Implement timeouts for tool calls * Log tool usage for audit purposes Overview Model Context Protocol · in the page specification/draft/basic/index …rs that are purely local to an implementation (for example, a request timeout raised inside an SDK) are not currently assigned codes by this specification. Implementations surfacing local errors in JS… Cancellation Model Context Protocol · in the page specification/draft/basic/patterns/cancellation …notifications/cancelled` notification referencing the request ID. ## Timeouts Implementations **SHOULD** establish timeouts for all sent requests, to prevent hung connections and resource exhaustion… Subscriptions Model Context Protocol · in the page specification/draft/basic/patterns/subscriptions …ure)), then close the stream. * The underlying transport closes (HTTP timeout, TCP disconnect, stdio process exit). ### Graceful Closure When the server ends a subscription on its own initiative (… stdio Model Context Protocol · in the page specification/draft/basic/transports/stdio …er returns any other error, or does not respond within a reasonable timeout: the server is legacy. Fall back to the `initialize` handshake. The fallback **MUST NOT** be keyed to one specific erro… Streamable HTTP Model Context Protocol · in the page specification/draft/basic/transports/streamable-http …s the connection from being > closed by intermediaries or client idle timeouts during quiet periods when no > notifications are flowing. Per the \[SSE specification]\[sse], any line beginning > with a… Tools Model Context Protocol · in the page specification/draft/server/tools …s and outputs against `inputSchema` and `outputSchema` * Implement timeouts for tool calls * Log tool usage for audit purposes
Feedback