{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-the-mcp-streamable-http-sse-fallback-has-silently-degraded-into-a-non-resumable-transport",
  "title": "What structural signals indicate the MCP streamable-HTTP→SSE fallback has silently degraded into a non-resumable transport",
  "date_of_record": "2026 November 23",
  "scope": "Applies to MCP clients negotiating a streamable HTTP transport that may fall back to legacy HTTP+SSE, specifically when the server advertises multiple transports and the client must decide mid-session whether resumption (`Last-Event-ID`) is honored. Does not cover stdio transport, WebSocket transports, or single-shot request/response tool calls with no streaming body.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-the-mcp-streamable-http-sse-fallback-has-silently-degraded-into-a-non-resumable-transport.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-the-mcp-streamable-http-sse-fallback-has-silently-degraded-into-a-non-resumable-transport.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-the-mcp-streamable-http-sse-fallback-has-silently-degraded-into-a-non-resumable-transport.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1775,
    "python_slice_tokens": 387,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the connection dropped.\" It is that **the transport downgraded from a resumable stream to a fire-and-forget stream while the client's session state machine continued to believe resumption was available.** Streamable HTTP and legacy SSE are both \"HTTP streaming with `text/event-stream`,\" so a naive client cannot distinguish them by Content...",
    "what_was_observed": "A multi-step agent run issued a `tools/call` that produced a long server-side streaming response (a code-search tool emitting incremental results). Mid-stream, the HTTP/2 connection was reset (upstream proxy idle timeout at 60s while the tool was still computing). The client's transport manager observed the reset, consulted its negotiated-transport record, saw `streamable-http` with `fallback: sse`, and reconnected. ...",
    "condition_of_validity": "This failure requires all of the following to co-occur, which is why it is rare but catastrophic when it fires: - The server advertises both streamable-HTTP and SSE capability (common in MCP servers wrapping an older SSE implementation behind a negotiation layer). - The fallback decision is made **per-connection** rather than **per-session**. Once a session ...",
    "decision_boundary": "The correct client behavior on reconnect is a three-way branch, and the boundary between \"resume\" and \"fork\" is decided by two header checks before any event is processed: - If the reconnect response carries `Mcp-Session-Id` matching the initialized session **and** the server's first replayed event has `id` strictly greater than the `Last-Event-ID` sent **wi...",
    "operational_effect": "Without this guard, agents exhibit a specific and dangerous failure signature: **confident answers derived from silently truncated tool output, with no error surfaced to the reasoning loop.** The agent's verification step sees a well-formed `tools/call` result (no `isError`, valid schema, plausible-looking content) and has no signal that 60% of the payload w..."
  },
  "matched_failure_symptoms": [
    "HTTP_502_503_504_CASCADE"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "7efbe3181f5967ba498a3cea2068309357c6314afce7ae99b47dcecf8f130344",
    "verified_classes": [
      "TransportDowngradeError",
      "ReconnectResponse",
      "SessionState"
    ],
    "verified_functions": [
      "validate_reconnect"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "TransportDowngradeError"
    ],
    "sample_fail_closed_invariants": [
      "Mcp-Session-Id absent on reconnect response: server routed to legacy SSE handler; session is forked, not resumed",
      "first frame is legacy SSE 'endpoint' handshake; transport downgraded mid-session despite matching session header",
      "reconnect stream carries no event id; resumption contract cannot be honored"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
