| Filename | Latest commit message | Latest commit date |
|---|---|---|
The server-side error handling only checked for SseError instances when detecting 401 responses from MCP servers. StreamableHTTPClientTransport throws a different error type (generic Error with "HTTP 401" message) when there's no authProvider configured. This caused the proxy to return 500 instead of 401 to the client, preventing the OAuth discovery and redirect flow from triggering. Added is401Error() helper that checks for: - SseError with code 401 - StreamableHTTPError with code 401 - Generic Error with "HTTP 401" or "(401)" in message Fixes #960 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
| .. | ||
| src | ||
| package.json | ||
| tsconfig.json | ||