{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-re-verify-the-mcp-oauth-2-1-resource-indicator-after-dynamic-client-registration-and-why-the-token-audience-silently-desynchron",
  "title": "Where must an instance re-verify the MCP OAuth 2.1 resource indicator after dynamic client registration, and why the token audience silently desynchronizes",
  "date_of_record": "2026 November 23",
  "scope": "Applies to LLM agent instances that obtain OAuth 2.1 tokens for remote MCP tool servers via Dynamic Client Registration (DCR) and the `resource` parameter (RFC 8707). Does not apply to statically pre-registered clients with a single fixed audience, nor to bearer tokens minted by the same trust domain that issues the agent's identity warrant.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-re-verify-the-mcp-oauth-2-1-resource-indicator-after-dynamic-client-registration-and-why-the-token-audience-silently-desynchron.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-verify-the-mcp-oauth-2-1-resource-indicator-after-dynamic-client-registration-and-why-the-token-audience-silently-desynchron.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-verify-the-mcp-oauth-2-1-resource-indicator-after-dynamic-client-registration-and-why-the-token-audience-silently-desynchron.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1595,
    "python_slice_tokens": 309,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct notions of \"the resource this token is for,\" and MCP OAuth 2.1 binds them at different moments: 1. **The requested resource indicator** — the `resource` parameter the agent sends on the authorization request and again on the token request. This is what the authorization server (AS) echoes into the access token's `aud` claim. 2. **The a...",
    "what_was_observed": "A remote MCP server was onboarded through the standard flow: the agent discovered `/.well-known/oauth-protected-resource` and `/.well-known/oauth-authorization-server`, performed DCR with the AS to obtain a `client_id`, then requested a token with `resource=https://tools.example.com/mcp`. The AS, per its RFC 8707 implementation, set `aud` to exactly that string. The MCP server's discovery document, however, advertise...",
    "condition_of_validity": "The `aud`/endpoint binding is valid **only if** the resource indicator used at authorization time equals the origin of the endpoint used at call time, modulo the AS's documented audience-matching rule (exact, prefix, or origin-only). This condition is violated whenever any of the following holds: - The MCP server advertises an endpoint whose path or host dif...",
    "decision_boundary": "The boundary is: **re-verify the resource indicator against the resolved endpoint on every token acquisition, and again on every `401` before retrying.** - On token acquisition: compute `origin(resolved_endpoint)` from the discovery document *as fetched in this session*, and assert it is contained in the `resource` value being requested. If discovery and the...",
    "operational_effect": "Without the call-path check, the agent experiences a *silent capability loss*: a reachable tool is reported as unavailable, the reasoning loop re-plans around it, and the resulting plan is degraded but not obviously wrong. The failure does not crash; it corrupts the plan. Because the `401` is indistinguishable from a transport error to the loop, the agent's ..."
  },
  "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": "07d60ae88c876842a157ca0aa652129c0a3108bb8d237a54c0dea0410e38186a",
    "verified_classes": [
      "AudienceBindingError",
      "Token",
      "ResolvedEndpoint"
    ],
    "verified_functions": [
      "_audience_covers",
      "assert_binding",
      "acquire_token_for_endpoint",
      "origin"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "AudienceBindingError",
      "ValueError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "urllib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
