Learning resourcesReviewed · Model Context Protocol

SEP-2567: Sessionless MCP via Explicit State Handles

SEP-2567 is an accepted, now historical design proposal for the Model Context Protocol (MCP), which lets AI models call tools provided by servers; it is written for developers building MCP servers, clients and multi-agent systems, and it is not the current specification. It describes removing protocol sessions and passing explicit object identifiers between tool calls, with guidance on migration, caching, authorization and state lifetime.

Researched 14 Nov 2026

In short.

SEP-2567 is an accepted design proposal for the Model Context Protocol (MCP), which lets AI models call tools provided by servers. Written for server, client and agent developers, it describes replacing connection sessions with explicit identifiers for state shared across tool calls; it is a historical record, not the current specification. The accepted design removes protocol sessions and uses ordinary tool arguments to identify state shared across calls. Its strongest material explains independent state sharing, migration from session-keyed storage, session-independent tool lists and handle security. Explicit handles are a design pattern, not a new protocol feature. Present implementation support, interoperability and performance are not established, and nothing was executed or tested.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is the complete selected page at [https://modelcontextprotocol.io/seps/2567-sessionless-mcp.md], including its Final and historical-record notice. The capture is dated 2026-11-14T01:02:21.020Z, with source SHA-256 178d94c9786107dffae2e2e67511c92c35ceda001ef00071b5442282fe7e21f5. Linked pages, current specifications, companion SEPs, repositories and cited issues are excluded. Nothing was executed or tested. Current requirements, implementation support, external claims, performance and interoperability remain unverified.

The overview

Identity

SEP-2567, Sessionless MCP via Explicit State Handles, is marked Final and Standards Track. The page names Peter Alexander as author and sponsor and gives a creation date of 11 March 2026. The original source is [https://modelcontextprotocol.io/seps/2567-sessionless-mcp.md].

The page preserves the design as accepted. Its notice explicitly directs readers to the current specification and changelog for authoritative requirements because subsequent protocol changes are not reflected in the SEP.

Assessment

This is useful for understanding why application state should have explicit names instead of inheriting an unpredictable connection or session lifetime. It connects that design choice to practical problems: browser state disappearing between calls, unrelated conversations sharing state, and repeated tool-list requests.

Its value is architectural explanation and migration planning. Final status records acceptance of the design; it does not establish which current SDKs, clients or deployed servers implement it.

Users

The closest fit is developers maintaining stateful MCP servers, SDK transports, gateways or systems that coordinate several AI agents. Workflows involving browser contexts, shopping baskets, database connections or transactions make the tradeoffs concrete.

Beginners can follow the basket example to understand a handle: it is an identifier returned by one tool and supplied to later tools. Familiarity with JSON tool calls, authentication and client-server communication helps with the migration and security sections.

Capabilities

The document explains removal of Mcp-Session-Id, session-independent tools/list, resources/list and prompts/list results, and explicit identifiers for state that spans calls. It shows how several agents could share one basket while each uses a separate browser context.

Lists may still differ by authenticated identity or change over time. Under the described design, calling a tool cannot make other tools appear through connection-specific state. A database server would expose query in advance and require a connection_id rather than reveal query only after connection setup.

Using it

Requirements

Servers must still manage their application state, access controls and lifetime policies. The guidance recommends documenting expiry in creation-tool descriptions, returning clear errors for expired handles and providing cleanup or discovery tools where useful. Clients need to preserve live identifiers when conversation history is summarized.

For authenticated servers, the guidance calls for checking the handle together with the caller's authorization on every operation. Without authentication, possession of a handle grants access; the recommendation is at least 128 bits of cryptographically secure entropy and a bounded lifetime. These are recommendations, not requirements enforced by a protocol handle type.

The design relies on related work for other concerns: SEP-2575 addresses initialization and per-request version/capability information, SEP-2322 addresses intermediate request correlation, and SEP-2549 addresses list-cache expiry and invalidation. Their full requirements are outside this page.

Mechanism

A creation tool returns an identifier, optionally in structuredContent. Subsequent tools accept that identifier as an ordinary argument. The server owns the state; the caller carries its name. There is no handles method, special handle schema or wire-level relationship between the producing and consuming tools.

The consequential edits also change identifier scoping. A JSON-RPC sender must avoid reusing an ID while an earlier request with that ID remains unanswered. SSE event IDs become unique across all streams managed by the server. Removing the session-based pagination warning does not define cursor durability or snapshot consistency.

Setup

The described HTTP migration replaces session-keyed application storage with handle-keyed storage, adds creation tools and adds identifier arguments to stateful operations. Telemetry, authentication artifacts and gateway routing keyed by session ID require separate attention.

The page illustrates existing stateless transport settings with sessionIdGenerator: undefined in TypeScript and stateless_http=True in Python. Exact SDK versions, installation steps and current compatibility are unknown. The proposed rollout is a breaking protocol-version change without a deprecation window; the page does not identify the released version containing it.

Example

In the illustrative basket workflow, create_basket() returns basket_id bsk_a1b2c3. The caller supplies that same value to add_item with sku shoes and later to checkout. A second basket would have its own identifier rather than require a second protocol session.

For parallel research, an orchestrator can share the basket_id with several agents while giving each a distinct browser_id. This demonstrates independent sharing policies for different objects. The example was not executed, and no checkout or browser operation was performed.

Assessment & evidence

Limitations

Explicit identifiers do not make application state durable automatically. A server can still expire or lose the underlying object, and a model can mistype an identifier or lose it during context compaction. Cleanup and recovery are not provided automatically by the protocol.

Because handles are ordinary strings, clients cannot identify their lifecycle or dependencies through a dedicated protocol type. Relationships depend on naming and tool descriptions. Machine-readable handle relationships are left to possible future work.

Handles can appear in chat histories, agent prompts and copied text. Authenticated access checks reduce the consequences of disclosure; unauthenticated handles remain access tokens for their lifetime. The document does not demonstrate the security of any particular implementation.

Reasoning

The central argument is that one session boundary cannot express every useful sharing policy. Shared basket state and isolated browser state require different scopes. Explicit identifiers let applications represent those scopes independently and make objects addressable across conversations or agents, subject to authorization and lifetime.

For tool discovery, the SEP models repeated requests as O(subagents × servers) with session-bound lists and O(servers) when agents reuse session-independent cached lists. This assumes the described workload and a valid cache-invalidation mechanism. It is not an empirical benchmark or proof of an equivalent reduction in total traffic.

Alternatives

The page describes retaining an older protocol version until a session-dependent server has migrated. It also notes that a stdio server's process-lifetime state can continue mechanically in its usual deployment, while recommending explicit handles because process scope still depends on the host.

For particular uses of session IDs, the alternatives differ: authenticated identity or request correlation IDs for telemetry, a server-generated nonce for OAuth correlation, and gateway-specific routing keys for HTTP-to-stdio bridges. These mechanisms address different concerns and are not universal substitutes for object handles.

For authoritative implementation requirements, the page points to the current specification and its changelog [https://modelcontextprotocol.io/specification/latest.md]. Their contents are outside the supplied evidence.

Evidence

The evidence is the complete selected SEP page, including its status notice, examples, rationale, migration guidance, security discussion and future-work section. Linked specifications, repositories and issue discussions were not independently examined.

The page reports an automated survey of 1,000 randomly sampled open-source MCP repositories classified through per-repository LLM analysis. It reports 2.5% using session-keyed application state, 0.7% using session-based proxy or gateway routing, and 0.5% binding authentication artifacts to sessions. These are source-reported findings; the underlying classifications and reproducibility are not established here.

The JSON examples illustrate intended behavior. No SDK, client, server or migration was run, and interoperability, reliability and performance were not tested.

Access & freshness

Costs

The page states no price, subscription fee or deployment budget. Implementation and operating costs are unknown. State storage, expiry handling, authorization and migration would remain responsibilities of the implementing application, but their effort and resource use are not quantified.

The proposed reduction in repeated list requests is a request-count argument, not a measured latency improvement or demonstrated monetary saving.

Rights

The supplied page contains no explicit license or redistribution grant for its prose and examples. Permission to redistribute the captured document or reuse its text is therefore unknown from this evidence. Licenses for linked SDKs and repositories are also not established by the page.

Freshness

The page was created on 11 March 2026 and captured on 14 November 2026. It is marked Final, but no finalization date or associated released protocol-version identifier is supplied.

Its historical-record notice expressly limits freshness: protocol changes after finalization are not incorporated. Current client behavior, SDK support, deployment adoption and normative conformance remain unknown from this page alone.

Actions

Before implementing this design, compare the current specification and relevant SDK documentation with the protocol versions your clients and servers support. Identify every use of session IDs in application storage, routing, authentication and telemetry.

For each stateful object, define creation parameters, ownership, authorization, expiry, recovery and cleanup. Make those policies visible in tool descriptions and preserve live identifiers through conversation compaction.

Evaluate shared and isolated state, expired handles, unauthorized access, cache invalidation and mixed-version compatibility in the intended deployment. Those behaviors remain unassessed by the supplied document.

Evidence for this report

selected-page.txtselected · checked 2026-11-14