Skip to content

Conversation

@gary149
Copy link
Collaborator

@gary149 gary149 commented Dec 5, 2025

No description provided.

Implements OAuth 2.1 authentication for MCP servers, including discovery, PKCE flow, token management, and UI integration. Adds new services, stores, and types for OAuth, updates AddServerForm and ServerCard components for authentication flow, and injects tokens into server requests. Conversation page now uses authenticated servers. MCP server deletion cleans up OAuth data.
Centralizes OAuth header injection logic in mcpServers store, improves token expiry checks, and streamlines OAuth flow handling in AddServerForm and ServerCard components. Also optimizes usage of getServersWithAuth in conversation page and cleans up redundant code and comments for maintainability.
Introduces a server-side endpoint for OAuth metadata discovery to avoid CORS issues and support RFC 9728 probing. Updates the client service to use this proxy, adds ProtectedResourceMetadata type, and improves ServerCard UI to better indicate authentication requirements.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants