Skip to main content
Glama

get_sso_config

Retrieve Single Sign-On configuration and available roles for the Coroot observability platform to enable secure authentication setup.

Instructions

Get SSO configuration.

Retrieves Single Sign-On (SSO) configuration and available roles.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Core implementation of the get_sso_config tool logic: retrieves the CorootClient instance and calls its get_sso_config method to fetch the SSO configuration from the API.
    async def get_sso_config_impl() -> dict[str, Any]: """Get SSO configuration.""" client = get_client() config = await client.get_sso_config() return { "success": True, "config": config, }
  • Registration of the 'get_sso_config' MCP tool using the @mcp.tool() decorator. This function serves as the entry point for the tool and delegates to the implementation.
    @mcp.tool() async def get_sso_config() -> dict[str, Any]: """Get SSO configuration. Retrieves Single Sign-On (SSO) configuration and available roles. """ return await get_sso_config_impl() # type: ignore[no-any-return]
  • CorootClient helper method that executes the HTTP GET request to the Coroot API endpoint /api/sso to retrieve the SSO configuration data.
    async def get_sso_config(self) -> dict[str, Any]: """Get SSO configuration. Returns: SSO configuration and available roles. """ response = await self._request("GET", "/api/sso") data: dict[str, Any] = response.json() return data

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/jamesbrink/mcp-coroot'

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