Skip to main content
Glama

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
NameRequiredDescriptionDefault
configYes

Implementation Reference

  • 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]
  • 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, }
  • 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
  • FastMCP tool registration decorator that registers the update_sso_config function as an MCP tool.
    @mcp.tool()

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