Keycloak Admin

io.github.mrz1880/mcp-keycloak-admin

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "mcp-keycloak-admin": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-keycloak-admin@0.2.3"
      ],
      "env": {
        "KEYCLOAK_BASE_URL": "<your KEYCLOAK_BASE_URL>",
        "KEYCLOAK_REALM": "<your KEYCLOAK_REALM>",
        "AUTH_MODE": "<your AUTH_MODE>",
        "KC_CLIENT_SECRET": "<your KC_CLIENT_SECRET>",
        "KC_ADMIN_PASSWORD": "<your KC_ADMIN_PASSWORD>"
      }
    }
  }
}
Environment variables
  • KEYCLOAK_BASE_URLrequiredBase URL of the Keycloak server (no trailing slash).
  • KEYCLOAK_REALMrequiredRealm the server operates on.
  • AUTH_MODErequiredAuthentication mode: service_account or password.
  • KC_CLIENT_SECRETsecretClient secret (service_account mode).
  • KC_ADMIN_PASSWORDsecretAdmin password (password mode).

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.2.3
Registry
active
Published
6/26/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that Keycloak Admin is listed here — it’s also the link we check for a free listing.

Keycloak Admin — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-mrz1880-mcp-keycloak-admin?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Keycloak Admin — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Keycloak Admin — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-mrz1880-mcp-keycloak-admin?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.