The reason some MCP servers connect in one click while others ask you to paste a client ID from a developer portal comes down to one optional step in MCP’s OAuth flow: dynamic client registration. It’s the mechanism that lets a brand-new AI client show up at a server it has never talked to before and register itself on the spot, with no human filling out a form first. Here’s what it actually does, what it hands back, and why a few vendors turn it off even though the spec supports it everywhere.
The problem it solves
OAuth has always needed a client to exist before a user can log in through it — something has to hold a client ID, know which redirect URL is allowed, and be registered with the authorization server ahead of time. For a handful of well-known apps, a vendor can register each one by hand. MCP breaks that assumption: any AI client, from any vendor, can be pointed at any MCP server’s URL and expected to connect. There’s no fixed list of clients a server could realistically pre-register, and no practical way for a server operator to vet every client that might show up.
Dynamic Client Registration — defined in RFC 7591, and referenced directly by MCP’s own authorization specification — solves this by making registration itself an API call instead of a manual step. We touched on where this fits inside the larger handshake in MCP OAuth discovery explained; this post goes one level deeper into what that registration step actually contains.
What the request and response actually look like
A client that wants to register sends a JSON document to the authorization server’s registration endpoint, found through the metadata discovery step. The useful fields are plain:
redirect_uris— where the authorization server is allowed to send the user back after login. This is the field that actually matters for security: it’s what stops an authorization code from being delivered somewhere the real client never asked for.client_nameandclient_uri— a human-readable label and homepage, shown on the consent screen. Neither is verified by the protocol itself.grant_typesandtoken_endpoint_auth_method— which OAuth flow the client intends to use, and how it authenticates when exchanging a code for a token. MCP clients are almost always public clients here, meaning no client secret, since a desktop or CLI app can’t keep one confidential.
The authorization server responds with a freshly minted client_id (and a client_id_issued_at timestamp) and, for a confidential client, a secret. For the public clients most MCP connections use, there is no secret to protect in the first place — the client’s identity rests on the registered redirect URI and, in a correctly built flow, on PKCE rather than on a shared secret. That registration round-trip is what makes the rest of the flow we described in OAuth discovery possible without a developer ever visiting a vendor’s dashboard.
What this buys you versus what it doesn’t
Dynamic registration answers exactly one question: can this piece of software get a client ID to start an OAuth flow? It does not answer:
- Who is actually making this request. Nothing in RFC 7591 ties a registration to a verified identity. A
client_nameof “Claude Desktop” is a string the registering software chose to send, not a claim the authorization server checked against anything. - Whether the resulting token should be trusted with a given scope. Registration happens before consent, and consent is where scopes are actually granted. A client that registers itself successfully still has to clear that separate gate.
- Whether the server itself deserves the connection. Discovery and registration are both about getting a client authenticated to a server — neither one is a judgment about whether that server’s tools are safe to call, which is the separate question covered in vetting an MCP server.
Why some vendors turn it off
An authorization server doesn’t have to offer dynamic registration at all, and a real share of the vendors in MCP’s ecosystem choose not to. We covered the practical side of that in what an “unauthorized client” error actually means: instead of open registration, these vendors keep a manual allow-list of client IDs they’ve reviewed, and reject anything else. The reasoning is straightforward once you’ve seen what a registration request actually contains — an open registration endpoint will accept a client_name of anything, including the name of a well-known app it has no relationship to, from any piece of software that sends a well-formed request. That’s not a flaw unique to any one vendor’s implementation; it’s the tradeoff baked into the spec itself, and RFC 7591 is explicit that an authorization server may require its own out-of-band review, rate-limit registrations, or demand an initial access token before it will hand out a client ID at all.
An allow-list fixes the impersonation problem by removing the automatic part entirely, at the cost of exactly the friction dynamic registration was built to avoid — which is why a server can advertise OAuth support and still fail to connect for a brand-new client, with no misconfiguration on either side.
If you’re building a server
Supporting dynamic registration is most of what makes a server feel like it “just works” across clients, but it’s worth treating the endpoint itself as unauthenticated attack surface rather than a formality: rate-limit registration attempts, don’t let a registered client_name or logo influence anything beyond display text on a consent screen, and validate redirect_uris strictly rather than accepting a wildcard. None of this is enforced by the protocol — it’s on the implementation. If you’d rather not build and operate an authorization server at all, that’s the shortcut described in adding OAuth to your own MCP server: a gateway that already implements discovery and registration correctly sits in front, and your server only has to trust one caller.
The bottom line
Dynamic client registration is what lets an MCP client connect to a server it has never seen before without a developer registering an app by hand first — a JSON request to a discovered endpoint, a client ID back, and no secret worth protecting for most MCP clients in the first place. It’s also an unauthenticated door, which is exactly why a meaningful slice of vendors disable it in favor of a manual allow-list. Neither choice is wrong; they’re different answers to the same tradeoff between friction and control, and knowing which one a server made explains most of the OAuth surprises you’ll run into when connecting it.