toolhive icon indicating copy to clipboard operation
toolhive copied to clipboard

Validate that Claude is capable of authenticating with ToolHive

Open yrobla opened this issue 2 months ago • 2 comments

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```

yrobla avatar Nov 14 '25 11:11 yrobla

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":[]} 

yrobla avatar Nov 14 '25 11:11 yrobla

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```

yrobla avatar Nov 14 '25 11:11 yrobla