52
/ 100
10 days ago
glama

keycloak-mcp-server

Enables administration of Keycloak identity and access management through MCP, allowing management of realms, clients, users, roles, groups, identity providers, and sessions from any MCP client.

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
🚨
Known vulnerabilities in dependencies: 1 critical, 3 high
Affects packages this MCP installs at runtime. Upgrade or remove the affected dependency.
🔐
You'll be asked for 1 credential: KEYCLOAK_MCP_BEARER_TOKEN
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// known CVEs in dependencies1 critical3 high1 low

Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.

criticalvitest@2.1.9GHSA-5xrq-8626-4rwp

When Vitest UI server is listening, arbitrary file can be read and executed

high@modelcontextprotocol/sdk@1.12.0GHSA-345p-7cg4-v4c7

@modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse

high@modelcontextprotocol/sdk@1.12.0GHSA-8r9q-7v3j-jr4g

Anthropic's MCP TypeScript SDK has a ReDoS vulnerability

high@modelcontextprotocol/sdk@1.12.0GHSA-w48q-cv73-mx4w

Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default

low@keycloak/keycloak-admin-client@26.0.0GHSA-r8jr-wg88-fq5c

Keycloak vulnerable to authorization bypass via the Admin API

Depend on this server? Get alerted when its CVEs change.Watch this server free →
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
🔐 secretKEYCLOAK_MCP_BEARER_TOKENStatic mode. A shared secret compared in constant time — simple single-caller setups
configKEYCLOAK_MCP_HTTP_HOST
configKEYCLOAK_MCP_HTTP_PORTIf set, serve remote Streamable HTTP at :PORT/mcp instead of stdio
configKEYCLOAK_MCP_OIDC_AUDIENCEOptional expected aud
configKEYCLOAK_MCP_OIDC_ISSUER
configKEYCLOAK_MCP_OIDC_JWKS_URIOptional JWKS override (defaults to <issuer>/protocol/openid-connect/certs)
configKEYCLOAK_MCP_PUBLIC_URLThe externally-visible base URL (used in the metadata document)
configKEYCLOAK_MCP_REQUIRED_ROLEOptional realm role the caller must hold (realm_access.roles)
configKEYCLOAK_MCP_SUBSCRIBE_POLL_MS
configKEYCLOAK_MCP_TOOL_GROUPS
configKEYCLOAK_REALMmaster Auth realm (master can administer all realms)
configKEYCLOAK_URLenv =http://localhost:8081 \
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 8 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/hakkisagdic-keycloak-mcp-server-7sx2fu)](https://m8ven.ai/mcp/hakkisagdic-keycloak-mcp-server-7sx2fu)
commit: ac8f66160ae1ffcd8a6c3a7e22685816d4f9d36a
code hash: cd9ac0bb022475b19c810839cb97566f1ecb8a6ff6a33a0d0343f6b6d71cb411
verified: 7/21/2026, 9:14:52 AM
view raw JSON →