My company has an internal MCP server, which supports the OAuth authentication flow.
If I use the current version of @modelcontextprotocol/inspector everything works fine.
But with mcphub I'm getting some rather unhelpful errors, and I'm not sure how to debug things from here:
[00:56:38] 'Internal Server' error: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
[00:56:38] 'Internal Server' failed to start connection with http and sse transports: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
[00:56:38] 'Internal Server' failed to start connection: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
[00:56:38] 'Internal Server' transport closed
(And since it's a strictly internal server, I can't do the helpful thing of putting the URL in the bug report so that you can try to reproduce, sorry about that.)
My company has an internal MCP server, which supports the OAuth authentication flow.
If I use the current version of @modelcontextprotocol/inspector everything works fine.
But with mcphub I'm getting some rather unhelpful errors, and I'm not sure how to debug things from here:
(And since it's a strictly internal server, I can't do the helpful thing of putting the URL in the bug report so that you can try to reproduce, sorry about that.)