Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic client registration should be optional #167

Open
localden opened this issue Mar 7, 2025 · 0 comments
Open

Dynamic client registration should be optional #167

localden opened this issue Mar 7, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@localden
Copy link

localden commented Mar 7, 2025

Currently getting this error if the target MCP server uses auth but does not provide dynamic client registration capabilities:

Screenshot of an error message in the DevTools

Per spec:

MCP clients and servers SHOULD support the OAuth 2.0 Dynamic Client Registration Protocol to allow MCP clients to obtain OAuth client IDs without user interaction. This provides a standardized way for clients to automatically register with new servers, which is crucial for MCP because:

  • Clients cannot know all possible servers in advance
  • Manual registration would create friction for users
  • It enables seamless connection to new servers
  • Servers can implement their own registration policies

Any MCP servers that do not support Dynamic Client Registration need to provide alternative ways to obtain a client ID (and, if applicable, client secret). For one of these servers, MCP clients will have to either:

  1. Hardcode a client ID (and, if applicable, client secret) specifically for that MCP server, or
  2. Present a UI to users that allows them to enter these details, after registering an OAuth client themselves (e.g., through a configuration interface hosted by the server).

There probably should be some graceful degradation here, or:

  1. Assuming that the server will handle client assignment (e.g., in public client cases), -OR-
  2. Provide some avenue to request a client ID.
@localden localden added the bug Something isn't working label Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant