update_sso_config
Configure Single Sign-On settings for Coroot observability platform to manage authentication and access control.
Instructions
Update SSO configuration.
Configures Single Sign-On settings for the Coroot instance.
Args: config: SSO configuration settings
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes |
Implementation Reference
- src/mcp_coroot/client.py:1448-1459 (handler)Core handler function in CorootClient that performs the HTTP POST request to /api/sso endpoint with the provided config to update SSO settings.async def update_sso_config(self, config: dict[str, Any]) -> dict[str, Any]: """Update SSO configuration. Args: config: SSO configuration settings. Returns: Updated SSO configuration. """ response = await self._request("POST", "/api/sso", json=config) data: dict[str, Any] = response.json() return data
- src/mcp_coroot/server.py:1819-1828 (registration)FastMCP tool registration decorator @mcp.tool() that exposes the update_sso_config tool, defining its input schema via type hints and docstring.@mcp.tool() async def update_sso_config(config: dict[str, Any]) -> dict[str, Any]: """Update SSO configuration. Configures Single Sign-On settings for the Coroot instance. Args: config: SSO configuration settings """ return await update_sso_config_impl(config) # type: ignore[no-any-return]
- src/mcp_coroot/server.py:1808-1816 (helper)Helper implementation wrapper that invokes the client handler, handles errors via decorator, and formats the standardized MCP response.async def update_sso_config_impl(config: dict[str, Any]) -> dict[str, Any]: """Update SSO configuration.""" client = get_client() result = await client.update_sso_config(config) return { "success": True, "message": "SSO configuration updated successfully", "config": result, }