Skip to main content
Glama

get_realm_info

Retrieve realm configuration details from Keycloak identity management to understand current settings and permissions.

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 main handler function for the 'get_realm_info' tool. It uses the KeycloakClient to make a GET request to the realm endpoint and returns the realm information.
    @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