Keycloak Admin API
Unofficial: one tool per Keycloak admin operation on a realm, read-only unless writes are enabled
Open the source (opens github.com) https://github.com/sferarc/openapi
Before you use it
- Runs on your computer with your permissions. Read what it can do before connecting it to an agent.
- Needs credentials: KEYCLOAK_CLIENT_SECRET, KEYCLOAK_TOKEN. Use a key with the least access you can.
What it is
MCP servers from io.github.sferarc.
The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.
How to get it
npm package (stdio)
keycloak-api@3.8.0
From the server's entry in the official MCP Registry
Settings it asks for
KEYCLOAK_URLrequired · Base URL of the server, such as https://keycloak.example.comKEYCLOAK_REALMrequired · Realm the tools act onKEYCLOAK_TOKENsecret · A fixed access token; otherwise set KEYCLOAK_CLIENT_ID and KEYCLOAK_CLIENT_SECRETKEYCLOAK_CLIENT_ID· A confidential client with a service account, for the client credentials grantKEYCLOAK_CLIENT_SECRETsecret · Secret of that clientKEYCLOAK_TOKEN_REALM· Realm of that client, if not KEYCLOAK_REALM (for example master)KEYCLOAK_MCP_ALLOW_WRITES· 1 to list the tools that change dataKEYCLOAK_MCP_RESOURCES· Comma separated resources to list tools for, such as users,groups,roles
Related
-
Keycloak Admin
MCP serversAdminister Keycloak via its Admin REST API: users, roles, clients, groups, IdP, events.
mcp-keycloak-admin@0.2.3 -
keycloak-model-context-protocol
MCP serversManage Keycloak users, groups, roles and realms through the Keycloak Admin REST API.
keycloak-model-context-protocol@1.1.0 -
KeyCloak MCP
MCP serversMCP server for KeyCloak Admin REST API via Service Account
keycloak-mcp@1.6.0 -
mcp-keycloak
MCP serversKeycloak admin for AI agents — realms, users, clients, roles; safe-by-default governance.
@dockndevai/mcp-keycloak@0.3.3 -
issuerd
MCP serversFast, Keycloak-compatible IAM with DPoP and CIBA
git clone https://github.com/issuerd/issuerd.git -
keycloak-mcp.test
MCP serversThis is just a test publish, delete me