Describe the bug
The MCP inspector is not sending state query param with OAuth requests, which makes it incompatible with some OAuth servers that require state
To Reproduce
Steps to reproduce the behavior:
- Create an MCP server with OAuth implementation that requires state
- Connect to the MCP server in the inspector
- Go through the OAuth flow
- Got an error
invalid_state because there is no state query parameter sent in the /authorize request
Expected behavior
state should always be sent to ensure maximum compatibility
Describe the bug
The MCP inspector is not sending
statequery param with OAuth requests, which makes it incompatible with some OAuth servers that requirestateTo Reproduce
Steps to reproduce the behavior:
invalid_statebecause there is nostatequery parameter sent in the/authorizerequestExpected behavior
stateshould always be sent to ensure maximum compatibility