I have tried these steps to rectify the situation.
Reinstall Hass.Agent Reinstall Hass.Agent and Hass.Agent notifier in HACS Reinstall Hass.Agent and MQTT plugin in Home Assistant Plugins Added notify to conifiguration.yaml
Sending a notification through the developer tools > services tab fails to show a notification. Testing the notification through the local hass agent shows a popup, so its not a notification issue on the PC's end and has to be somewhere in between. Both Local and MQTT api's are enabled.
Solution
that should be the fix then, homeassistant 2024.5 broke the connection so you need to update, we will hopefully have a HACS entry soon, maybe not until the end of this year though