The increase in demand and popularity of smart textiles brings new and innovative ideas to develop a diverse range of textile-based devices for our daily life applications. Smart textile-based sensors (TEX sensors) become attractive due to the potential to replace current solid-state sensor devices with flexible and wearable devices. We have developed a smart textile sensor for humidity detection using a metal-organic framework (MOF) as an active thin-film layer. We show for the first time, the use of the Langmuir-Blodgett (LB) technique for the deposition of a MIL-96(Al) MOF thin film directly onto the fabrics containing interdigitated textile electrodes for the fabrication of a highly selective humidity sensor. The humidity sensors were made from two different types of textiles, namely, linen and cotton, with the linen based sensor giving the best response due to better coverage of MOF. The TEX sensor showed a reproducible response after multiple cycles of measurements. After three weeks of storage, the sensor showed a moderate decrease in response. Moreover, TEX sensors showed a high level of selectivity for the detection of water vapors in the presence of several volatile organic compounds (VOCs). Interestingly, the selectivity is superior to some of the previously reported MOF coated solid-state interdigitated electrode devices and textile sensors. The method herein described is generic and can be extended to other textiles and coating materials for the detection of toxic gases and vapors.