1. Conduid
  2. Developer Tools
  3. Keycloak
MCP server · Developer Tools

Keycloak

The Keycloak MCP Server designed for agentic applications to manage and search data in Keycloak efficiently

59Fair

Scored 3 hours ago · breakdown

About Keycloak

Keycloak is an MCP server published by idoyudha in the Developer Tools category: the Keycloak MCP Server designed for agentic applications to manage and search data in Keycloak efficiently. Conduid read 78 tools from its source: add_execution_to_flow, add_realm_default_group, add_subflow_to_flow, add_user_to_group, assign_client_role_to_user, assign_realm_role_to_user and 72 more. No package is published for it, so it installs from a source checkout.

The repository has 5 stars and 5 forks, is licensed MIT, and its last commit was on 23 Nov 2026. The latest release is v1.2.2 (27 Aug 2025). It follows v1.2.1 (27 Aug 2025), and the 5 most recent releases go back to v1.0.2 (11 Aug 2025). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. Its topics include keycloak, identity, access-management, authentication, authorization and octodet.

Install

From source
git clone https://github.com/idoyudha/mcp-keycloak

Tools (78)

add_execution_to_flowAdd a new authentication execution to a flow.
ParameterTypeDescription
flow_alias *stringThe flow's alias
provider *stringThe authenticator provider
realmstringTarget realm (uses default if not specified)
add_realm_default_groupAdd a default group to the realm.
ParameterTypeDescription
group_id *stringGroup ID to add as default
realmstringTarget realm (uses default if not specified)
add_subflow_to_flowAdd a new flow with new execution to existing flow.
ParameterTypeDescription
alias *stringThe new subflow's alias
descriptionstringSubflow description
flow_alias *stringThe parent flow's alias
idstringSubflow ID
providerstringProvider ID
realmstringTarget realm (uses default if not specified)
typestringFlow type (basic-flow, form-flow, etc.)
add_user_to_groupAdd a user to a group.
ParameterTypeDescription
group_id *stringGroup ID
realmstringTarget realm (uses default if not specified)
user_id *stringUser ID
assign_client_role_to_userAssign client roles to a user.
ParameterTypeDescription
client_id *stringClient database ID
realmstringTarget realm (uses default if not specified)
role_names *arrayList of role names to assign
user_id *stringUser ID
assign_realm_role_to_userAssign realm roles to a user.
ParameterTypeDescription
realmstringTarget realm (uses default if not specified)
role_names *arrayList of role names to assign
user_id *stringUser ID
copy_authentication_flowCopy an existing authentication flow under a new name.
ParameterTypeDescription
flow_alias *stringThe source flow's alias
new_name *stringThe new flow's name
realmstringTarget realm (uses default if not specified)
count_usersUser statistics
ParameterTypeDescription
realmstringTarget realm (uses default if not specified)
create_authentication_flowCreate a new authentication flow.
ParameterTypeDescription
alias *stringThe flow's alias
built_inbooleanWhether it's built-in (default: False)
description *stringFlow description
idstringFlow ID
provider_idstringProvider ID (default: "basic-flow")
realmstringTarget realm (uses default if not specified)
top_levelbooleanWhether it's a top-level flow (default: True)
create_authenticator_configCreate new authenticator configuration.
ParameterTypeDescription
alias *stringConfiguration alias
config *objectConfiguration values
idstringConfiguration ID
realmstringTarget realm (uses default if not specified)
create_clientCreate a new client.
ParameterTypeDescription
always_display_in_consolebooleanAlways display in account console
authorization_services_enabledbooleanEnable authorization services
bearer_onlybooleanBearer-only client
client_id *stringClient ID (unique identifier)
descriptionstringClient description
direct_access_grants_enabledbooleanEnable direct access grants (password flow)
enabledbooleanWhether the client is enabled
implicit_flow_enabledbooleanEnable implicit flow
namestringDisplay name
protocolstringProtocol (openid-connect or saml)
public_clientbooleanPublic client (no secret)
realmstringTarget realm (uses default if not specified)
redirect_urisarrayValid redirect URIs
root_urlstringRoot URL for relative URLs
service_accounts_enabledbooleanEnable service accounts
standard_flow_enabledbooleanEnable standard flow (authorization code)
web_originsarrayAllowed CORS origins
create_client_roleCreate a new client role.
ParameterTypeDescription
client_id *stringClient database ID
compositebooleanWhether this is a composite role
descriptionstringRole description
name *stringRole name
realmstringTarget realm (uses default if not specified)
create_executionAdd a new authentication execution.
ParameterTypeDescription
authenticatorstringAuthenticator name
authenticator_configstringAuthenticator configuration
authenticator_flowbooleanIs this an authenticator flow
flow_idstringFlow ID
idstringExecution ID
parent_flowstringParent flow ID
priorityintegerPriority level
realmstringTarget realm (uses default if not specified)
requirementstringRequirement level (DISABLED, ALTERNATIVE, REQUIRED, CONDITIONAL)
create_groupCreate a new group.
ParameterTypeDescription
attributesobjectGroup attributes
name *stringGroup name
pathstringGroup path
realmstringTarget realm (uses default if not specified)
create_realm_roleCreate a new realm role.
ParameterTypeDescription
client_rolebooleanWhether this is a client role
compositebooleanWhether this is a composite role
descriptionstringRole description
name *stringRole name
realmstringTarget realm (uses default if not specified)
create_userCreate a new user.
ParameterTypeDescription
attributesobjectAdditional user attributes
emailstringEmail address
email_verifiedbooleanWhether the email is verified
enabledbooleanWhether the user is enabled
first_namestringFirst name
last_namestringLast name
realmstringTarget realm (uses default if not specified)
temporary_passwordstringInitial password (user will be required to change it)
username *stringUsername for the new user
delete_authentication_flowDelete an authentication flow.
ParameterTypeDescription
flow_id *stringThe flow's ID
realmstringTarget realm (uses default if not specified)
delete_authenticator_configDelete authenticator configuration.
ParameterTypeDescription
config_id *stringThe configuration's ID
realmstringTarget realm (uses default if not specified)
delete_clientDelete a client.
ParameterTypeDescription
id *stringThe client's database ID
realmstringTarget realm (uses default if not specified)
delete_executionDelete an authentication execution.
ParameterTypeDescription
execution_id *stringThe execution's ID
realmstringTarget realm (uses default if not specified)
delete_groupDelete a group.
ParameterTypeDescription
group_id *stringGroup ID
realmstringTarget realm (uses default if not specified)
delete_realm_roleDelete a realm role.
ParameterTypeDescription
realmstringTarget realm (uses default if not specified)
role_name *stringRole name to delete
delete_userDelete a user.
ParameterTypeDescription
realmstringTarget realm (uses default if not specified)
user_id *stringThe user's ID
get_accessible_realmsList of accessible realms
get_authentication_flowGet a specific authentication flow by ID.
ParameterTypeDescription
flow_id *stringThe flow's ID
realmstringTarget realm (uses default if not specified)
get_authenticator_configGet authenticator configuration.
ParameterTypeDescription
config_id *stringThe configuration's ID
realmstringTarget realm (uses default if not specified)
get_authenticator_providersGet authenticator providers.
ParameterTypeDescription
realmstringTarget realm (uses default if not specified)
get_clientGet a specific client by database ID.
ParameterTypeDescription
id *stringThe client's database ID (not client_id)
realmstringTarget realm (uses default if not specified)
get_client_authenticator_providersGet client authenticator providers.
ParameterTypeDescription
realmstringTarget realm (uses default if not specified)
get_client_by_clientidGet a specific client by client ID.
ParameterTypeDescription
client_id *stringThe client's client_id
realmstringTarget realm (uses default if not specified)
get_client_secretGet the client secret.
ParameterTypeDescription
id *stringThe client's database ID
realmstringTarget realm (uses default if not specified)
get_client_service_accountService account access
ParameterTypeDescription
id *stringThe client's database ID
realmstringTarget realm (uses default if not specified)
get_executionGet a single authentication execution.
ParameterTypeDescription
execution_id *stringThe execution's ID
realmstringTarget realm (uses default if not specified)
get_execution_configGet execution's configuration.
ParameterTypeDescription
config_id *stringThe configuration's ID
execution_id *stringThe execution's ID
realmstringTarget realm (uses default if not specified)
get_flow_executionsGet authentication executions for a flow.
ParameterTypeDescription
flow_alias *stringThe flow's alias
realmstringTarget realm (uses default if not specified)
get_groupGet a specific group by ID.
ParameterTypeDescription
group_id *stringGroup ID
realmstringTarget realm (uses default if not specified)
get_group_membersGet members of a group.
ParameterTypeDescription
firstintegerPagination offset
group_id *stringGroup ID
maxintegerMaximum results size
realmstringTarget realm (uses default if not specified)
get_provider_config_descriptionGet authenticator provider's configuration description.
ParameterTypeDescription
provider_id *stringThe provider's ID
realmstringTarget realm (uses default if not specified)
get_realm_default_groupsGet default groups for the realm.
ParameterTypeDescription
realmstringTarget realm (uses default if not specified)
get_realm_events_configGet realm events configuration.
ParameterTypeDescription
realmstringTarget realm (uses default if not specified)
get_realm_infoGet information about the current realm.
ParameterTypeDescription
realmstringTarget realm (uses default if not specified)
get_realm_roleGet a specific realm role by name.
ParameterTypeDescription
realmstringTarget realm (uses default if not specified)
role_name *stringRole name
get_required_actionGet a specific required action by alias.
ParameterTypeDescription
alias *stringThe required action's alias
realmstringTarget realm (uses default if not specified)
get_required_actionsGet all required actions in the realm.
ParameterTypeDescription
realmstringTarget realm (uses default if not specified)
get_unregistered_required_actionsGet unregistered required actions.
ParameterTypeDescription
realmstringTarget realm (uses default if not specified)
get_userGet a specific user by ID.
ParameterTypeDescription
realmstringTarget realm (uses default if not specified)
user_id *stringThe user's ID
get_user_groupsGet all groups for a user.
ParameterTypeDescription
realmstringTarget realm (uses default if not specified)
user_id *stringUser ID
get_user_realm_rolesGet realm roles for a user.
ParameterTypeDescription
effectivebooleanGet effective roles (including composite roles)
realmstringTarget realm (uses default if not specified)
user_id *stringUser ID
get_user_sessionsGet active sessions for a user.
ParameterTypeDescription
realmstringTarget realm (uses default if not specified)
user_id *stringThe user's ID
list_authentication_flowsGet authentication flows in the realm.
ParameterTypeDescription
realmstringTarget realm (uses default if not specified)
list_client_rolesList roles for a specific client.
ParameterTypeDescription
client_id *stringClient database ID
firstintegerPagination offset
maxintegerMaximum results size
realmstringTarget realm (uses default if not specified)
searchstringSearch string
list_clientsList clients in the realm.
ParameterTypeDescription
client_idstringFilter by client ID (partial match)
firstintegerPagination offset
maxintegerMaximum results size
realmstringTarget realm (uses default if not specified)
viewable_onlybooleanOnly return viewable clients
list_groupsList all groups in the realm.
ParameterTypeDescription
firstintegerPagination offset
maxintegerMaximum results size
realmstringTarget realm (uses default if not specified)
searchstringSearch string
list_realm_rolesList all realm roles.
ParameterTypeDescription
firstintegerPagination offset
maxintegerMaximum results size
realmstringTarget realm (uses default if not specified)
searchstringSearch string
list_usersList users with pagination and filtering
ParameterTypeDescription
emailstringEmail filter
enabledbooleanFilter by enabled/disabled users
firstintegerPagination offset
maxintegerMaximum results size (defaults to 100)
realmstringTarget realm (uses default if not specified)
searchstringSearch string for username, first/last name, or email
usernamestringUsername filter
logout_userLogout all sessions for a user.
ParameterTypeDescription
realmstringTarget realm (uses default if not specified)
user_id *stringThe user's ID
lower_execution_priorityLower an execution's priority.
ParameterTypeDescription
execution_id *stringThe execution's ID
realmstringTarget realm (uses default if not specified)
lower_required_action_priorityLower the priority of a required action.
ParameterTypeDescription
alias *stringThe required action's alias
realmstringTarget realm (uses default if not specified)
raise_execution_priorityRaise an execution's priority.
ParameterTypeDescription
execution_id *stringThe execution's ID
realmstringTarget realm (uses default if not specified)
raise_required_action_priorityRaise the priority of a required action.
ParameterTypeDescription
alias *stringThe required action's alias
realmstringTarget realm (uses default if not specified)
regenerate_client_secretRegenerate the client secret.
ParameterTypeDescription
id *stringThe client's database ID
realmstringTarget realm (uses default if not specified)
register_required_actionRegister a new required action.
ParameterTypeDescription
name *stringAction name
provider_id *stringThe provider ID
realmstringTarget realm (uses default if not specified)
remove_all_user_sessionsRemove all sessions for all users in the realm.
ParameterTypeDescription
realmstringTarget realm (uses default if not specified)
remove_realm_default_groupRemove a default group from the realm.
ParameterTypeDescription
group_id *stringGroup ID to remove from defaults
realmstringTarget realm (uses default if not specified)
remove_realm_role_from_userRemove realm roles from a user.
ParameterTypeDescription
realmstringTarget realm (uses default if not specified)
role_names *arrayList of role names to remove
user_id *stringUser ID
remove_user_from_groupRemove a user from a group.
ParameterTypeDescription
group_id *stringGroup ID
realmstringTarget realm (uses default if not specified)
user_id *stringUser ID
reset_user_passwordPassword management
ParameterTypeDescription
password *stringNew password
realmstringTarget realm (uses default if not specified)
temporarybooleanWhether the password is temporary (user must change on next login)
user_id *stringThe user's ID
update_authentication_flowUpdate an authentication flow.
ParameterTypeDescription
alias *stringThe flow's alias
built_inbooleanWhether it's built-in
descriptionstringFlow description
flow_id *stringThe flow's ID (used in URL path)
idstringFlow ID (for request body)
provider_idstringProvider ID
realmstringTarget realm (uses default if not specified)
top_levelbooleanWhether it's a top-level flow
update_authenticator_configUpdate authenticator configuration.
ParameterTypeDescription
alias *stringConfiguration alias
config *objectConfiguration values
config_id *stringThe configuration's ID (used in URL path)
idstringConfiguration ID (for request body)
realmstringTarget realm (uses default if not specified)
update_clientUpdate an existing client.
ParameterTypeDescription
client_idstringNew client ID
descriptionstringNew description
direct_access_grants_enabledbooleanEnable direct access grants
enabledbooleanWhether the client is enabled
id *stringThe client's database ID
namestringNew display name
public_clientbooleanWhether client is public
realmstringTarget realm (uses default if not specified)
redirect_urisarrayNew redirect URIs
service_accounts_enabledbooleanEnable service accounts
web_originsarrayNew CORS origins
update_execution_configUpdate execution with new configuration.
ParameterTypeDescription
authenticator_config *objectNew configuration data
execution_id *stringThe execution's ID
idstringConfiguration ID
realmstringTarget realm (uses default if not specified)
update_flow_executionsUpdate authentication executions of a flow.
ParameterTypeDescription
executions *arrayList of execution objects with updated properties
flow_alias *stringThe flow's alias
realmstringTarget realm (uses default if not specified)
update_groupUpdate a group.
ParameterTypeDescription
attributesobjectNew group attributes
group_id *stringGroup ID
namestringNew group name
pathstringNew group path
realmstringTarget realm (uses default if not specified)
update_realm_events_configUpdate realm events configuration.
ParameterTypeDescription
admin_events_details_enabledbooleanInclude details in admin events
admin_events_enabledbooleanEnable admin events
enabled_event_typesarrayTypes of events to record
events_enabledbooleanEnable events
events_listenersarrayEvent listener implementations
realmstringTarget realm (uses default if not specified)
update_realm_roleUpdate a realm role.
ParameterTypeDescription
compositebooleanWhether this is a composite role
descriptionstringNew description
realmstringTarget realm (uses default if not specified)
role_name *stringCurrent role name
update_realm_settingsUpdate realm settings.
ParameterTypeDescription
account_themestringAccount management theme
admin_themestringAdmin console theme
brute_force_protectedbooleanEnable brute force protection
default_localestringDefault locale
display_namestringDisplay name for the realm
display_name_htmlstringHTML display name
duplicate_emails_allowedbooleanAllow duplicate emails
email_themestringEmail theme
enabledbooleanWhether realm is enabled
failure_factorintegerFailure factor
login_themestringLogin theme name
login_with_email_allowedbooleanAllow login with email
max_delta_time_secondsintegerMax time between failures
max_failure_wait_secondsintegerMax wait after failures
minimum_quick_login_wait_secondsintegerMin wait between quick logins
permanent_lockoutbooleanPermanent lockout on max failures
quick_login_check_milli_secondsintegerQuick login check interval
realmstringTarget realm (uses default if not specified)
registration_allowedbooleanAllow user registration
registration_email_as_usernamebooleanUse email as username
remember_mebooleanEnable remember me
reset_password_allowedbooleanAllow password reset
ssl_requiredstringSSL requirement (none, external, all)
verify_emailbooleanRequire email verification
wait_increment_secondsintegerWait increment
update_required_actionUpdate a required action.
ParameterTypeDescription
alias *stringThe required action's alias
configobjectAdditional configuration
default_actionbooleanWhether this is a default action
enabledbooleanWhether the action is enabled
name *stringDisplay name
priorityintegerAction priority
realmstringTarget realm (uses default if not specified)
update_userUpdate an existing user.
ParameterTypeDescription
attributesobjectUpdated user attributes
emailstringNew email address
email_verifiedbooleanWhether the email is verified
enabledbooleanWhether the user is enabled
first_namestringNew first name
last_namestringNew last name
realmstringTarget realm (uses default if not specified)
user_id *stringThe user's ID
usernamestringNew username

