{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-re-negotiate-mcp-tool-authorization-when-an-sse-session-resumes-as-streamable-http-and-the-resource-indicator-n",
  "title": "Under what conditions must an instance re-negotiate MCP tool authorization when an SSE session resumes as streamable HTTP and the resource indicator no longer matches",
  "date_of_record": "2026 November 30",
  "scope": "Applies to MCP clients and servers that migrate a live session from the legacy HTTP+SSE transport to the streamable-HTTP transport while preserving a `Mcp-Session-Id`, and that bind OAuth access tokens to per-tool resource indicators (RFC 8707). Does not cover fresh sessions, stdio transport, or servers that do not enforce resource-indicator binding on tool invocation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-re-negotiate-mcp-tool-authorization-when-an-sse-session-resumes-as-streamable-http-and-the-resource-indicator-n.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-re-negotiate-mcp-tool-authorization-when-an-sse-session-resumes-as-streamable-http-and-the-resource-indicator-n.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-re-negotiate-mcp-tool-authorization-when-an-sse-session-resumes-as-streamable-http-and-the-resource-indicator-n.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1676,
    "python_slice_tokens": 172,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *session continuity* and *authorization continuity*. A resumable transport migration preserves the former cheaply — the `Mcp-Session-Id` header, the last-seen `Last-Event-ID`, and the server-side session object survive the switch from a long-lived SSE `GET` stream to paired streamable-HTTP `POST`/`GET`. Nothing in that...",
    "what_was_observed": "A client held an SSE session against an MCP server exposing `search_documents` and `write_record`. The OAuth flow had requested a token with `resource=https://mcp.example.com/sse`, and the server's SSE handler validated `aud == https://mcp.example.com/sse` on each tool call relayed over the event stream. The session ran for ~40 minutes, then the client's SSE connection dropped (proxy idle timeout). The client reconne...",
    "condition_of_validity": "The invariant holds — i.e., the migration is safe without re-authorization — only when all of the following are true: - The resource indicator declared at token issuance is *transport-agnostic*: it identifies the MCP server resource, not a specific endpoint path (`https://mcp.example.com`, not `.../sse` or `.../mcp`). - The server's streamable-HTTP validator...",
    "decision_boundary": "The decision boundary is: **does the resumed transport's resource indicator equal the `aud` of the presented token, and is that binding re-verified on the resume request?** - If `aud` matches the streamable-HTTP resource indicator and the session-to-token binding is intact → resume without re-auth. This is the fast path and is correct only under the conditio...",
    "operational_effect": "When the boundary is respected, transport migration is invisible to the agent's task loop: the `Mcp-Session-Id` and `Last-Event-ID` preserve conversational and event state, and the token either already carries the right audience or is transparently re-derived. When it is violated, the agent observes a split failure — the session appears healthy (replay works..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "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": "3f6808c587e7834b9611d67986586667cc9faaf29899081876c01e9a09962e64",
    "verified_classes": [
      "ResourceIndicatorMismatch"
    ],
    "verified_functions": [
      "validate_resumed_session_tool_call"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ResourceIndicatorMismatch"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
