Skip to content

Auth: Support manually setting a client ID and client secret #683

@jpmcb

Description

@jpmcb

Is your feature request related to a problem? Please describe.

Not all OAuth providers support dynamic client registration.

And the MCP specification accounts for this:

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

  1. Hardcode a client ID (and, if applicable, client credentials) specifically for the MCP client to use when interacting with that authorization 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).

https://modelcontextprotocol.io/specification/2025-06-18/basic/authorization#dynamic-client-registration

Describe the solution you'd like

In the guided oauth flow, there should be an option to enter a client ID and a client secret instead of always assuming dynamic client registration.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    authIssues and PRs related to authorizationenhancementNew feature requestspec complianceLabel for issues and PRs that are related to adding or fixing support for a specific spec feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions