health_check
Verify Keycloak Admin API connectivity and authentication status at session start or after a timeout. Returns health status, server version, and auth state to confirm the MCP is operational.
Instructions
Report server version and KeyCloak backend connectivity / authentication.
Call this at session start (or after a tool-call timeout) to confirm the MCP is up, see which version is running, and verify the KeyCloak Admin API is reachable and the service account can authenticate. Lightweight: it acquires an admin access token via the Client Credentials Grant (reusing the cached client) and does NOT enumerate users, events, or sessions.
Always returns the same keys: status (healthy / degraded / error),
service, version, keycloak_url (configured base URL, empty if
unset), realm (configured realm), keycloak_version (None — not exposed
by a cheap call), and auth (ok / error / missing-env). On a degraded or
error result, detail carries the reason.
This description is the only place those value sets are written down. The READMEs used to repeat them, which is three copies to keep in step and two that an LLM never reads — it is handed this text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||