-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Inspector Version
- 0.16.8
Describe the bug
MCP Inspector fails to complete the authorization code flow, it starts spinning after a user logs-in to the OAuth2 provider (Keycloak) and is redirected back to MCP Inspector
To Reproduce
Steps to reproduce the behavior:
- Check out https://github.com/quarkiverse/quarkus-mcp-server
- No need to build anything, just go to https://github.com/quarkiverse/quarkus-mcp-server/tree/main/samples/multiple-secure-mcp-http-servers
- Do
mvn quarkus:dev- it starts the MCP server, and launches a Keycloak container - In MCP Inspector: set address to
http://localhost:8080/mcp, Transport Type:Streamable HTTP, OAuth2 Client id -alpha-client, scope:openid quarkus-mcp-alpha - Press
Connect- you are redirected to Keycloak, login as useralice, passwordalice, you are redirected back to MCP Inspector, no option to select tools is offered, MCP Inspector is in the loop in the console andWeb Developer Tools/Network
Expected behavior
It should work exactly as it works with 0.16.7 - after the login, MCP Inspector does not spin, a user is offered an option to select tools. See this description.
Screenshots
it is hard to capture anything specific - 401 errors are reported in the console, Web Developer Tools/Network shows MCP Inspector is looping
Environment (please complete the following information):
- OS: Fedora 42
- Firefox
Additional context
Let me know if I can help with some extra info.
The Quarkus blog post is due to go today and I had to update the text to recommend users to hold on to the 0.16.7.