keycloak-model-context-protocol
Manage Keycloak users, groups, roles and realms through the Keycloak Admin REST API.
claude mcp add keycloak-model-context-protocol -- npx -y keycloak-model-context-protocolHow to start
- Run the command in your terminal, in the project where you want it.
- Set KEYCLOAK_URL with
--envor in your shell. - Check it: run
/mcpin Claude Code and look for it in the list.
What it needs
KEYCLOAK_URLRequired. Base URL of the Keycloak server, e.g. https://keycloak.example.comKEYCLOAK_AUTH_REALMOptional. Realm used to obtain the admin tokenKEYCLOAK_CLIENT_IDOptional. Client ID used for login (default admin-cli for the password grant, required for client_credentials)KEYCLOAK_CLIENT_SECRETOptional. Secret: keep it out of your repo. Client secret for the client_credentials grant (recommended: a dedicated service account)KEYCLOAK_USERNAMEOptional. Username for the password grant (alternative to client credentials)KEYCLOAK_PASSWORDOptional. Secret: keep it out of your repo. Password for the password grantKEYCLOAK_GRANT_TYPEOptional. Grant type; auto-detected if unset (client_credentials when a secret is set, else password)KEYCLOAK_MCP_READ_ONLYOptional. If true, only read-only tools are registeredKEYCLOAK_MCP_REALMSOptional. Comma-separated allowlist of target realms; empty means all realmsKEYCLOAK_MCP_ALLOW_MASTER_WRITEOptional. If true, write tools may modify the master realmKEYCLOAK_MCP_TOOLSETSOptional. Comma-separated enabled toolsets (core, groups, roles, clients, sessions, events, security) or allKEYCLOAK_MCP_REQUIRE_CONFIRMATIONOptional. If true, destructive tools require confirm=trueKEYCLOAK_MCP_TIMEOUT_MSOptional. HTTP timeout for Keycloak requests in millisecondsKEYCLOAK_MCP_LOG_LEVELOptional. Log level written to stderr
Environment variables as listed in the server's MCP Registry entry.
More in Local MCP servers
See all →Scrapling MCP Server
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Chrome DevTools MCP
MCP server for Chrome DevTools
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Next AI Draw.io
draw.io diagrams your AI agent draws on a live browser canvas that you can also edit by hand
Figma-Context-MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
Windows-MCP
An MCP Server for computer-use in Windows OS