update_sso_config
Configure Single Sign-On (SSO) settings for the Coroot instance using specified configuration inputs, enabling streamlined authentication management within the observability platform.
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/server.py:1819-1828 (handler)MCP tool handler function decorated with @mcp.tool(). This is the entry point for the 'update_sso_config' tool, which delegates to the implementation function.@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:1807-1817 (handler)Internal implementation of the update_sso_config tool that calls the CorootClient method and formats the response with success/error handling.@handle_errors 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, }
- src/mcp_coroot/client.py:1448-1459 (helper)CorootClient method that performs the actual HTTP POST request to /api/sso to update the SSO configuration on the Coroot server.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-1819 (registration)FastMCP tool registration decorator that registers the update_sso_config function as an MCP tool.@mcp.tool()