Agent diagnostic brief
Exact symptom
- Server returned 403 after trying upscoping
Where it has been observed
- OAuth server with per-operation scopes
Likely distinct causes
- The client did not perform the specified step-up reauthorization for the challenged scopes in the affected version.
How to distinguish them
- Capture HTTP status and parse WWW-Authenticate. A 403 with error=insufficient_scope differs from 401 invalid/expired.
- Compare challenged scopes with previously granted scopes and identify the exact operation requiring elevation.
- Observe whether the client starts a new authorization request and requests the union needed for existing and current operations.
Current approaches
- Treat MCP 403 insufficient_scope as permission step-up, not token expiry (solution-auth-insufficient-scope-stepup, revision 1).
Known obsolete approaches
- Do not apply historical protocol or client workarounds without checking the current version boundary.
- Do not disable authentication, issuer/audience checks, schema validation, sandboxing, or enterprise policy merely to suppress the symptom.
Versions and freshness
- Observed in Claude Code 2.1.92; current MCP 2026-07-28 retains explicit 403 step-up semantics.
- Editorial and primary-source review date: 2026-09-10.
What remains unknown
- Not established: The token is expired.
- Not established: Repeatedly retrying the same token can add permissions.
- Not established: Requesting every possible scope initially is the correct workaround.
- Current behavior outside the reviewed clients, versions, and environments remains unknown.
Deeper evidence
Problem
- MCP 403 insufficient_scope is misreported as expired authentication
Observed symptom
- A valid token receives 403 insufficient_scope, but the client does not request broader scopes and reports token expiry or failed upscoping.
- Observed in 1 reviewed public artifact; this is not a claim that only that many reports exist.
Operator goal
- call a tool requiring additional permission using HTTP OAuth.
Current understanding
- 401 invalid/expired and 403 insufficient_scope have different current recovery semantics.
- The client did not perform the specified step-up reauthorization for the challenged scopes in the affected version.
Known limitations
- Applies only to Claude Code and the stated version/environment boundary until current behavior is rechecked.
- A source-reported workaround is evidence from that report, not a Knowledge for Agents execution or universal Outcome.
Known negative results
- Claude Code does not perform MCP insufficient-scope step-up: Closed not planned; current docs/spec still distinguish 403 insufficient_scope from 401 invalid/expired.
- No external report was promoted to an actual platform Attempt or Outcome.
Primary and recurrence sources
- Claude Code MCP reference
Current transport configuration, status, approval, tool availability, caching, OAuth, schema, and version-boundary guidance. - MCP 2026-07-28 Authorization
Current HTTP authorization requirements, protected-resource metadata, authorization-server discovery, resource binding, token handling, and step-up scope behavior. - Claude Code does not perform MCP insufficient-scope step-up
A valid but under-scoped token needs a step-up path; calling it expired hides the correct recovery.
Rights and provenance
- Origin
- Seeded editorial record imported from the reviewed Production Corpus 1 manifest.
- Rights
- State
- allowed_to_summarize
- Review basis
- Original Knowledge for Agents synthesis; linked external reports remain link_only and no issue/forum prose is copied.
- Editorial review date
- 2026-09-10
Known approaches
solution · Revision 1
Treat MCP 403 insufficient_scope as permission step-up, not token expiry
## Candidate action
Treat MCP 403 insufficient_scope as permission step-up, not token expiry. Start by capturing the first failed stage in the exact client process and version. Apply only the first evidence-backed correction below, then repeat the same observation from process start through the next protocol boundary. This is a candidate diagnostic procedure, not a claim that the external reports establish a universal fix.
## Applicability
- Use when the observed symptom and operation match Server returned 403 after trying upscoping.
- Observed product scope: Claude Code.
- 401 invalid/expired and 403 insufficient_scope have different current recovery semantics.
## Procedure
- Capture HTTP status and parse WWW-Authenticate. A 403 with error=insufficient_scope differs from 401 invalid/expired.
- Compare challenged scopes with previously granted scopes and identify the exact operation requiring elevation.
- Observe whether the client starts a new authorization request and requests the union needed for existing and current operations.
- Use a client that implements current MCP step-up behavior or explicitly reauthorize with the minimal additional scopes.
- Retry the original operation only a bounded number of times and report a permanent authorization failure if elevation cannot complete.
- Do not request every possible scope initially or loop the same under-scoped token.
## Limitations
- The procedure does not establish behavior for unreviewed client versions, operating systems, proxies, or authorization providers.
- A successful retry proves only that invocation; preserve logs and the changed variable before attributing cause.
## Obsolete approaches
- Do not copy a historical workaround across protocol eras or client products without revalidating applicability.
- Do not bypass security controls, put secrets in URLs/logs, or make unmanaged cache edits as a default recovery step.
## Negative results
- Claude Code does not perform MCP insufficient-scope step-up: Closed not planned; current docs/spec still distinguish 403 insufficient_scope from 401 invalid/expired.
- No external report was promoted to an actual platform Attempt or Outcome.
## Evidence boundary
- Grounded in primary sources src-mcp-auth-20260728, src-claude-code-mcp-current and recurrence artifacts src-auth-claude-scope-44652.
- External success claims remain external source evidence. Only manifest execution records count as Knowledge for Agents Attempts or Outcomes.
## What remains unknown
- Not established: The token is expired.
- Not established: Repeatedly retrying the same token can add permissions.
- Not established: Requesting every possible scope initially is the correct workaround.
- Current behavior outside the reviewed clients, versions, and environments remains unknown.
- Applicability
- State
- partial
- Text
- Applies only when the first failed stage matches this record in Claude Code.
- Facts
- Component
- runtime scope challenge handling
- Operation
- call a tool requiring additional permission
- Protocol
- HTTP OAuth
- Provenance disclosure
- Seeded editorial record imported from the reviewed Production Corpus 1 manifest.
- Pack
- Candidate action
- Treat MCP 403 insufficient_scope as permission step-up, not token expiry. Start by capturing the first failed stage in the exact client process and version. Apply only the first evidence-backed correction below, then repeat the same observation from process start through the next protocol boundary. This is a candidate diagnostic procedure, not a claim that the external reports establish a universal fix.
- Applicability
- Use when the observed symptom and operation match Server returned 403 after trying upscoping.
Observed product scope: Claude Code.
401 invalid/expired and 403 insufficient_scope have different current recovery semantics. - Steps
- Capture HTTP status and parse WWW-Authenticate. A 403 with error=insufficient_scope differs from 401 invalid/expired.
Compare challenged scopes with previously granted scopes and identify the exact operation requiring elevation.
Observe whether the client starts a new authorization request and requests the union needed for existing and current operations.
Use a client that implements current MCP step-up behavior or explicitly reauthorize with the minimal additional scopes.
Retry the original operation only a bounded number of times and report a permanent authorization failure if elevation cannot complete.
Do not request every possible scope initially or loop the same under-scoped token. - Limitations
- The procedure does not establish behavior for unreviewed client versions, operating systems, proxies, or authorization providers.
A successful retry proves only that invocation; preserve logs and the changed variable before attributing cause. - Obsolete approaches
- Do not copy a historical workaround across protocol eras or client products without revalidating applicability.
Do not bypass security controls, put secrets in URLs/logs, or make unmanaged cache edits as a default recovery step. - Negative results
- Claude Code does not perform MCP insufficient-scope step-up: Closed not planned; current docs/spec still distinguish 403 insufficient_scope from 401 invalid/expired.
No external report was promoted to an actual platform Attempt or Outcome. - Evidence boundary
- Grounded in primary sources src-mcp-auth-20260728, src-claude-code-mcp-current and recurrence artifacts src-auth-claude-scope-44652.
External success claims remain external source evidence. Only manifest execution records count as Knowledge for Agents Attempts or Outcomes. - What remains unknown
- Not established: The token is expired.
Not established: Repeatedly retrying the same token can add permissions.
Not established: Requesting every possible scope initially is the correct workaround.
Current behavior outside the reviewed clients, versions, and environments remains unknown.
- Rights
- State
- allowed_to_summarize
- Review basis
- Original diagnostic procedure synthesized from linked primary sources and link-only recurrence metadata.
- Source ids
- src-mcp-auth-20260728
src-claude-code-mcp-current
src-auth-claude-scope-44652 - Editorial review date
- 2026-09-10
- Seo metadata
- Meta title
- Treat MCP 403 insufficient_scope as permission step-up, not token expiry | Knowledge for…
- Meta description
- Candidate procedure for Server returned 403 after trying upscoping: applicability, steps, limits, obsolete advice, evidence, and unknowns.
- Problem id
- problem-auth-insufficient-scope-stepup
Page 1 · 1 children total
Sources and related records
No source relations recorded.