AdYour product here, seen by people installing AI tools every day Sponsor slots open: 12 of 12, from $249 a month

Keycloak Admin

Community

MCP server by mrz1880 · updated · ★ 2 · 44 downloads a week

Score 67

Administer Keycloak via its Admin REST API: users, roles, clients, groups, IdP, events. Keycloak Admin is a community project by mrz1880, not verified by a company domain.

Yours? Claim it
Maintenance

Last commit 5 days ago

Licence

MIT: permissive, fine for commercial use

Quality

Clear description, published package or server URL, original repository

Security

Not checked yet. What we check

What you need

SettingNeededWhat it is
KEYCLOAK_BASE_URLEnvironment variableRequiredBase URL of the Keycloak server (no trailing slash).
KEYCLOAK_REALMEnvironment variableRequiredRealm the server operates on.
AUTH_MODEEnvironment variableRequiredAuthentication mode: service_account or password.
KC_CLIENT_IDEnvironment variableOptionalConfidential client id (service_account mode).
KC_CLIENT_SECRETEnvironment variable, secretOptionalClient secret (service_account mode).
KC_ADMIN_USERNAMEEnvironment variableOptionalAdmin username (password mode).
KC_ADMIN_PASSWORDEnvironment variable, secretOptionalAdmin password (password mode).
KC_ADMIN_REALMEnvironment variableOptionalRealm holding the admin user (password mode; default master).
READ_ONLYEnvironment variableOptionalWhen true, write and destructive tools are not registered.
ALLOWED_REALMSEnvironment variableOptionalComma-separated allow-list of realms the server may operate on.

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Install Keycloak Admin

Built from the published package, never by AI
claude mcp add keycloak-admin -e KEYCLOAK_BASE_URL=YOUR_KEYCLOAK_BASE_URL -e KEYCLOAK_REALM=YOUR_KEYCLOAK_REALM -e AUTH_MODE=YOUR_AUTH_MODE -- npx -y mcp-keycloak-admin

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Keycloak Admin in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the keycloak-admin block.

Weekly newsletter

Like Keycloak Admin? Get the best new MCP servers every week

The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.

No spam. Unsubscribe in one click. Privacy

Alternatives to Keycloak Admin

All alternatives →

Keycloak Admin: common questions

How do I install Keycloak Admin?

In Claude Code run claude mcp add keycloak-admin -e KEYCLOAK_BASE_URL=YOUR_KEYCLOAK_BASE_URL -e KEYCLOAK_REALM=YOUR_KEYCLOAK_REALM -e AUTH_MODE=YOUR_AUTH_MODE -- npx -y mcp-keycloak-admin. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Keycloak Admin the official server?

Keycloak Admin is a community project by mrz1880, not verified by a company domain.

Is Keycloak Admin free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Keycloak Admin safe to use?

It scores 67 of 100. Grades: maintenance A, licence A, quality C. The security check has not run for it yet. Review the code before you install. How grades work.

What are alternatives to Keycloak Admin?

Similar MCP servers: Jitsu, Oh My Posh Validator, World Monitor, mcp.

Does Keycloak Admin work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Add to stack

Loading.