-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
Laravel Package Version
0.3.0
Laravel Version
12
PHP Version
8.3
Database Driver & Version
No response
Description
Using Passport I get the error below on the MCP Inspector:
I also tried to connect to the server from Claude Web, and it just reload the page without redirecting to the application OAuth authorization page.
Steps To Reproduce
I followed the documentation.
Add the authentication routes to the ai.php file:
Mcp::oauthRoutes();
Mcp::web('/mcp', MyServer::class)->middleware(['auth:api']);And add the authorization view in the boot method of the AppServiceProvider:
Passport::authorizationView(function ($parameters) {
return view('mcp.authorize', $parameters);
});Metadata
Metadata
Assignees
Labels
No labels