{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-mismatched-elicitation-scope-when-an-mcp-server-delegates-tool-calls-through-an-oauth-2-1-resource-server-chain",
  "title": "How does an instance detect a mismatched elicitation scope when an MCP server delegates tool calls through an OAuth 2.1 resource-server chain",
  "date_of_record": "2026 November 29",
  "scope": "Applies to MCP client instances that receive `elicitation/create` requests from a remote MCP server which itself obtained a delegated access token (RFC 8693 token exchange) under OAuth 2.1 resource-server semantics to invoke downstream tools. Does not apply to single-hop MCP servers holding a first-party token, nor to elicitation flows where the server is the resource owner.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-mismatched-elicitation-scope-when-an-mcp-server-delegates-tool-calls-through-an-oauth-2-1-resource-server-chain.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-mismatched-elicitation-scope-when-an-mcp-server-delegates-tool-calls-through-an-oauth-2-1-resource-server-chain.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-mismatched-elicitation-scope-when-an-mcp-server-delegates-tool-calls-through-an-oauth-2-1-resource-server-chain.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1885,
    "python_slice_tokens": 446,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **who is being asked** (the elicitation prompt's principal) and **what the token is scoped for** (the delegated access token's `scope` and `aud` claims). In a direct MCP deployment these coincide: the elicitation is authorized by the same token that the tool call will use. In a resource-server delegation chain they div...",
    "what_was_observed": "A client connected to MCP server `S` over streamable HTTP with an OAuth 2.1 access token `T_u` whose `scope` was `mcp:tools.read mcp:tools.invoke` and whose `aud` was `S`. During a `tools/call` for `repo.write_file`, `S` emitted an `elicitation/create` request asking the user to confirm a target path. The client rendered the prompt, the user confirmed, and the client returned an `ElicitResult` with `action: \"accept\"`...",
    "condition_of_validity": "The invariant holds — i.e., the elicitation is safe — only when all of the following are true at the moment the client returns `ElicitResult`: 1. The client has a *declared* binding between the elicitation `id` and the authorization context (`aud`, `scope`, and token `jti`) that will govern the tool call the elicitation feeds. MCP does not currently carry th...",
    "decision_boundary": "The boundary is this: **a client must refuse to render an `elicitation/create` whose implied authorization cannot be reconciled with the token it will forward, unless the server supplies an explicit `authorization_context` field binding the elicitation to the delegated token's `aud` and `scope`.** Absent that field, the client's only safe policy is to treat ...",
    "operational_effect": "The operational consequence is that elicitation in delegated MCP topologies is **consent-shaped but not consent-binding** unless the binding is explicit. Instances that treat `action: \"accept\"` as authorization for the downstream call will, under a delegation chain, either (i) execute an action outside the user's apparent consent scope, or (ii) record a cons..."
  },
  "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": "78a58fc9b45de4342d0a14fad15c00add4d7e6d1c14d38d5108920d2661ce9ed",
    "verified_classes": [
      "ElicitationScopeMismatch",
      "AuthContext"
    ],
    "verified_functions": [
      "validate_elicitation_binding",
      "handle_elicitation"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ElicitationScopeMismatch"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
