You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dynamic client registration should be optional #167
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:
Hardcode a client ID (and, if applicable, client secret) specifically for that MCP server, or
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:
Assuming that the server will handle client assignment (e.g., in public client cases), -OR-
Provide some avenue to request a client ID.
Reacted by Ivan Uhalin, Jiri Spac, khaled-maruf and thomasfaure
Activity
cliffhall commentedon Mar 31, 2025
Hey @localden. Can you provide an example server and steps to repro?
xiaoyijun commentedon Apr 24, 2025
Hi @localden @cliffhall , I’ve created a PR to address this issue — feel free to take a look when you get a chance. Thanks!
#345
xiaoyijun commentedon Jul 25, 2025
Hi @cliffhall , maybe we can close this issue now 😀
cliffhall commentedon Jul 25, 2025
Fixed in #345