get_settings
Retrieve ArgoCD server settings via api/v1/settings to access configurations for OIDC, Dex, UI customization, and plugins.
Instructions
Get returns Argo CD settings using api/v1/settings
This endpoint returns the ArgoCD server settings including
configuration related to OIDC, Dex, UI customization, and plugins.
Returns:
ArgoCD server settings
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- tools/settings.py:7-25 (handler)The main handler function for the 'get_settings' tool. It makes an API request to retrieve ArgoCD settings and returns the data or an error dictionary.async def get_settings() -> Dict[str, Any]: """ Get returns Argo CD settings using api/v1/settings This endpoint returns the ArgoCD server settings including configuration related to OIDC, Dex, UI customization, and plugins. Returns: ArgoCD server settings """ success, data = await make_api_request("settings") if success: # Return the full settings response return data else: # Return a properly structured error dictionary return {"error": data.get("error", "Failed to retrieve ArgoCD settings")}
- server.py:34-34 (registration)Registration of the 'get_settings' tool using the FastMCP decorator mcp.tool().mcp.tool()(settings.get_settings)