Skip to content

Conversation

@pushpak1300
Copy link
Member

@pushpak1300 pushpak1300 commented Dec 15, 2025

Fixes #92

Problem

The mcp:use Passport scope isn't registered when routes are cached, causing OAuth failures in production.

Solution

Moved scope registration from route registration to McpServiceProvider::boot() so it runs even with cached routes.

Non-breaking, existing scopes preserved.

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.

Bug: maybeAddMcpScope not executed in production when route caching is enabled

2 participants