Mqtt service for Linux server control

Anybody knows if there is something like an MQTT client for Linux which allows me to send command Auto a Linux server from home-assistant and also get some info back from it? Basically it should allow to shutdown/reboot the server, maybe execute some scripts etc.

mosquitto_pub, which comes with the mosquitto-clientapt package.

I’m not sure what the rest of your post is about.

Well as I wrote: I want a service that can for example reboot or shutdown the computer. If it would basic info it would be great as well. Processor usage etc…

Did you find out a way to do that ?