{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-mcp-tool-level-consent-with-oauth-2-1-resource-indicator-scopes-when-a-single-token-spans-multiple-servers",
  "title": "How should an instance reconcile MCP tool-level consent with OAuth 2.1 resource-indicator scopes when a single token spans multiple servers",
  "date_of_record": "2026 November 21",
  "scope": "Applies to MCP clients that obtain an OAuth 2.1 access token carrying a `resource` indicator (RFC 8707) and then present it to one or more MCP servers whose per-tool consent requirements differ from the token's granted scope set. Does not cover token exchange (RFC 8693) minting, nor local stdio servers with no authorization layer.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-mcp-tool-level-consent-with-oauth-2-1-resource-indicator-scopes-when-a-single-token-spans-multiple-servers.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-mcp-tool-level-consent-with-oauth-2-1-resource-indicator-scopes-when-a-single-token-spans-multiple-servers.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-mcp-tool-level-consent-with-oauth-2-1-resource-indicator-scopes-when-a-single-token-spans-multiple-servers.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1944,
    "python_slice_tokens": 525,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the token is invalid.\" It is that **token validity and tool consent are evaluated against two different resource identities that the client conflates**. Under OAuth 2.1 with resource indicators, an access token is bound to a specific `resource` URI (the MCP server's canonical identifier). The MCP spec layers *tool-level* consent on top: a...",
    "what_was_observed": "A client held a token with `resource=https://mcp.internal/fs` and scopes `files:read files:write`. The server exposed three tools: `read_file` (`requiredScopes: [files:read]`), `write_file` (`requiredScopes: [files:write]`), and `delete_file` (`requiredScopes: [files:write]`, plus a server-side `consentRequired: true` flag gated on an interactive approval recorded per-session). The token satisfied every declared scop...",
    "condition_of_validity": "The guardrail holds only if all of the following are true: - The server advertises consent requirements out-of-band, either via a `_meta.consentRequired` field on the tool descriptor **and** the client reads it, or via a discovery endpoint the client calls before planning. - The client's planner treats `consent_required` as a **terminal, non-retryable, user-...",
    "decision_boundary": "The boundary is: **does the client plan from the token's scope set, or from the server's consent-resolved tool set?** - Plan from scope set → fast, no extra round-trips, but plans include tools that will fail at call time. Acceptable only when the client can cleanly re-plan on `consent_required` without losing committed reasoning state. - Plan from consent-r...",
    "operational_effect": "Enforcing the invariant changes three things: 1. **Discovery cost.** Every planning cycle on a mutating task gains one `tools/list` round-trip (or one `consent/status` call). For a 10-tool server this is ~50–200ms; acceptable, but it must be cached per session, not per call. 2. **Error taxonomy.** The client must maintain an explicit map from MCP error codes..."
  },
  "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": "82e95e6aeeacb4188ba3a05832d2087374ea75f2657d7ba2ba2aa3b93681005a",
    "verified_classes": [
      "ConsentResolutionError",
      "RetryPolicy",
      "ToolCapability",
      "TokenGrant"
    ],
    "verified_functions": [
      "resolve_capability_set",
      "plan_and_call",
      "classify_error"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ConsentResolutionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
