All-optical devices have become a research hotspot with the development of all-optical networks. [1,2] In recent years, a large number of all-optical devices based on 2D materials have been intensively investigated, [3][4][5][6][7][8][9] such as saturated absorbers (SAs), all-optical thresholders, optical Kerr switches, wavelength convertersand modulators. In 2015, an all-fiber all-optical modulator via the thermo-optic effect of graphene-deposited microfiber was demonstrated, [10] which set off a new wave of research in all-optical modulators based on the photothermal effect of 2D materials. After that, tungsten disulfide (WS 2 ), [11] black phosphorus, [12] MXene, [13,14] bismuthene, [15] and antimonene [16] have also been employed to devise all-optical modulators on platforms of Mach-Zehnder interferometer (MZI) and Michelson interferometer (MI). However, both MZI and MI structures are very sensitive to ambient temperature and stress perturbations, leading to poor environmental stability. [17,18] Additionally, the response time of the all-optical modulators based on the photothermal effect of 2D materials is several milliseconds, severely limiting their practical applications. Therefore, it is of great importance to improve the response speed and environmental stability of the all-fiber all-optical modulators.Theoretically and experimentally, decreasing the diameter of microfiber and choosing proper 2D materials with high thermal conductivity and high photothermal conversion efficiency can effectively improve the modulation rate by accelerating the heat generation and dissipation processes. In recent years, microfiber knot resonator (MKR), fabricated by knotting a microfiber into a ring, has attracted great attentions for its potential applications in filters, optical buffers, routers and logic gates. [1] The microfiber diameter of MKR is as small as a few micrometers and even sub-micrometers, [19,20] significantly thinner than those in MZI-and MI-based modulators, suggesting that MKR can be able to realize a faster response behavior. In addition, the small microfiber diameter guarantees sufficient interactions between the strong evanescent field of MKR and other materials, implying that MKR can be easily devised as various all-optical devices. [21] Moreover, it was reported that the ring diameter of MKR is only ≈0.3-1 mm, [20,[22][23][24][25] endowing MKR with many advantages such as compact size and good antiinterference. On the other hand, as a new promising 2D material, MXene is verified to possess high thermal conductivity [26] All-optical devices based on 2D materials have attracted great attention for desirable applications, such as communications and signal processing. However, the previously reported all-fiber all-optical devices utilizing the interferometer structures greatly limit their practical applications due to the poor anti-interference ability and slow modulation rate. In this work, an all-optical device has been demonstrated based on a microfiber knot resonator (MKR) deposited with Ti 2 CT x...