mirror of
https://github.com/SigNoz/signoz.git
synced 2026-04-25 05:10:27 +01:00
* feat(global): add mcp_url to global config Adds an optional mcp_url field to the global config so the frontend can gate the MCP settings page on its presence. When unset the API returns "mcp_url": null (pointer + nullable:"true"); when set it emits the parsed URL as a string. * feat(global): surface mcp_url in frontend types Adds mcp_url to the manual GlobalConfigData type and refreshes the generated OpenAPI client so consumers can read the new field. * docs(global): use <unset> placeholder for mcp_url example Matches the style of external_url and ingestion_url above it. * style(global): separate mcp_url prep from return in GetConfig Adds a blank line between the nullable-conversion block and the return statement so the two logical phases read as distinct blocks. * feat(global): mark endpoint fields as required in the API schema The backend always emits external_url, ingestion_url and mcp_url on GET /api/v1/global/config (mcp_url as literal null when unset), so the JSON keys are always present. Add required:"true" to all three and regenerate the OpenAPI + frontend client so consumers get non-optional types. * revert(global): drop mcp_url from legacy GlobalConfigData type The legacy hand-written type for the non-Orval getGlobalConfig client should be left alone; consumers that need mcp_url go through the generated Orval client.