TsgcWSAPIServer_MCP › Methods › SendNotificationResourcesListChanged
Broadcasts notifications/resources/list_changed so clients refresh their resource catalogue.
procedure SendNotificationResourcesListChanged;
Pushes notifications/resources/list_changed to every connected streaming session so clients re-issue resources/list and pick up resources that have been added, removed or re-described. Call it after mutating the Resources or ResourceTemplates catalogues. The notification is only emitted when TransportOptions.HttpStreamable.Enabled is True. For per-URI content changes use SendNotificationResourcesUpdated instead.
MCPServer.Resources.AddResource('metrics://deployments', 'DeploymentMetrics', 'Deployment metrics feed', 'Exposes failure counters', 'application/json');
MCPServer.SendNotificationResourcesListChanged;