Keycloak Model Context Protocol
by github.com/ChristophEnglisch · v1.1.0 · updated Oct 26, 2026
Manage Keycloak users, groups, roles and realms through the Keycloak Admin REST API.
Run it locally
Install the package and point your AI client at it.
npm
npx -y [email protected]Environment variables
KEYCLOAK_URLrequiredBase URL of the Keycloak server, e.g. https://keycloak.example.com
KEYCLOAK_AUTH_REALMRealm used to obtain the admin token
KEYCLOAK_CLIENT_IDClient ID used for login (default admin-cli for the password grant, required for client_credentials)
KEYCLOAK_CLIENT_SECRETsecretClient secret for the client_credentials grant (recommended: a dedicated service account)
KEYCLOAK_USERNAMEUsername for the password grant (alternative to client credentials)
KEYCLOAK_PASSWORDsecretPassword for the password grant
KEYCLOAK_GRANT_TYPEGrant type; auto-detected if unset (client_credentials when a secret is set, else password)
KEYCLOAK_MCP_READ_ONLYIf true, only read-only tools are registered
KEYCLOAK_MCP_REALMSComma-separated allowlist of target realms; empty means all realms
KEYCLOAK_MCP_ALLOW_MASTER_WRITEIf true, write tools may modify the master realm
KEYCLOAK_MCP_TOOLSETSComma-separated enabled toolsets (core, groups, roles, clients, sessions, events, security) or all
KEYCLOAK_MCP_REQUIRE_CONFIRMATIONIf true, destructive tools require confirm=true
KEYCLOAK_MCP_TIMEOUT_MSHTTP timeout for Keycloak requests in milliseconds
KEYCLOAK_MCP_LOG_LEVELLog level written to stderr
More MCP servers
Riv Mcp
github.com/Christopher-AS
Riv MCP: spend authorization and governed trading (place_order, positions, market data, policies).
github-twin
github.com/ChristopherDavenport
Personal RAG over your GitHub history (commits, code, reviews), served to Claude Code over MCP.
Unblink
github.com/ChristopherDavenport
Pure-Go browser for AI: fetch pages, render JS without Chromium, return clean Markdown over MCP.
Xiangguangyu Mcp Skills
github.com/Chromatic0618
252 AI Skills: MBTI, fact-check, deep analysis. Alipay pay-per-use. Free 10 calls/day.
Chrome DevTools MCP
github.com/ChromeDevTools
MCP server for Chrome DevTools
Kiwoom Securities MCP Server
github.com/ChunSam
Read-only MCP server for the Kiwoom Securities REST API: market data, account inquiry, ISA tax tool