A family of Microsoft word processing software products for creating web, email, and print documents.
Since the same add-ins work in Word online, your account and the add-ins themselves are fine. The problem is in the Word app on your Mac, and the ribbon blinking and then disappearing usually means an add-in loads and then fails, so Word hides its tab. I would work through it in this order.
First, update Word. Open Word, go to Help, Check for Updates, and install any update. A recent update often breaks add-in ribbons, and a newer one fixes it. Quit Word completely after the update, then open it again.
Next, test the add-ins one at a time. Go to Insert, My Add-ins, remove both Mendeley and Claude, quit Word, and open it again. Then add only Mendeley back and check whether its ribbon stays visible. If it does, add Claude back. If the ribbon disappears again after adding Claude, the two add-ins are conflicting, and I would keep only the one you need and reinstall the other from the Office Store.
If the ribbon is still missing, reset the ribbon. Go to Word, Preferences, Ribbon and Toolbar, and choose Reset. Then quit Word and open it again.
If that does not help, reset the Word settings file. Quit Word, open Finder, choose Go, Go to Folder, and paste this path:
~/Library/Preferences/com.microsoft.Word.plist
Move that file to the Trash, then open Word again. Word creates a fresh settings file, and your documents are not touched. You will need to set a few Word preferences again.
If the ribbon is still gone after all of that, uninstall Word and reinstall it from your Microsoft 365 account. That replaces any damaged app files that a settings reset cannot fix.