keycloak-model-context-protocol
io.github.ChristophEnglisch/keycloak-model-context-protocol
About keycloak-model-context-protocol
keycloak-model-context-protocol is an MCP server published by the GitHub account ChristophEnglisch. Manage Keycloak users, groups, roles and realms through the Keycloak Admin REST API.
It runs on your own machine: your AI client starts it from the npm package keycloak-model-context-protocol at version 1.1.0.
It asks for 2 secrets: KEYCLOAK_CLIENT_SECRET and KEYCLOAK_PASSWORD. Give it a key with the least access that still works.
It also needs KEYCLOAK_URL set before it starts.
Version 1.1.0 was published on 26 October 2026, and the source code is public, so you can read it before installing.
Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 0 warn, 0 fail, 2 info. How we check.
What it asks for
| Variable | Required | Secret | Description |
|---|---|---|---|
KEYCLOAK_URL | Yes | No | Base URL of the Keycloak server, e.g. https://keycloak.example.com |
KEYCLOAK_AUTH_REALM | No | No | Realm used to obtain the admin token |
KEYCLOAK_CLIENT_ID | No | No | Client ID used for login (default admin-cli for the password grant, required for client_credentials) |
KEYCLOAK_CLIENT_SECRET | No | Yes | Client secret for the client_credentials grant (recommended: a dedicated service account) |
KEYCLOAK_USERNAME | No | No | Username for the password grant (alternative to client credentials) |
KEYCLOAK_PASSWORD | No | Yes | Password for the password grant |
KEYCLOAK_GRANT_TYPE | No | No | Grant type; auto-detected if unset (client_credentials when a secret is set, else password) |
KEYCLOAK_MCP_READ_ONLY | No | No | If true, only read-only tools are registered |
KEYCLOAK_MCP_REALMS | No | No | Comma-separated allowlist of target realms; empty means all realms |
KEYCLOAK_MCP_ALLOW_MASTER_WRITE | No | No | If true, write tools may modify the master realm |
KEYCLOAK_MCP_TOOLSETS | No | No | Comma-separated enabled toolsets (core, groups, roles, clients, sessions, events, security) or all |
KEYCLOAK_MCP_REQUIRE_CONFIRMATION | No | No | If true, destructive tools require confirm=true |
KEYCLOAK_MCP_TIMEOUT_MS | No | No | HTTP timeout for Keycloak requests in milliseconds |
KEYCLOAK_MCP_LOG_LEVEL | No | No | Log level written to stderr |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/ChristophEnglisch/keycloak-model-context-protocol |
| Version pinned | Pass | Every package has an explicit version |
| Secrets requested | Info | Asks for 2 secrets: KEYCLOAK_CLIENT_SECRET, KEYCLOAK_PASSWORD |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via GitHub account ChristophEnglisch |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | keycloak-model-context-protocol@1.1.0 runs nothing at install |
| Code red flags | Pass | Read 31 files in keycloak-model-context-protocol@1.1.0: no obfuscation, encoded execution, credential reads or data-collection endpoints found |
| Text aimed at the AI | Pass | No hidden characters or instructions to the AI in 31 files, including comments and the README |
Popularity & health: 70 / 100
Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.
10 forks, 23 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.
What people say
No Hacker News threads link to its source code.
Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.
Facts
| Registry name | io.github.ChristophEnglisch/keycloak-model-context-protocol |
|---|---|
| Publisher | GitHub account ChristophEnglisch |
| How the name is verified | Name verified via GitHub account ChristophEnglisch. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local: runs on your machine from a package |
| Packages | npm keycloak-model-context-protocol 1.1.0 (stdio) |
| Version | 1.1.0 |
| Published | |
| Last updated | |
| Source repository | https://github.com/ChristophEnglisch/keycloak-model-context-protocol |
| Website | None linked |
| Category | Search & web (assigned by keyword rule, not by hand) |
Related servers in Search & web
- Keycloak Admin7/7Administer Keycloak via its Admin REST API: users, roles, clients,…
- KeyCloak MCP7/7MCP server for KeyCloak Admin REST API via Service Account
- Norwegian Company Data4/4Norwegian company search, accounts, roles, groups and websites from…
- onelogin-mcp7/7MCP server for OneLogin API - manage users, apps, roles, and…
- vk-mcp7/7MCP server for VK API — wall posts, news search, users, groups. 4…
- TaskLite8/8tasklite.net: hosted backend, REST API and admin for apps built by…