Security checks

Static checks derived from the repository a month ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.4K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • ✓No dynamic code executionScanned 15 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v1.2.2v1.2.2 · 27 Aug 2025What's Changed chore: update LICENSE name copyright author by @idoyudha in https://github.com/idoyudha/mcp-keycloak/pull/13 Full Changelog: https://github.com/idoyudha/mcp-keycloak/compare/v1.2.1...v1.2.2
v1.2.1v1.2.1 · 27 Aug 2025What's Changed fix: copy deps file for installation in dockerfile, because uv.lock i… by @idoyudha in https://github.com/idoyudha/mcp-keycloak/pull/10 fix: remove uv.lock in Dockerfile by @idoyudha in…
v1.2.0v1.2.0 · 27 Aug 2025What's Changed Refactor stdio to support http transport Refactor logging from print to logging library Full Changelog: https://github.com/idoyudha/mcp-keycloak/compare/v1.1.0...v1.2.0
v1.1.0v1.1.0 · 25 Aug 2025What's Changed feat: add authentication management tools by @idoyudha in https://github.com/idoyudha/mcp-keycloak/pull/8 Full Changelog: https://github.com/idoyudha/mcp-keycloak/compare/v1.0.2...v1.1.0
v1.0.2v1.0.2 · 11 Aug 2025What's Changed Add Trust Score badge by @iskhakov in https://github.com/idoyudha/mcp-keycloak/pull/5 Refactor/async by @idoyudha in https://github.com/idoyudha/mcp-keycloak/pull/6 New Contributors @iskhakov made their first contribution in…

README

The repository's README runs to about 1.4K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Keycloak

How do I install Keycloak?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Keycloak safe to use with an AI agent?

Its trust score is 59 out of 100 (fair). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Keycloak still maintained?

Yes — the last commit was 10 days ago. The repository has 5 stars and 5 forks.

What tools does Keycloak provide?

Conduid read 78 tools from the source: add_execution_to_flow, add_realm_default_group, add_subflow_to_flow, add_user_to_group, assign_client_role_to_user, assign_realm_role_to_user, copy_authentication_flow, count_users and 70 more. 77 of them publish their parameters, listed under Tools above.

What license is Keycloak released under?

The repository declares the MIT license. That applies to the latest release, v1.2.2, as well.