MQTT Micropython Relay
The MicroPython image in /bin can be flashed on NodeMCU boards. It already includes the MQTT library needed (no warranty). You can build your own, just follow the instructions on MicroPython's site.
See this blog post for details: https://blog.flo.cx/s/bq
The MicroPython binary is licensed according to the respective license.