This server only runs locally, from a package. Install it with the instructions on this page to try it.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add gocloak-mcp \ -e KEYCLOAK_URL=YOUR_KEYCLOAK_URL \ -e KEYCLOAK_REALM=YOUR_KEYCLOAK_REALM \ -e KEYCLOAK_CLIENT_ID=YOUR_KEYCLOAK_CLIENT_ID \ -e KEYCLOAK_CLIENT_SECRET=YOUR_KEYCLOAK_CLIENT_SECRET \ -- docker run -i --rm ghcr.io/nerzal/gocloak-mcp:0.2.0
Environment
KEYCLOAK_URL (required): HTTPS Keycloak base URL (loopback HTTP allowed for local development)KEYCLOAK_REALM (required): Default target realm and token-issuing realmKEYCLOAK_CLIENT_ID (required): Confidential service-account client IDKEYCLOAK_CLIENT_SECRET (required): Service-account client secretKEYCLOAK_ALLOWED_REALMS (optional, not in the config above): Optional comma-separated allowlist of queryable realmsWe don't run packages, so we can't list this server's tools.