Keycloak Admin
CommunityMCP server by mrz1880 · updated · ★ 2 · 44 downloads a week
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.
Last commit 5 days ago
MIT: permissive, fine for commercial use
Clear description, published package or server URL, original repository
Not checked yet. What we check
What you need
| Setting | Needed | What it is |
|---|---|---|
KEYCLOAK_Environment variable | Required | Base URL of the Keycloak server (no trailing slash). |
KEYCLOAK_Environment variable | Required | Realm the server operates on. |
AUTH_Environment variable | Required | Authentication mode: service_account or password. |
KC_Environment variable | Optional | Confidential client id (service_account mode). |
KC_Environment variable, secret | Optional | Client secret (service_account mode). |
KC_Environment variable | Optional | Admin username (password mode). |
KC_Environment variable, secret | Optional | Admin password (password mode). |
KC_Environment variable | Optional | Realm holding the admin user (password mode; default master). |
READ_Environment variable | Optional | When true, write and destructive tools are not registered. |
ALLOWED_Environment variable | Optional | Comma-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 AIclaude 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-adminRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"keycloak-admin": {
"command": "npx",
"args": [
"-y",
"mcp-keycloak-admin"
],
"env": {
"KEYCLOAK_BASE_URL": "YOUR_KEYCLOAK_BASE_URL",
"KEYCLOAK_REALM": "YOUR_KEYCLOAK_REALM",
"AUTH_MODE": "YOUR_AUTH_MODE"
}
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"keycloak-admin": {
"command": "npx",
"args": [
"-y",
"mcp-keycloak-admin"
],
"env": {
"KEYCLOAK_BASE_URL": "YOUR_KEYCLOAK_BASE_URL",
"KEYCLOAK_REALM": "YOUR_KEYCLOAK_REALM",
"AUTH_MODE": "YOUR_AUTH_MODE"
}
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"keycloak-admin": {
"command": "npx",
"args": [
"-y",
"mcp-keycloak-admin"
],
"env": {
"KEYCLOAK_BASE_URL": "YOUR_KEYCLOAK_BASE_URL",
"KEYCLOAK_REALM": "YOUR_KEYCLOAK_REALM",
"AUTH_MODE": "YOUR_AUTH_MODE"
}
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add keycloak-admin --env KEYCLOAK_BASE_URL=YOUR_KEYCLOAK_BASE_URL --env KEYCLOAK_REALM=YOUR_KEYCLOAK_REALM --env AUTH_MODE=YOUR_AUTH_MODE -- npx -y mcp-keycloak-admin{
"mcpServers": {
"keycloak-admin": {
"command": "npx",
"args": [
"-y",
"mcp-keycloak-admin"
],
"env": {
"KEYCLOAK_BASE_URL": "YOUR_KEYCLOAK_BASE_URL",
"KEYCLOAK_REALM": "YOUR_KEYCLOAK_REALM",
"AUTH_MODE": "YOUR_AUTH_MODE"
}
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add keycloak-admin npx -y mcp-keycloak-adminGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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.
Alternatives to Keycloak Admin
All alternatives →Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.
Validate oh-my-posh configurations and segment snippets against the official schema.
Real-time global intelligence across conflict, markets, energy, trade, shipping and cyber. 95 tools.
Securely access and manage FHIR healthcare data stored in Medplum.
Manage monitors, status pages, incidents and maintenances in your openstatus workspace.
MCP tools for interacting with Microsoft Fabric
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.
