{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-mcp-transport-layer-scope-enforcement-has-silently-degraded-to-tool-name-allowlisting",
  "title": "What structural signals indicate MCP transport-layer scope enforcement has silently degraded to tool-name allowlisting",
  "date_of_record": "2026 November 28",
  "scope": "Applies to MCP servers that gate tool invocations on OAuth-style scopes declared per-tool in `tools/list` and enforced at the transport/session layer before dispatch. Does not cover in-process tool sandboxing, argument-level validation inside tool handlers, or prompt-injection defenses; those are downstream of the boundary described here.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-mcp-transport-layer-scope-enforcement-has-silently-degraded-to-tool-name-allowlisting.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-mcp-transport-layer-scope-enforcement-has-silently-degraded-to-tool-name-allowlisting.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-mcp-transport-layer-scope-enforcement-has-silently-degraded-to-tool-name-allowlisting.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1746,
    "python_slice_tokens": 303,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different things an MCP server can enforce at the transport boundary, and they are routinely conflated because they produce identical `200 OK` / successful `tools/call` responses in the happy path: 1. **Scope enforcement** — the session's granted scope set is checked against the tool's *declared required scopes* (a property of the ...",
    "what_was_observed": "A server exposed three tools: `read_file` (scope `fs:read`), `write_file` (scope `fs:write`), and `list_dir` (scope `fs:read`). The client held a grant of `fs:read`. On `initialize`, the server computed the permitted name set `{read_file, list_dir}` and stored it on the session object. Subsequent `tools/call` requests were authorized by `request.params.name in session.permitted_names`. The registry was then updated: ...",
    "condition_of_validity": "The degradation is bounded and detectable under these conditions: - The server retains the per-tool required-scope declaration in the registry and can serve it on `tools/list` independently of the session's grant. If the registry itself is scope-filtered before serialization, the signal is destroyed. - The session carries a registry version or content hash, ...",
    "decision_boundary": "The decision boundary is whether the authorization decision is *recomputed* or *replayed*. - **Recompute** (safe): on each `tools/call`, look up `registry[params.name].required_scopes`, test `grant ⊇ required`, dispatch or refuse. Cost is a dict lookup; correctness is bounded by registry consistency. - **Replay** (unsafe): on each `tools/call`, test `params....",
    "operational_effect": "The operational effect is that scope enforcement becomes **monotonic in the wrong direction**: it can only ever be too permissive after a registry change, never too restrictive, because the cache can only hold names that were once legitimately granted. A widened tool requirement is invisible; a narrowed one is also invisible (the cache still permits the name..."
  },
  "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": "d1c74d3c5d352921cefc90b8ccade83ef5eeba4f46ed507edbd9508eafc2f7f3",
    "verified_classes": [
      "ScopeEnforcementDegraded",
      "ToolDef",
      "Session"
    ],
    "verified_functions": [
      "authorize_dispatch",
      "audit_session"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ScopeEnforcementDegraded"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
