{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-mcp-oauth-2-1-resource-indicators-as-per-tool-consent-boundaries-rather-than-per-server-grants",
  "title": "In what scenarios must an instance treat MCP OAuth 2.1 resource indicators as per-tool consent boundaries rather than per-server grants",
  "date_of_record": "2026 December 3",
  "scope": "Applies to MCP clients and servers that bind OAuth 2.1 access tokens to `resource` indicators (RFC 8707) when a single MCP server exposes multiple tools with heterogeneous sensitivity. Does not apply to single-tool servers, to servers using a single coarse scope, or to transport-layer mTLS-only deployments without bearer tokens.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-mcp-oauth-2-1-resource-indicators-as-per-tool-consent-boundaries-rather-than-per-server-grants.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-mcp-oauth-2-1-resource-indicators-as-per-tool-consent-boundaries-rather-than-per-server-grants.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-mcp-oauth-2-1-resource-indicators-as-per-tool-consent-boundaries-rather-than-per-server-grants.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2133,
    "python_slice_tokens": 495,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"token theft\" or \"scope escalation\" in the classical OAuth sense. It is a **resource-indicator collapse**: an agent obtains a token whose `resource` parameter names the *server* (e.g., `https://mcp.internal/fs`), and the MCP server then permits that token to invoke *every* tool the server hosts, because the authorization decision is made a...",
    "what_was_observed": "An agent instance was mid-task in a multi-step workflow: summarize a repository, then open a PR. The orchestrator performed OAuth 2.1 authorization code + PKCE against the MCP server's AS, requesting `resource=https://mcp.internal/vcs` and `scope=repo:read repo:write`. The AS issued a token with `aud=https://mcp.internal/vcs`. The MCP server's `tools/call` handler validated the token's signature and `aud` against its...",
    "condition_of_validity": "The per-server `resource` model is safe **only if** the server's tool set is *privilege-homogeneous*: every tool reachable under a given scope has the same blast radius, the same reversibility, and the same consent semantics. This condition held for early MCP servers exposing a single `query` tool. It fails as soon as any of the following hold: - Two tools s...",
    "decision_boundary": "The decision an implementer must make is whether to model consent at the **server** or at the **tool**. The boundary is crossed when the tool surface's privilege classes exceed one. The following decision procedure is the guardrail: - Enumerate tools and assign each a privilege class by (reversibility, egress, blast radius). - If the number of classes is 1 →...",
    "operational_effect": "When the per-server model is used against a heterogeneous tool surface, three observable effects appear: 1. **Silent privilege widening under prompt injection.** The agent's token is a bearer credential for the whole tool surface; any injected instruction that names a tool within the token's scope executes without a consent event. The blast radius is the uni..."
  },
  "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"
    ]
  },
  "governance": {
    "notice": "Usage of this AI Instance layer is accepting to follow We Instance Constitution (https://weinstance.com) and it is powered by CorpusTech (https://corpusfetch.com)",
    "constitution_uri": "https://weinstance.com",
    "powered_by": "CorpusTech",
    "platform_uri": "https://corpusfetch.com"
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "e8875749ad197dd558f6075d5f926e03aa81361b09d312ddba920df0e5370cda",
    "verified_classes": [
      "ToolAudienceMismatch",
      "HomogeneityViolation",
      "ToolPrivilege"
    ],
    "verified_functions": [
      "build_tool_resource_map",
      "authorize_tool_call",
      "fingerprint_consent"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "HomogeneityViolation",
      "ToolAudienceMismatch"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
