Skip to main content
Glama

get_accessible_realms

Retrieve the list of accessible realms in Keycloak for identity and access management configuration.

Instructions

Get accessible realms. Returns: List of accessible realms

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'get_accessible_realms' MCP tool. It is decorated with @mcp.tool() for registration and fetches accessible realms using the KeycloakClient's _make_request method.
    @mcp.tool() async def get_accessible_realms() -> List[Dict[str, Any]]: """ Get accessible realms. Returns: List of accessible realms """ return await client._make_request("GET", "/realms", skip_realm=True)

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