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
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/mcp_coroot/server.py:1798-1804 (handler)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]
- src/mcp_coroot/server.py:1798-1798 (registration)Registration of the 'get_sso_config' tool using FastMCP's @mcp.tool() decorator.@mcp.tool()
- src/mcp_coroot/server.py:1788-1796 (helper)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, }
- src/mcp_coroot/client.py:1438-1446 (helper)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