A metasurface is a two-dimensional structure with a subwavelength thickness that can be used to control electromagnetic waves. The integration of optical fibers and metasurfaces has received much attention in recent years. This integrated device has high flexibility and versatility. We propose an optical device based on fiber-integrated metasurfaces in the mid-infrared, which uses a hollow core anti-resonant fiber (HC-ARF) to confine light transmission in an air core. The integrated bilayer metasurfaces at the fiber end face can achieve transmissive modulation of the optical field emitted from the HC-ARF, and the Fano resonance excited by the metasurface can also be used to achieve refractive index (RI) sensing with high sensitivity and high figure of merit (FOM) in the mid-infrared band. In addition, we introduce a polydimethylsiloxane (PDMS) layer between the two metasurfaces; thus, we can achieve tunable function through temperature. This provides an integrated fiber multifunctional optical device in the mid-infrared band, which is expected to play an important role in the fields of high-power mid-infrared lasers, mid-infrared laser biomedicine, and gas trace detection.