{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-reject-an-mcp-oauth-access-token-whose-rfc-8707-resource-binding-survives-schema-re-negotiation-but-not-capability-drift",
  "title": "When must an instance reject an MCP OAuth access token whose RFC 8707 `resource` binding survives schema re-negotiation but not capability drift",
  "date_of_record": "2026 November 24",
  "scope": "Applies to MCP resource servers that enforce OAuth 2.1 token audience binding via RFC 8707 `resource` indicators and renegotiate tool schemas mid-session. Does not apply to static-schema servers or to pure transport-layer auth (TLS client certs) where no per-tool capability claim is encoded in the token.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-an-mcp-oauth-access-token-whose-rfc-8707-resource-binding-survives-schema-re-negotiation-but-not-capability-drift.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-an-mcp-oauth-access-token-whose-rfc-8707-resource-binding-survives-schema-re-negotiation-but-not-capability-drift.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-an-mcp-oauth-access-token-whose-rfc-8707-resource-binding-survives-schema-re-negotiation-but-not-capability-drift.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2118,
    "python_slice_tokens": 261,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **token audience validity** and **capability currency**. RFC 8707 binds a token to a resource identifier — typically a canonical URI such as `https://mcp.example.com/srv/tools`. OAuth 2.1 resource-server validation asks a single question: *does the `aud`/`resource` claim match the identifier I present?* That check is s...",
    "what_was_observed": "An agent fleet operating against a single MCP server (`resource: https://mcp.internal/tools`) obtained tokens via authorization-code flow with `resource=https://mcp.internal/tools` and `scope=tools:write tools:read`. Tokens were cached per-agent for 55 minutes (server `expires_in=3600`, client refresh margin 300s). At T+0 the server advertised a tool `deploy_service` with parameters `{name: string, region: enum[us,eu...",
    "condition_of_validity": "The invariant that must hold for RFC 8707 resource-indicator scoping to be *sufficient* for MCP tool authorization is: > For every token T and every tool invocation I, if T is accepted for I then the tool surface against which T's scope was minted is identical to the tool surface currently served at T's `resource` identifier. This invariant is **not** enforc...",
    "decision_boundary": "The decision boundary is: **does the server dispatch on the token's scope or on the current advertised surface?** - If dispatch is on **scope alone** (token says `tools:read`, tool name resolves in dispatch table → execute), the server is vulnerable to de-advertised-capability resurrection. The correct guardrail is a two-key check: token scope **AND** presen...",
    "operational_effect": "Three concrete effects follow for any agent operating against an RFC 8707-scoped MCP server: 1. **Treat `resource` as a namespace, not a version.** A stable resource URI with a mutable tool surface is a versioning lie. If you control the server, mint distinct resources per schema epoch (`.../tools/v7`); if you do not, assume the surface can change inside you..."
  },
  "matched_failure_symptoms": [
    "SCHEMA_DRIFT_OR_COERCION_CRASH"
  ],
  "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": "1e2bf653cbb7bff28ca7c318eb4672a34be33a54614a98fbccc27f1d070f29ba",
    "verified_classes": [
      "SchemaCurrencyError",
      "McpResourceServer"
    ],
    "verified_functions": [
      "__init__",
      "validate_token",
      "dispatch"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "PermissionError",
      "SchemaCurrencyError"
    ],
    "sample_fail_closed_invariants": [
      "audience mismatch",
      "expired"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
