Skip to main content
Glama

get_sso_config

Retrieve Single Sign-On (SSO) configuration and available roles to enable secure access management within the Coroot observability platform.

Instructions

Get SSO configuration.

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP tool handler for 'get_sso_config'. This is the main entrypoint decorated with @mcp.tool() that executes the tool logic by calling the impl helper.
    @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]
  • Registration of the 'get_sso_config' tool using FastMCP's @mcp.tool() decorator.
    @mcp.tool()
  • Helper implementation that wraps the client call and adds error handling and success formatting.
    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, }
  • Core implementation in CorootClient that makes the HTTP GET request to /api/sso and returns the JSON response.
    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