Mqtt Parser C, Both are command-line programs that you can use to publish messages and monitor published messages.