Keycloak MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| KEYCLOAK_URL | Yes | Base URL of the Keycloak server, with http:// or https://, no trailing /realms/... (e.g. https://sso.example.com). | |
| KEYCLOAK_CLIENT_ID | No | Client ID for the client credentials flow (client needs 'Service accounts roles' enabled and the realm-management roles it will use). | |
| KEYCLOAK_VERIFY_SSL | No | Set to false only for self-signed certificates. Default: true. | true |
| KEYCLOAK_ADMIN_REALM | No | The admin realm. Default: master. | master |
| KEYCLOAK_CLIENT_SECRET | No | Client secret for the client credentials flow. | |
| KEYCLOAK_ADMIN_PASSWORD | No | Admin password for the password flow. | |
| KEYCLOAK_ADMIN_USERNAME | No | Admin username for the password flow (client admin-cli by default). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| clear_all_brute_force_failuresB | Clear all user login failures for the realm, allowing all users to attempt login again. |
| clear_user_brute_force_failuresA | Clear login failures for a specific user, allowing them to attempt login again. |
| get_user_brute_force_statusB | Get the brute force detection status for a specific user, including number of failures and disabled state. |
| list_authenticator_providersB | List all authenticator providers available in the realm. |
| list_client_authenticator_providersA | List all client authenticator providers available in the realm. |
| get_authenticator_config_descriptionB | Get the configuration description for a specific authenticator provider. |
| delete_authenticator_configB | Delete an authenticator configuration by ID. |
| get_authenticator_configB | Get an authenticator configuration by ID. |
| update_authenticator_configB | Update an authenticator configuration by ID. |
| create_execution_configB | Create a new configuration for an authentication execution. |
| get_execution_configB | Get the configuration for an authentication execution by execution ID and config ID. |
| delete_auth_executionC | Delete an authentication execution by ID. |
| get_auth_executionC | Get an authentication execution by ID. |
| lower_auth_execution_priorityB | Lower the priority of an authentication execution (move it down in the flow). |
| raise_auth_execution_priorityC | Raise the priority of an authentication execution (move it up in the flow). |
| add_auth_executionB | Add a new authentication execution to the realm. |
| copy_auth_flowB | Copy an existing authentication flow under a new name. |
| add_execution_to_flowC | Add a new execution to an authentication flow. |
| add_flow_with_executionC | Add a new flow with a new execution to an existing authentication flow. |
| get_flow_executionsC | Get all executions for an authentication flow. |
| update_flow_executionsC | Update the executions of an authentication flow. |
| list_auth_flowsB | List all authentication flows in the realm. |
| delete_auth_flowB | Delete an authentication flow by ID. |
| get_auth_flowB | Get an authentication flow by ID. |
| update_auth_flowB | Update an authentication flow by ID. |
| create_auth_flowC | Create a new authentication flow in the realm. |
| list_form_action_providersC | List all form action providers available in the realm. |
| list_form_providersB | List all form providers available in the realm. |
| get_per_client_config_descriptionB | Get the per-client configuration description for authentication. |
| register_required_actionC | Register a new required action in the realm. |
| delete_required_action_configB | Delete the configuration for a required action by alias. |
| get_required_action_config_descriptionB | Get the configuration description for a required action by alias. |
| get_required_action_configB | Get the configuration for a required action by alias. |
| update_required_action_configC | Update the configuration for a required action by alias. |
| delete_required_actionC | Delete a required action by alias. |
| get_required_actionB | Get a required action by alias. |
| update_required_actionC | Update a required action by alias. |
| lower_required_action_priorityA | Lower the priority of a required action (move it down in the list). |
| raise_required_action_priorityB | Raise the priority of a required action (move it up in the list). |
| list_required_actionsC | List all required actions in the realm. |
| list_unregistered_required_actionsB | List all unregistered required actions in the realm. |
| create_authenticator_configC | Create new authenticator configuration. |
| get_authz_resource_serverC | Get the authorization services (resource server) settings of a client. |
| update_authz_resource_serverC | Update the authorization services (resource server) settings of a client. |
| import_authz_resource_serverB | Import authorization settings (resources, scopes, policies) into a client's resource server. Requires Keycloak 26.5+. |
| list_authz_permissionsC | List the authorization permissions of a client's resource server. |
| create_authz_permissionC | Create an authorization permission for a client's resource server. |
| evaluate_authz_permissionsC | Evaluate authorization permissions for a client's resource server. |
| list_authz_permission_providersC | List the available permission provider types of a client's resource server. |
| search_authz_permissionsC | Find an authorization permission by name in a client's resource server. |
| list_authz_policiesC | List the authorization policies of a client's resource server. |
| create_authz_policyC | Create an authorization policy for a client's resource server. |
| evaluate_authz_policiesC | Evaluate authorization policies for a client's resource server. |
| list_authz_policy_providersC | List the available policy provider types of a client's resource server. |
| search_authz_policiesB | Find an authorization policy by name in a client's resource server. |
| list_authz_resourcesC | List the resources of a client's resource server. |
| create_authz_resourceC | Create a resource in a client's resource server. |
| search_authz_resourcesC | Find a resource by name in a client's resource server. |
| get_authz_resourceC | Get a resource of a client's resource server by ID. |
| update_authz_resourceC | Update a resource of a client's resource server. |
| delete_authz_resourceC | Delete a resource of a client's resource server. |
| get_authz_resource_attributesC | Get the attributes of a resource of a client's resource server. |
| list_authz_resource_permissionsB | List the permissions that apply to a resource of a client's resource server. |
| list_authz_resource_scopesC | List the scopes of a resource of a client's resource server. |
| list_authz_scopesC | List the authorization scopes of a client's resource server. |
| create_authz_scopeC | Create an authorization scope in a client's resource server. |
| search_authz_scopesA | Find an authorization scope by name in a client's resource server. |
| get_authz_scopeC | Get an authorization scope of a client's resource server by ID. |
| update_authz_scopeC | Update an authorization scope of a client's resource server. |
| delete_authz_scopeC | Delete an authorization scope of a client's resource server. |
| list_authz_scope_permissionsC | List the permissions that apply to an authorization scope. |
| list_authz_scope_resourcesC | List the resources that use an authorization scope. |
| get_authz_resource_server_settingsA | Export the authorization settings (resources, scopes, policies) of a client's resource server. |
| download_client_keystoreC | Download the keystore file for a client certificate, using the provided keystore configuration. |
| generate_and_download_client_keypairB | Generate a new keypair and certificate for the client, and download the resulting keystore. |
| generate_client_certificateC | Generate a new certificate and keypair for a client attribute. |
| get_client_key_infoC | Get key information for a client certificate attribute, including certificate and key metadata. |
| upload_client_certificate_onlyB | Upload only a certificate for a client attribute, without updating the private key. |
| upload_client_certificate_and_keyC | Upload a certificate and its private key for a client attribute. |
| upload_identity_provider_certificateB | Uploads a certificate, prepares the jwks or public key associated, and returns the certificate representation. Requires Keycloak 26.5+. |
| list_client_initial_access_tokensB | List all client initial access tokens for the realm. |
| delete_client_initial_access_tokenB | Delete a client initial access token. |
| create_client_initial_access_tokenB | Create a new client initial access token. |
| list_client_registration_policy_providersA | List all client registration policy providers for the realm. |
| get_available_group_client_rolesB | Get available client-level roles that can be mapped to the group. |
| get_effective_group_client_role_mappingsB | Get effective (composite) client-level role mappings for the group. |
| delete_group_client_role_mappingsB | Delete client-level role mappings from the group. |
| get_group_client_role_mappingsC | Get client-level role mappings for the group. |
| add_group_client_role_mappingsB | Add client-level role mappings to the group. |
| get_available_user_client_rolesB | Get available client-level roles that can be mapped to the user. |
| get_effective_user_client_role_mappingsB | Get effective (composite) client-level role mappings for the user. |
| delete_user_client_role_mappingsB | Delete client-level role mappings from the user. |
| get_user_client_role_mappingsB | Get client-level role mappings for the user. |
| add_user_client_role_mappingsB | Add client-level role mappings to the user. |
| list_client_scopesB | List all client scopes for the realm. |
| create_client_scopeC | Create a new client scope. |
| get_client_scopeC | Get a client scope by ID. |
| update_client_scopeB | Update a client scope. |
| delete_client_scopeC | Delete a client scope. |
| list_client_templatesA | List all client templates for the realm (legacy). |
| create_client_templateC | Create a new client template (legacy). |
| get_client_templateC | Get a client template by ID (legacy). |
| update_client_templateC | Update a client template (legacy). |
| delete_client_templateC | Delete a client template (legacy). |
| list_clientsC | List all clients in the realm. |
| create_clientB | Create a new client in the realm. |
| get_clientB | Get a client by UUID. |
| update_clientC | Update a client. |
| delete_clientC | Delete a client. |
| get_client_secretC | Get the client secret for a client. |
| generate_client_secretB | Generate a new secret for a client. |
| invalidate_rotated_client_secretB | Invalidate the rotated secret for a client. |
| get_rotated_client_secretC | Get the rotated secret for a client. |
| list_client_default_scopesC | List default client scopes for a client. |
| add_client_default_scopeC | Add a default client scope to a client. |
| remove_client_default_scopeB | Remove a default client scope from a client. |
| list_client_optional_scopesC | List optional client scopes for a client. |
| add_client_optional_scopeC | Add an optional client scope to a client. |
| remove_client_optional_scopeA | Remove an optional client scope from a client. |
| generate_example_access_tokenC | Generate an example access token for evaluating client scopes. |
| generate_example_id_tokenC | Generate an example ID token for evaluating client scopes. |
| generate_example_userinfoC | Generate example userinfo for evaluating client scopes. |
| get_client_evaluated_protocol_mappersB | Get evaluated protocol mappers for a client. |
| get_client_granted_scope_mappingsC | Get granted scope mappings for a client by role container. |
| get_client_not_granted_scope_mappingsC | Get not-granted scope mappings for a client by role container. |
| get_client_installation_providerC | Get the installation provider configuration for a client. |
| get_client_management_permissionsB | Get management permissions for a client. |
| update_client_management_permissionsC | Update management permissions for a client. |
| unregister_client_cluster_nodeB | Unregister a cluster node from the client. |
| register_client_cluster_nodeB | Register a cluster node with the client. |
| push_client_revocation_policyB | Push the revocation policy to all registered cluster nodes for the client. |
| generate_client_registration_access_tokenA | Generate a new registration access token for a client. |
| get_client_service_account_userB | Get the service account user for a client. |
| get_client_session_countB | Get the number of active sessions for a client. |
| test_client_nodes_availableC | Test if registered cluster nodes for the client are available. |
| list_client_user_sessionsB | List active user sessions for a client. |
| generate_client_example_saml_responseB | Create JSON with an example SAML response as payload. Requires Keycloak 26.7+. |
| get_client_offline_session_countB | Get application offline session count Returns a number of offline user sessions associated with this client { "count": number }. |
| list_client_offline_sessionsB | Get offline sessions for client. Returns a list of offline user sessions associated with this client. |
| list_componentsB | List all components for the realm, optionally filtered by name, parent, or type. |
| create_componentD | Create a new component. |
| get_componentB | Get a component by ID. |
| update_componentC | Update a component. |
| delete_componentC | Delete a component. |
| list_sub_component_typesC | List sub-component types available for a component. |
| list_groupsC | List all groups for the realm. |
| create_groupC | Create a new group in the realm. |
| get_groupA | Get a group by ID. |
| update_groupC | Update a group. |
| delete_groupC | Delete a group. |
| list_group_childrenC | List children of a group. |
| create_group_childC | Create a child group under a parent group. |
| list_group_membersC | List members of a group. |
| count_groupsC | Get the number of groups in the realm. |
| get_group_management_permissionsB | Get management permissions for a group. |
| update_group_management_permissionsC | Update management permissions for a group. |
| list_identity_providersC | List all identity providers for the realm. |
| create_identity_providerB | Create a new identity provider. |
| get_identity_providerC | Get an identity provider by alias. |
| update_identity_providerB | Update an identity provider. |
| delete_identity_providerB | Delete an identity provider by alias. |
| export_identity_provider_broker_configC | Export the broker configuration for an identity provider. |
| get_identity_provider_permissionsC | Get the management permissions for an identity provider. |
| update_identity_provider_permissionsC | Update the management permissions for an identity provider. |
| list_identity_provider_mappersB | List all mappers for an identity provider. |
| create_identity_provider_mapperC | Create a new mapper for an identity provider. |
| get_identity_provider_mapperB | Get a mapper for an identity provider by mapper ID. |
| update_identity_provider_mapperC | Update a mapper for an identity provider. |
| delete_identity_provider_mapperB | Delete a mapper for an identity provider. |
| list_identity_provider_mapper_typesB | List available mapper types for an identity provider. |
| get_identity_provider_by_provider_idB | Get an identity provider by provider ID. |
| import_identity_provider_configC | Import identity provider from JSON body. |
| reload_identity_provider_keysB | Reaload keys for the identity provider if the provider supports it, "true" is returned if reload was performed, "false" if not. |
| get_realm_keysB | Get the keys for the realm, including active and passive keys and their details. |
| list_organizationsA | List organizations for the realm, optionally filtered by search criteria. Requires Keycloak 25+. |
| create_organizationC | Create a new organization. Requires Keycloak 25+. |
| get_organizationA | Get an organization by ID. Requires Keycloak 25+. |
| update_organizationC | Update an organization. Requires Keycloak 25+. |
| delete_organizationC | Delete an organization. Requires Keycloak 25+. |
| list_organization_membersB | List members of an organization. Requires Keycloak 25+. |
| add_organization_memberB | Add a member to an organization. Requires Keycloak 25+. |
| get_organization_memberB | Get a specific member of an organization. Requires Keycloak 25+. |
| remove_organization_memberC | Remove a member from an organization. Requires Keycloak 25+. |
| list_organization_identity_providersB | List identity providers linked to an organization. Requires Keycloak 25+. |
| link_organization_identity_providerC | Link an identity provider to an organization. Requires Keycloak 25+. |
| get_organization_identity_providerA | Get an identity provider linked to an organization by alias. Requires Keycloak 25+. |
| unlink_organization_identity_providerC | Unlink an identity provider from an organization. Requires Keycloak 25+. |
| count_organizationsB | Returns the organizations counts. Requires Keycloak 26.3+. |
| list_user_organizations_by_memberB | Returns the organizations associated with the user that has the specified id. Requires Keycloak 26.0+. |
| list_organization_groupsC | Get organization groups. Requires Keycloak 26.6+. |
| create_organization_groupA | Creates a new top-level group or moves an existing group to top-level. Requires Keycloak 26.6+. |
| get_organization_group_by_pathC | Get organization group by path. Requires Keycloak 26.6+. |
| get_organization_groupC | Get organization group representation. Requires Keycloak 26.6+. |
| update_organization_groupC | Update organization group. Requires Keycloak 26.6+. |
| delete_organization_groupC | Delete the organization group. Requires Keycloak 26.6+. |
| list_organization_group_childrenB | Get subgroups of this organization group. Requires Keycloak 26.6+. |
| create_organization_group_childC | Create or move a subgroup. Requires Keycloak 26.6+. |
| list_organization_group_membersB | Get members of this organization group. Requires Keycloak 26.6+. |
| add_organization_group_memberB | Add a user to this organization group. Requires Keycloak 26.6+. |
| remove_organization_group_memberB | Remove a user from this organization group. Requires Keycloak 26.6+. |
| get_organization_group_role_mappingsC | Get role mappings. Requires Keycloak 26.7+. |
| get_organization_group_client_role_mappingsC | Get client-level role mappings for the user or group, and the app. Requires Keycloak 26.7+. |
| add_organization_group_client_role_mappingsC | Add client-level roles to the user or group role mapping. Requires Keycloak 26.7+. |
| remove_organization_group_client_role_mappingsC | Delete client-level roles from user or group role mapping. Requires Keycloak 26.7+. |
| get_available_organization_group_client_rolesB | Get available client-level roles that can be mapped to the user or group. Requires Keycloak 26.7+. |
| get_effective_organization_group_client_role_mappingsB | Get effective client-level role mappings This recurses any composite roles. Requires Keycloak 26.7+. |
| get_organization_group_realm_role_mappingsC | Get realm-level role mappings. Requires Keycloak 26.7+. |
| add_organization_group_realm_role_mappingsC | Add realm-level role mappings to the user. Requires Keycloak 26.7+. |
| remove_organization_group_realm_role_mappingsC | Delete realm-level role mappings. Requires Keycloak 26.7+. |
| get_available_organization_group_realm_rolesC | Get realm-level roles that can be mapped. Requires Keycloak 26.7+. |
| get_effective_organization_group_realm_role_mappingsB | Get effective realm-level role mappings This will recurse all composite roles to get the result. Requires Keycloak 26.7+. |
| update_organization_identity_provider_linkB | Updates the per-association config for the identity provider linked to the organization. Requires Keycloak 26.8+. |
| list_organization_identity_provider_groupsB | Returns organization groups for the identity provider. Requires Keycloak 26.6+. |
| list_organization_invitationsC | Get invitations for the organization. Requires Keycloak 26.5+. |
| get_organization_invitationB | Get invitation by ID. Requires Keycloak 26.5+. |
| delete_organization_invitationC | Delete an invitation. Requires Keycloak 26.5+. |
| resend_organization_invitationC | Resend an invitation. Requires Keycloak 26.5+. |
| count_organization_membersA | Returns number of members in the organization. Requires Keycloak 26.0+. |
| invite_existing_user_to_organizationB | Invites an existing user to the organization, using the specified user id. Requires Keycloak 25+. |
| invite_user_to_organizationB | Invites an existing user or sends a registration link to a new user, based on the provided e-mail address. Requires Keycloak 25+. |
| list_organization_member_groupsB | Returns the organization group memberships for a member with the specified id. Requires Keycloak 26.6+. |
| update_organization_member_membership_typeC | Updates the membership type of the member with the specified id. Requires Keycloak 26.7+. |
| list_member_organizationsB | Returns the organizations associated with the user that has the specified id. Requires Keycloak 26.0+. |
| list_client_scope_protocol_mappersA | List all protocol mappers for a client scope. |
| create_client_scope_protocol_mapperC | Create a protocol mapper for a client scope. |
| get_client_scope_protocol_mapperB | Get a protocol mapper for a client scope by ID. |
| update_client_scope_protocol_mapperC | Update a protocol mapper for a client scope. |
| delete_client_scope_protocol_mapperB | Delete a protocol mapper from a client scope. |
| add_client_scope_protocol_mappers_batchC | Add multiple protocol mappers to a client scope in batch. |
| list_client_scope_mappers_by_protocolA | List protocol mappers for a client scope filtered by protocol. |
| list_client_protocol_mappersB | List all protocol mappers for a client. |
| create_client_protocol_mapperC | Create a protocol mapper for a client. |
| get_client_protocol_mapperA | Get a protocol mapper for a client by ID. |
| update_client_protocol_mapperC | Update a protocol mapper for a client. |
| delete_client_protocol_mapperB | Delete a protocol mapper from a client. |
| add_client_protocol_mappers_batchB | Add multiple protocol mappers to a client in batch. |
| list_client_mappers_by_protocolC | List protocol mappers for a client filtered by protocol. |
| add_client_template_protocol_mappers_batchD | Create multiple mappers. |
| list_client_template_protocol_mappersD | Get mappers. |
| create_client_template_protocol_mapperD | Create a mapper. |
| get_client_template_protocol_mapperD | Get mapper by id. |
| update_client_template_protocol_mapperD | Update the mapper. |
| delete_client_template_protocol_mapperC | Delete the mapper. |
| list_client_template_mappers_by_protocolC | Get mappers by name for a specific protocol. |
| list_realmsB | List all realms accessible to the caller. |
| create_realmC | Create a new realm. |
| get_realmC | Get a realm by name. |
| update_realmC | Update a realm. |
| delete_realmB | Delete a realm. |
| list_admin_eventsC | List admin events for the realm. |
| clear_admin_eventsC | Clear all admin events for the realm. |
| list_realm_eventsC | List events for the realm. |
| clear_realm_eventsC | Clear all events for the realm. |
| get_realm_events_configB | Get the events configuration for the realm. |
| update_realm_events_configB | Update the events configuration for the realm. |
| logout_all_realm_sessionsB | Log out all sessions for the realm. |
| partial_export_realmC | Partial export of the realm configuration. |
| partial_import_realmC | Partial import into the realm. |
| get_users_management_permissionsC | Get users management permissions for the realm. |
| update_users_management_permissionsC | Update users management permissions for the realm. |
| get_client_session_statsC | Get client session stats for the realm. |
| list_credential_registratorsC | List credential registrators for the realm. |
| list_default_default_client_scopesC | List default default client scopes for the realm. |
| add_default_default_client_scopeC | Add a client scope to the default default client scopes of the realm. |
| remove_default_default_client_scopeB | Remove a client scope from the default default client scopes of the realm. |
| list_default_groupsB | List default groups for the realm. |
| add_default_groupB | Add a group to the default groups of the realm. |
| remove_default_groupB | Remove a group from the default groups of the realm. |
| list_default_optional_client_scopesB | List default optional client scopes for the realm. |
| add_default_optional_client_scopeA | Add a client scope to the default optional client scopes of the realm. |
| remove_default_optional_client_scopeB | Remove a client scope from the default optional client scopes of the realm. |
| get_group_by_pathC | Get a group by its path. |
| push_realm_revocation_policyA | Push the realm's revocation policy to any client that has an admin URL. |
| test_smtp_connectionB | Test SMTP connection with the given configuration. |
| list_realm_localization_localesB | List all locales that have localization texts configured for the realm. |
| get_realm_localization_textsA | Get all localization texts for a locale in the realm. |
| update_realm_localization_textsB | Import (replace) localization texts for a locale in the realm. |
| delete_realm_localization_localeA | Delete all localization texts for a locale in the realm. |
| get_realm_localization_textA | Get a specific localization text by locale and key. |
| set_realm_localization_textC | Set a specific localization text by locale and key. |
| delete_realm_localization_textB | Delete a specific localization text by locale and key. |
| convert_client_descriptionC | Convert a client description (OpenID Connect or SAML metadata, JSON/XML/text) into a client representation. |
| get_client_policiesC | Get the client policies of the realm. |
| update_client_policiesC | Update the client policies of the realm. |
| get_client_profilesB | Get the client profiles of the realm. |
| update_client_profilesC | Update the client profiles of the realm. |
| list_client_typesB | List all client types available in the current realm. |
| update_client_typesD | Update a client type. |
| delete_realm_sessionC | Remove a specific user session. |
| list_realm_rolesC | List all roles for the realm. |
| create_realm_roleC | Create a new realm role. |
| get_realm_roleB | Get a realm role by name. |
| update_realm_roleC | Update a realm role. |
| delete_realm_roleC | Delete a realm role. |
| get_realm_role_compositesC | Get composites of a realm role. |
| add_realm_role_compositesC | Add composites to a realm role. |
| remove_realm_role_compositesC | Remove composites from a realm role. |
| get_realm_role_realm_compositesA | Get realm-level composites of a realm role. |
| get_realm_role_client_compositesB | Get client-level composites of a realm role for a specific client. |
| list_realm_role_groupsB | List groups that have the specified realm role. |
| list_realm_role_usersC | List users that have the specified realm role. |
| get_realm_role_permissionsB | Get management permissions for a realm role. |
| update_realm_role_permissionsB | Update management permissions for a realm role. |
| list_client_rolesC | List all roles for a client. |
| create_client_roleC | Create a new client role. |
| get_client_roleC | Get a client role by name. |
| update_client_roleC | Update a client role. |
| delete_client_roleB | Delete a client role. |
| get_client_role_compositesC | Get composites of a client role. |
| add_client_role_compositesB | Add composites to a client role. |
| remove_client_role_compositesB | Remove composites from a client role. |
| get_client_role_realm_compositesC | Get realm-level composites of a client role. |
| get_client_role_client_compositesC | Get client-level composites of a client role for a specific target client. |
| list_client_role_groupsB | List groups that have the specified client role. |
| list_client_role_usersB | List users that have the specified client role. |
| get_client_role_permissionsB | Get management permissions for a client role. |
| update_client_role_permissionsC | Update management permissions for a client role. |
| get_role_by_idB | Get a role by ID. |
| update_role_by_idC | Update a role by ID. |
| delete_role_by_idB | Delete a role by ID. |
| get_role_by_id_compositesC | Get composites of a role by ID. |
| add_role_by_id_compositesC | Add composites to a role by ID. |
| remove_role_by_id_compositesB | Remove composites from a role by ID. |
| get_role_by_id_realm_compositesC | Get realm-level composites of a role by ID. |
| get_role_by_id_client_compositesA | Get client-level composites of a role by ID for a specific client. |
| get_role_by_id_permissionsB | Get management permissions for a role by ID. |
| update_role_by_id_permissionsB | Update management permissions for a role by ID. |
| get_client_scope_scope_mappingsC | Get all scope mappings for a client scope. |
| get_client_scope_realm_scope_mappingsC | Get realm-level roles associated with a client scope's scope. |
| add_client_scope_realm_scope_mappingsB | Add realm-level roles to a client scope's scope. |
| remove_client_scope_realm_scope_mappingsC | Remove realm-level roles from a client scope's scope. |
| get_available_client_scope_realm_scope_mappingsA | Get realm-level roles available to add to a client scope's scope. |
| get_effective_client_scope_realm_scope_mappingsA | Get effective (composite) realm-level roles for a client scope's scope. |
| get_client_scope_client_scope_mappingsB | Get client-level roles associated with a client scope's scope. |
| add_client_scope_client_scope_mappingsC | Add client-level roles to a client scope's scope. |
| remove_client_scope_client_scope_mappingsC | Remove client-level roles from a client scope's scope. |
| get_available_client_scope_client_scope_mappingsB | Get available client-level roles that can be added to a client scope's scope. |
| get_effective_client_scope_client_scope_mappingsC | Get effective (composite) client-level roles for a client scope's scope. |
| get_client_scope_mappings_allC | Get all scope mappings for a client. |
| get_client_realm_scope_mappingsB | Get realm-level roles associated with a client's scope. |
| add_client_realm_scope_mappingsC | Add realm-level roles to a client's scope. |
| remove_client_realm_scope_mappingsB | Remove realm-level roles from a client's scope. |
| get_available_client_realm_scope_mappingsB | Get realm-level roles available to add to a client's scope. |
| get_effective_client_realm_scope_mappingsB | Get effective (composite) realm-level roles for a client's scope. |
| get_user_role_mappingsC | Get all role mappings for a user. |
| get_user_realm_role_mappingsC | Get realm-level role mappings for a user. |
| add_user_realm_role_mappingsB | Add realm-level role mappings to a user. |
| remove_user_realm_role_mappingsB | Remove realm-level role mappings from a user. |
| get_available_user_realm_rolesB | Get realm-level roles available to map to a user. |
| get_effective_user_realm_role_mappingsB | Get effective (composite) realm-level role mappings for a user. |
| get_group_role_mappingsC | Get all role mappings for a group. |
| get_group_realm_role_mappingsB | Get realm-level role mappings for a group. |
| add_group_realm_role_mappingsB | Add realm-level role mappings to a group. |
| remove_group_realm_role_mappingsC | Remove realm-level role mappings from a group. |
| get_available_group_realm_rolesA | Get realm-level roles available to map to a group. |
| get_effective_group_realm_role_mappingsB | Get effective (composite) realm-level role mappings for a group. |
| get_client_template_scope_mappings_allC | Get all scope mappings for the client. |
| get_client_template_client_scope_mappingsC | Get the roles associated with a client's scope Returns roles for the client. |
| add_client_template_client_scope_mappingsC | Add client-level roles to the client's scope. |
| remove_client_template_client_scope_mappingsC | Remove client-level roles from the client's scope. |
| get_available_client_template_client_scope_mappingsC | The available client-level roles Returns the roles for the client that can be associated with the client's scope. |
| get_effective_client_template_client_scope_mappingsC | Get effective client roles Returns the roles for the client that are associated with the client's scope. |
| get_client_template_realm_scope_mappingsC | Get realm-level roles associated with the client's scope. |
| add_client_template_realm_scope_mappingsC | Add a set of realm-level roles to the client's scope. |
| remove_client_template_realm_scope_mappingsC | Remove a set of realm-level roles from the client's scope. |
| get_available_client_template_realm_scope_mappingsC | Get realm-level roles that are available to attach to this client's scope. |
| get_effective_client_template_realm_scope_mappingsC | Get effective realm-level roles associated with the client’s scope What this does is recurse any composite roles associated with the client’s scope and adds the roles to this lists. |
| get_client_client_scope_mappingsC | Get the roles associated with a client's scope Returns roles for the client. |
| add_client_client_scope_mappingsC | Add client-level roles to the client's scope. |
| remove_client_client_scope_mappingsC | Remove client-level roles from the client's scope. |
| get_available_client_client_scope_mappingsC | The available client-level roles Returns the roles for the client that can be associated with the client's scope. |
| get_effective_client_client_scope_mappingsC | Get effective client roles Returns the roles for the client that are associated with the client's scope. |
| list_usersB | List users in the realm, with optional filtering. |
| create_userC | Create a new user in the realm. |
| get_userC | Get a user by ID. |
| update_userC | Update a user. |
| delete_userC | Delete a user. |
| count_usersC | Get the number of users in the realm matching the given criteria. |
| get_user_profileC | Get the user profile configuration for the realm. |
| update_user_profileC | Update the user profile configuration for the realm. |
| list_user_credentialsB | List credentials for a user. |
| delete_user_credentialC | Delete a credential for a user. |
| update_user_credential_labelC | Update the label of a user credential. |
| move_user_credential_to_firstB | Move a user credential to the first position. |
| move_user_credential_afterC | Move a user credential after another credential. |
| reset_user_passwordC | Reset a user's password. |
| send_user_actions_emailB | Send required actions email to a user. |
| list_user_consentsC | List consents granted by a user. |
| revoke_user_consentB | Revoke consent and offline tokens for a particular client from a user. |
| disable_user_credential_typesC | Disable credential types for a user. |
| list_user_federated_identitiesB | List federated identities for a user. |
| add_user_federated_identityB | Add a federated identity to a user. |
| remove_user_federated_identityB | Remove a federated identity from a user. |
| list_user_groupsB | List groups that a user belongs to. |
| count_user_groupsB | Get the number of groups a user belongs to. |
| add_user_to_groupC | Add a user to a group. |
| remove_user_from_groupB | Remove a user from a group. |
| impersonate_userC | Impersonate a user. |
| logout_userA | Log out a user by revoking all sessions. |
| list_user_offline_sessionsB | List offline sessions for a user and client. |
| list_user_sessionsC | List sessions for a user. |
| list_user_configured_credential_typesC | List configured user storage credential types for a user. |
| get_user_profile_metadataB | Get the user profile metadata (attribute definitions and groups) of the realm. |
| send_user_reset_password_emailC | Send an email to the user with a link they can click to reset their password. |
| send_user_verify_emailC | Send an email-verification email to the user An email contains a link the user can click to verify their email address. |
| get_user_unmanaged_attributesB | Get the unmanaged attributes of a user. Requires Keycloak 25+. |
| list_workflowsC | List workflows. Requires Keycloak 26.5+. |
| create_workflowC | Create workflow. Requires Keycloak 26.5+. |
| migrate_workflow_scheduled_resourcesB | Migrate scheduled resources from one step to another. Requires Keycloak 26.6+. |
| list_resource_scheduled_workflowsC | List scheduled workflows for resource. Requires Keycloak 26.5+. |
| get_workflowC | Get workflow. Requires Keycloak 26.5+. |
| update_workflowC | Update workflow. Requires Keycloak 26.5+. |
| delete_workflowC | Delete workflow. Requires Keycloak 26.5+. |
| activate_workflow_for_resourceC | Activate workflow for resource. Requires Keycloak 26.5+. |
| deactivate_workflow_for_resourceC | Deactivate workflow for resource. Requires Keycloak 26.5+. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 415 tools
The tool set is enormous and riddled with near-duplicate scope/role-mapping operations (e.g., client, client template, client scope, and organization group scope mappings) whose descriptions are almost indistinguishable. Many tools differ only by resource qualifier or version, making misselection highly likely.
Most names use a snake_case verb_noun pattern, but the convention is stretched by very long compound names and inconsistent orderings such as get_client_template_scope_mappings_all versus get_client_scope_mappings_all. A few tools also use 'delete_' where sibling tools use 'remove_' for the same operation.
415 tools is an extreme mismatch for any practical MCP surface. Even for the broad Keycloak admin domain, this volume forces excessive tool selection overhead and strongly suggests raw API exposure rather than a curated set.
The surface appears to cover nearly every Keycloak administrative area: users, groups, roles, clients, client scopes, identity providers, organizations, authorization services, workflows, events, and localization. No obvious major domain gap is apparent.