Skip to main content
Glama

get_realm_info

Retrieve detailed configuration data for a specified or default realm in Keycloak, enabling identity and access management analysis.

Instructions

Get information about the current realm. Args: realm: Target realm (uses default if not specified) Returns: Realm configuration object

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
realmNo

Implementation Reference

  • The handler function implementing the 'get_realm_info' MCP tool. It is decorated with @mcp.tool() which registers it. Fetches realm information via KeycloakClient._make_request.
    @mcp.tool() async def get_realm_info(realm: Optional[str] = None) -> Dict[str, Any]: """ Get information about the current realm. Args: realm: Target realm (uses default if not specified) Returns: Realm configuration object """ response = await client._make_request("GET", "", params=None, realm=realm) return response

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/idoyudha/mcp-keycloak'

If you have feedback or need assistance with the MCP directory API, please join our Discord server