Skip to content
Verified official

Keycloak Admin MCP

v0.2.3

io.github.mrz1880/mcp-keycloak-admin

Administer Keycloak via its Admin REST API: users, roles, clients, groups, IdP, events.

transport:stdio runtime:npm

Target client

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add mcp-keycloak-admin -e KEYCLOAK_BASE_URL=<KEYCLOAK_BASE_URL> -e KEYCLOAK_REALM=<KEYCLOAK_REALM> -e AUTH_MODE=<AUTH_MODE> -e KC_CLIENT_ID=<KC_CLIENT_ID> -e KC_CLIENT_SECRET=<KC_CLIENT_SECRET> -e KC_ADMIN_USERNAME=<KC_ADMIN_USERNAME> -e KC_ADMIN_PASSWORD=<KC_ADMIN_PASSWORD> -e KC_ADMIN_REALM=<KC_ADMIN_REALM> -e READ_ONLY=<READ_ONLY> -e ALLOWED_REALMS=<ALLOWED_REALMS> -- npx -y mcp-keycloak-admin

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

This listing does not declare its tools. Connect the server and your client will discover them on the handshake.