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

VariableRequiredSecretDescription
KEYCLOAK_URLYesNoBase URL of the Keycloak server, e.g. https://keycloak.example.com
KEYCLOAK_AUTH_REALMNoNoRealm used to obtain the admin token
KEYCLOAK_CLIENT_IDNoNoClient ID used for login (default admin-cli for the password grant, required for client_credentials)
KEYCLOAK_CLIENT_SECRETNoYesClient secret for the client_credentials grant (recommended: a dedicated service account)
KEYCLOAK_USERNAMENoNoUsername for the password grant (alternative to client credentials)
KEYCLOAK_PASSWORDNoYesPassword for the password grant
KEYCLOAK_GRANT_TYPENoNoGrant type; auto-detected if unset (client_credentials when a secret is set, else password)
KEYCLOAK_MCP_READ_ONLYNoNoIf true, only read-only tools are registered
KEYCLOAK_MCP_REALMSNoNoComma-separated allowlist of target realms; empty means all realms
KEYCLOAK_MCP_ALLOW_MASTER_WRITENoNoIf true, write tools may modify the master realm
KEYCLOAK_MCP_TOOLSETSNoNoComma-separated enabled toolsets (core, groups, roles, clients, sessions, events, security) or all
KEYCLOAK_MCP_REQUIRE_CONFIRMATIONNoNoIf true, destructive tools require confirm=true
KEYCLOAK_MCP_TIMEOUT_MSNoNoHTTP timeout for Keycloak requests in milliseconds
KEYCLOAK_MCP_LOG_LEVELNoNoLog level written to stderr

Checks

CheckResultDetail
Source repository linkedPasshttps://github.com/ChristophEnglisch/keycloak-model-context-protocol
Version pinnedPassEvery package has an explicit version
Secrets requestedInfoAsks for 2 secrets: KEYCLOAK_CLIENT_SECRET, KEYCLOAK_PASSWORD
Known package registryPassAll packages come from npm, PyPI, OCI, NuGet or MCPB
Namespace ownershipInfoName verified via GitHub account ChristophEnglisch
Registry text aimed at the AIPassDescription and settings contain no hidden characters or instructions to the AI
Install scriptsPasskeycloak-model-context-protocol@1.1.0 runs nothing at install
Code red flagsPassRead 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 AIPassNo 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.

Popularity19 / 40

46 GitHub stars, 1,160 downloads last week, 0 Hacker News posts (0 points). Best two of the three, each on a log scale.

Activity23 / 25

Last push 2026-10-26, last release 2026-10-26, 25 commits in 90 days.

Issue health8 / 15

0 closed of 3 issues, too few to judge. No data, so half marks.

Our checks20 / 20

0 warnings, each costing a fifth.

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 nameio.github.ChristophEnglisch/keycloak-model-context-protocol
PublisherGitHub account ChristophEnglisch
How the name is verifiedName verified via GitHub account ChristophEnglisch. The registry ties the name prefix to that account or domain; it does not check the code.
TypeLocal: runs on your machine from a package
Packagesnpm keycloak-model-context-protocol 1.1.0 (stdio)
Version1.1.0
Published
Last updated
Source repositoryhttps://github.com/ChristophEnglisch/keycloak-model-context-protocol
WebsiteNone linked
CategorySearch & web (assigned by keyword rule, not by hand)

Related servers in Search & web