toolhive
toolhive copied to clipboard
Validate that Claude is capable of authenticating with ToolHive
Run an mcp server with toolhive, with auth enabled. Check if Claude is supporting it. Typically can be tested with:
claude mcp add...
claude
then select the mcp from list and click on authenticate```
when authenticating i get:
Error: HTTP 403: Invalid OAuth error response: [ │
│ { │
│ "code": "invalid_type", │
│ "expected": "string", │
│ "received": "undefined", │
│ "path": [ │
│ "error" │
│ ], │
│ "message": "Required" │
│ } │
│ ]. Raw body: {"errorCode":"E0000005","errorSummary":"Invalid │
│ session","errorLink":"E0000005","errorId":"oaeN4dugmlfTsyCbRXKX9v-Pg","errorCauses":[]}
those are logs from claude:
[DEBUG] MCP server "toolbox": Generated new OAuth state
[DEBUG] MCP server "toolbox": Starting SDK auth
[DEBUG] MCP server "toolbox": Server URL: https://ricarda-presuggestive-archaically.ngrok-free.app/mcp
[DEBUG] MCP server "ocireg": No token data found
[DEBUG] MCP server "toolbox": No client info found
[DEBUG] MCP server "toolbox": SDK auth error: _f: HTTP 403: Invalid OAuth error response: [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"error"
],
"message": "Required"
}
]. Raw body: {"errorCode":"E0000005","errorSummary":"Invalid session","errorLink":"E0000005","errorId":"oaejVmEn3nNS3eyWVtgmlfihg","errorCauses":[]}
[DEBUG] MCP server "toolbox": MCP OAuth server cleaned up```