Skip to main content
Glama

get_realm_events_config

Retrieve events configuration for a Keycloak realm to monitor authentication and authorization activities.

Instructions

Get realm events configuration. Args: realm: Target realm (uses default if not specified) Returns: Events configuration object

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
realmNo

Implementation Reference

  • The core handler function for the 'get_realm_events_config' MCP tool. Decorated with @mcp.tool() for automatic registration. Retrieves the events configuration by making a GET request to the Keycloak API endpoint '/events/config' using the KeycloakClient instance.
    @mcp.tool() async def get_realm_events_config(realm: Optional[str] = None) -> Dict[str, Any]: """ Get realm events configuration. Args: realm: Target realm (uses default if not specified) Returns: Events configuration object """ return await client._make_request("GET", "/events/config", realm=realm)

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