Skip to content

Conversation

@dcramer
Copy link
Member

@dcramer dcramer commented Dec 4, 2025

Remove the deprecated grantedScopes authorization system entirely, making grantedSkills the sole authorization method. Legacy tokens without grantedSkills now receive a 401 with automatic grant revocation, requiring re-authorization.

Key changes:

  • Remove grantedScopes from ServerContext and WorkerProps
  • Remove scope-related CLI arguments (--scopes, --add-scopes, --all-scopes)
  • Add automatic grant revocation for legacy tokens in mcp-handler
  • Update all tests to use grantedSkills instead of grantedScopes
  • Update documentation to reflect skills as primary authorization

🤖 Generated with Claude Code

Remove the deprecated `grantedScopes` authorization system entirely,
making `grantedSkills` the sole authorization method. Legacy tokens
without `grantedSkills` now receive a 401 with automatic grant
revocation, requiring re-authorization.

Key changes:
- Remove `grantedScopes` from ServerContext and WorkerProps
- Remove scope-related CLI arguments (--scopes, --add-scopes, --all-scopes)
- Add automatic grant revocation for legacy tokens in mcp-handler
- Update all tests to use grantedSkills instead of grantedScopes
- Update documentation to reflect skills as primary authorization

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@dcramer dcramer merged commit 9ffca34 into main Dec 4, 2025
16 checks passed
@dcramer dcramer deleted the fix-legacy-grants branch December 4, 2025 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant