Why MCP clients need Zitadel dynamic client registration
If you are connecting Model Context Protocol clients such as Claude Desktop to your own services, the client often has to obtain an OAuth client ID before any person has signed in. A desktop assistant or a coding agent does not know in advance which authorization server will protect the MCP server it reaches, so it cannot rely on a client ID you created by hand in a console. Zitadel implements OAuth 2.0 Dynamic Client Registration (RFC 7591) and its management protocol (RFC 7592), which lets the client register itself at a registration endpoint and later read, update or delete that registration. This is the mechanism MCP clients use before any user context exists.
The feature is disabled by default, so it does not appear in a new instance until an administrator turns it on. Enabling it is a deliberate decision because the registration endpoint accepts requests that do not come from a known, pre-approved application. Pre-registered clients remain the better choice when you control every client that will connect, when each application needs a reviewed redirect URI and scope set, or when your security team requires an approval step for every new OAuth client. Dynamic registration fits teams that must let many unknown MCP clients connect to a shared MCP server. Confirm the exact enablement setting and the registration endpoint path against the current Zitadel dynamic client registration guide for your version before you plan the change.
Before you enable it, decide who may register clients, which redirect URIs and scopes a self-registered client may request, and how you will find and remove clients that are no longer used. Ask your implementation partner or your Zitadel administrators to confirm how registrations map to projects and organizations in your instance, because that mapping determines who can see and manage the resulting clients. These decisions shape the trade-offs covered in the rest of this page.
Configuration options and when each fits
This table compares three ways to get MCP clients into Zitadel: instance-wide dynamic registration, pre-registered clients, and a hybrid that limits self-registration to specific clients. Read each row as a trade-off between who maintains client records, how much you trust the registration path, and the work your team takes on. Confirm exact setting names and scopes in your Zitadel version before you choose.
| Option | Who manages client records | Trust assumption | Operational overhead |
|---|---|---|---|
| Dynamic registration enabled instance-wide | The MCP client creates its own record through the registration endpoint, and your team reviews and cleans up later | Anyone who can reach the endpoint can create a client, so the instance accepts unknown clients by design | Lowest setup effort, but you need recurring review of new clients, unused records and redirect URIs |
| Pre-registered clients created in the Console or API | Your administrators create, name and configure each client before users connect | Only clients your team has reviewed can authenticate, so trust sits with the approval process | Highest setup effort per client, with ongoing work each time a new MCP client or host is added |
| Hybrid: only specific MCP clients self-register | Your team pre-registers known clients and enables self-registration only where the design requires it | Trust is limited to the scope you enable, so you must confirm how the setting is applied per instance | Moderate: you maintain the enablement logic and must verify it stays in place after upgrades |
| Registration management under RFC 7592 | Whoever holds the registration access token for a client can read or change that client record | A leaked registration token can alter a client, so token storage and lifetime matter | Adds token handling to your runbooks, including rotation and deletion of stale clients |
| Redirect URI and scope controls | Your team defines allowed redirect URIs and scopes for each client or client class | Limits the damage from an unknown client, but only if the controls are enforced in your version | Needs tests that confirm unexpected redirect URIs are rejected before go-live |
| Audit and review cadence | Your security team reviews registration events and the list of active clients | Assumes registrations are visible to administrators and logged for investigation | Requires a defined schedule and an owner, plus confirmation that the events are retained as you require |
Enable and verify dynamic client registration per instance
This sequence turns dynamic client registration on for the right Zitadel instance, proves that an MCP client can self-register, and confirms that the resulting client has the grants, redirect URIs and scopes you intended and can still be managed under RFC 7592.
Confirm the Zitadel version and instance
Record the Zitadel version your self-hosted deployment runs and the instance that will receive MCP client registrations. Check the version against the release notes on the zitadel/zitadel GitHub releases page before you change any setting, because the registration behavior and the way the feature is switched on should be confirmed for your exact release. Confirm with your platform team which domain serves the instance and that administrators can reach the Console. The step is done when you have a written record of the version, the instance domain and the named owner of the change.
Decide where MCP clients will live
Decide which organization or instance will host the clients that MCP clients create. Dynamic registration creates clients without a signed-in user, so the owning organization, the project that groups their roles, and the users who will later manage those clients should be settled first. Write down who may read and remove registered clients and whether registrations should be kept apart from production application clients. The step is done when a short decision record names the target instance, the organization and the administrators responsible for it.
Enable the registration endpoint for the instance
Because the registration endpoint is disabled by default, an administrator with the required permission enables it for the chosen instance using the setting your Zitadel version documents for dynamic client registration. Change the setting in a non-production instance first, and record who made the change and when. Confirm the exact control and the permission it needs in the dynamic client registration guide before you proceed. The step is done when the change is recorded and the registration endpoint responds on the instance rather than returning a disabled error.
Register a test client from a sample MCP client
Point a sample MCP client, such as a development build of Claude Desktop or a test MCP client you control, at the registration endpoint of the instance. Use a test redirect URI and a clearly named test identity so the result is easy to find. The client should send its metadata and receive a client identifier, which confirms that unauthenticated self-registration works end to end. The step is done when the client completes registration and you have the returned client identifier in your notes.
Inspect the registered client's grants, redirect URIs and scopes
In the Console, open the client created by the test and compare it with the metadata the sample client sent. Check the grant types, response types, redirect URIs, token endpoint authentication method and requested scopes. Any value that differs from what the MCP client requested, or any grant type broader than the client needs, should be reported to the team before rollout. The step is done when every field has been compared and each difference is either explained or fixed in the registration policy.
Confirm registration management under RFC 7592
Use the registration access token returned at creation to read the client's configuration through the management endpoint, then update one non-security field, such as the client name, and delete the test client. Confirm that the token works for these operations and that a request without it is refused. Record how the registration access token is stored by the sample client, because it is the credential that controls the registration. The step is done when read, update and delete all succeed with the token and fail without it.
Record the verified configuration and the review owner
Write down the instance, the version, the enabled setting, the test results and the owner who reviews new registrations and removes stale ones. Keep the test client's evidence with the change record so auditors and security reviewers can see how the endpoint was enabled and checked. Schedule a review of the registration open endpoint against your threat model before any production MCP client depends on it. The step is done when the record is stored in your change system and the review owner has accepted it.
How an MCP client registers, authenticates and manages its registration
The flow starts with an MCP client such as Claude Desktop calling the Zitadel registration endpoint defined by RFC 7591, before any user is signed in. Zitadel returns client credentials, and the client then sends the user to the login screen, where the user authenticates against the instance. The management endpoint under RFC 7592 is the second hand-off, used to read or change a registration later. Check that the registration endpoint is enabled on the instance and that the trust boundary between the open endpoint and protected resources is where you expect it to be.
Registration, user sign-in and registration management for an MCP client against Zitadel.
What an open registration endpoint exposes and how to contain it
Enabling dynamic client registration lets anyone who can reach the endpoint create an OAuth client in your instance. The cards below cover the exposures that follow from that and the controls that limit each one, along with what to verify in your own environment.
Anyone can create clients
Registration under RFC 7591 can run without a prior user session, so the endpoint is the first thing an outside party reaches. Confirm whether your Zitadel instance accepts registrations from anonymous callers or only from requests carrying a token you issue. Check which network paths reach the endpoint from the internet, through your ingress and any reverse proxy, and whether those paths match your intent. Treat the answer to this question as the foundation for every control below.
Dynamic registration docsRedirect URI abuse
A client registered with a redirect URI you do not control can receive authorization codes meant for a legitimate application. Review how Zitadel validates redirect URIs for dynamically registered clients, and whether wildcard or loopback patterns are accepted. Test with a registration that points at an external host and confirm the login flow refuses it. Restrict redirect URIs to the schemes and hosts your MCP clients actually use, such as local loopback addresses for desktop applications.
Client sprawl
Each successful registration creates a client record, and an open endpoint can produce many of them over time, including abandoned clients from clients that were installed once and removed. Ask how your team will list dynamically registered clients, identify them by origin, and remove stale ones. Confirm that your Zitadel administrators can see the creation time and owner of each client. Without a regular cleanup routine, the console becomes too noisy to spot a hostile entry.
Consent phishing through registered clients
An attacker can register a client with a convincing name and logo, then send a link that asks a user to approve access to their account. The consent screen is the only checkpoint, so the user's decision carries the risk. Verify which scopes such a client can request and whether your consent flow shows the client name and redirect host clearly. Ask your identity team whether users should be able to grant access to clients that were registered without review.
Unreviewed scopes and grants
A registration request can ask for scopes and grant types, and the resulting client is only as narrow as the policy that governs it. Confirm which scopes Zitadel permits for dynamically registered clients in your version, and whether project roles and grants limit what those clients can reach. Check that a new client receives no access to your projects until an administrator grants it. Review the default for each setting in your environment instead of assuming it matches the MCP client's needs.
Who can manage registrations
RFC 7592 gives each registered client a management endpoint, so the holder of a registration access token can read, change or delete that client. Confirm that tokens are returned only to the registering party, that they are stored securely by the MCP client, and that administrators can revoke clients without waiting for the token holder. Restrict administrator roles so that only a small group can edit or delete dynamically registered clients. Monitor changes to client configuration and alert on new redirect URIs or scope changes.
Operating registrations after go-live
Once dynamic client registration is live, the ongoing work is keeping the set of registered clients small, traceable and deliberately chosen. Because anyone who can reach the registration endpoint can create a client, schedule a recurring review of every client record and check each one against an owner, a purpose and a known MCP client product. Confirm in the Zitadel Console how registered applications are listed and whether client records created through registration can be filtered or identified apart from clients your team created by hand. Remove clients that no longer match a current user population, and rotate or revoke any credentials tied to them. Record the review results so the next review has a baseline to compare against.
Audit the registration activity itself, not just the resulting clients. Identify which Zitadel events record client creation, update and deletion, and confirm that they reach the log store or SIEM you already operate, with retention that matches your policy. Alert on bursts of new clients, creation from unexpected source addresses, and changes to redirect URIs or granted scopes after registration. Verify these events in a test instance before go-live, because a control you have not exercised is one you cannot prove works during an investigation. The exact event names and fields should be confirmed against the Zitadel version you run, since they change between releases.
Treat upgrades and documentation changes as part of the feature's lifecycle. Before each Zitadel upgrade, re-read the dynamic client registration guide in the Zitadel documentation, confirm the setting that enables the endpoint still behaves as documented, and retest one registration and one management request end to end. Check the release notes for changes to the registration protocol handling and to the RFC 7592 management operations MCP clients depend on. Finally, decide the conditions for disabling the endpoint again, such as a finished rollout of MCP clients, a failed audit, or a change in your risk posture, and document who can make that call. Disabling is a configuration change, so schedule it through the same change process as the enabling change.
Limits to confirm before you enable registration
Dynamic client registration opens a path for unauthenticated clients to create entries in your identity system, so the details below need confirmation in your own release and environment. Each card names one item to check with Zitadel or in a test instance before the endpoint reaches production.
Version support in your release
The endpoints depend on Zitadel's release line, so confirm that the version you run implements RFC 7591 registration and the RFC 7592 management protocol. Check the release notes for the version you plan to deploy, not the latest release you read about. The current release line at the time of writing is v4.19.5, but your target version is what counts. Record the exact version in your change ticket so the test results match production.
Zitadel registration guideRate limits and abuse controls
An open registration endpoint can be used to create large numbers of client records. Ask Zitadel which rate limits, if any, apply to the registration endpoint and how your reverse proxy or gateway can add request limits and blocking. Test a burst of registration requests in a staging instance and watch how the system responds. Decide in advance how you will clean up records created by abuse.
Console and audit visibility
Confirm how dynamically registered clients appear in the Console, whether they are marked as created by registration, and how their creation and changes are recorded. Check whether the event trail captures registration and management calls with enough detail to investigate a suspicious client. Test that an administrator can find, review and disable a registered client without special tooling. Write down the query steps your security team will use.
MCP client compatibility
Each MCP client may expect slightly different registration metadata, redirect URI rules or token settings. Test the specific clients your staff will use, such as Claude Desktop, against your instance and record which fields they send and which they require. Confirm that the grant types and token endpoint authentication method the client requests are accepted by the registration flow. Do not assume one client's successful test covers another.
Self-hosted and Cloud differences
Confirm with Zitadel whether the registration endpoint is enabled and configured the same way on self-hosted instances and on Zitadel Cloud, and whether any default differs. Ask who controls the setting in each model and how a change is made and recorded. Self-hosted operators own the enablement decision and the surrounding controls, so the review should cover your ingress, TLS and logging. Document the differences your team finds.
Management endpoint access
Registration management under RFC 7592 gives the client a way to read, update and delete its own registration. Confirm how the registration access token is issued, how long it remains valid, and what happens to it when a client is deleted or its secret changes. Test that a client cannot change another client's registration and that the management endpoint does not expose data beyond what the client needs. Keep a written procedure for revoking access to a stale registration.
Questions teams ask before enabling dynamic registration
Can our team enable dynamic client registration in Zitadel ourselves?
Yes, if your identity administrators can read the Zitadel documentation, work in a non-production instance first, and own the change. Zitadel implements OAuth 2.0 Dynamic Client Registration (RFC 7591) and its management protocol (RFC 7592), but the feature is disabled by default, so someone with administrative rights must deliberately turn it on for each instance. Your team needs to confirm the current enablement steps against the Zitadel dynamic client registration guide for the version you run. The harder part is not the switch itself. It is deciding which clients may register, how their registrations are reviewed, and how they are removed later, which is a governance task your own team must own in any case.
What drives the effort of enabling dynamic registration?
Effort grows with the number of MCP clients you expect, how many people will register them, and how much review each registration needs. Four factors matter most:
- The number of MCP clients (for example, desktop assistants, IDE agents and internal tools) and how often new ones appear.
- Your governance model: whether anyone can register, or only approved developers through a gate.
- The security review your organization requires before an open endpoint is accepted.
- How many scopes, resources and user groups the registered clients can reach, which sets the size of the access test matrix.
A small, single-team pilot with a short list of known clients is far lighter than an organization-wide rollout. Ask any partner to price the work against these four factors, not against a generic number of days.
What does the work need from our team?
It needs three roles to be named before work starts. Identity administrators configure the Zitadel instance, enable the endpoint, and manage project and grant settings. A security reviewer decides whether the registration policy is acceptable, checks logging and abuse controls, and signs off the result. A test environment, separate from production, lets you register sample MCP clients, confirm what tokens they receive, and rehearse removing a registration. Your team also needs someone who knows which MCP clients staff actually use, because those clients define the test cases. Confirm with your identity team how much time these people can give, since review queues are often the longest part of a pilot.
How long does a pilot usually take?
The length depends on your environment, and no fixed duration applies to every organization. The main variables are how quickly your Zitadel instance can be reached in a test environment, how many security review rounds your policies require, how many MCP clients you want to validate, and how fast your reviewers respond. A pilot with one team, one instance and a few known clients moves much faster than one that must satisfy several business units. Ask for a written plan with milestones for environment readiness, enablement, client testing, security review and rollback testing, and ask which of those steps depend on your people rather than on the work itself.
Is an open registration endpoint acceptable under our security policy?
It is acceptable in some organizations and prohibited in others, so the answer comes from your policy, not from the protocol. RFC 7591 lets a client register without a prior user context, which is why MCP clients need it. That same openness means anyone who can reach the endpoint may try to create clients, so you must decide who can reach it, how registrations are authorized, what is logged, and how stale or rogue clients are revoked. Teams with strict access control rules often restrict the endpoint to a trusted network path, require an initial access control at the edge, or accept it only for a non-production tenant. Document the decision and the compensating controls with your security reviewer before enabling anything.
What does a DeployOpen engagement cover for dynamic registration?
DeployOpen can plan, implement and test dynamic client registration for Zitadel in infrastructure you control, under a fixed scope agreed in writing before work starts. A typical scope covers reviewing your registration policy, enabling and configuring the endpoint in your instance, defining which clients may register and how their management works under RFC 7592, testing MCP clients against your roles and grants, and documenting the operating procedures. DeployOpen also runs security testing that can be applied to the registration setup, and delivers findings with fixes and a retest. The engagement does not include your policy decisions, your security approvals or any audit attestation. Ongoing support and continuous testing are available as retainers. DeployOpen does not publish a price list, so the quote follows from the written scope.
How DeployOpen scopes and delivers Zitadel MCP registration work
Every registration engagement starts with a written scope. DeployOpen is a Chainscore Labs company that plans, implements, hardens and supports self-hosted open-source platforms inside the client's own cloud accounts, data centers or air-gapped networks. For dynamic client registration, the scope usually covers the Zitadel instance and its organization structure, whether the RFC 7591 endpoint is enabled and on which instance, how registration management under RFC 7592 is controlled, which MCP clients are approved, and how registered clients are reviewed and retired. Engagements are fixed-scope, so deliverables, timelines and responsibilities are agreed in writing before work begins, and a quote follows from that written scope rather than from a published price list.
Security testing and AI agent review can be added to the same scope. Once the endpoint is open, the registration setup is worth testing as an attack surface: whether unauthenticated registration can be abused, whether registered clients receive only the scopes and redirect URIs they need, and whether management credentials are handled safely. Before or after an organization rolls out coding agents, workplace agents or MCP servers, DeployOpen can test the surrounding setup, including prompt injection exposure, tool and file permissions, credential handling and SSO and admin settings, and deliver a findings report with fixes and a retest. DeployOpen prepares evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies do that work, so ask your assessor which evidence they expect before the work is scoped.
Ask for these items in the quote. Request the list of Zitadel versions and PostgreSQL versions the work targets, confirmed against the Zitadel documentation on dynamic client registration and your own environment, the named MCP clients in scope, the handover of runbooks for enabling, disabling and auditing the endpoint, and the retest terms. Also confirm who holds administrator access during and after the engagement. Whether to add ongoing support, upgrades or continuous testing as a retainer is a separate decision, and it should be priced on its own line in the same written scope.

