Using Monte Carlo simulation, the dynamic magnetic properties and magnetocaloric effect of a mixed-spin (3/2, 2) single-walled nanotube encapsulated with X36 was studied, where X denotes the magnetic atom. The effects of intrinsic parameters on dynamic order parameters, magnetic susceptibility, internal energy, and specific heat were considered. The phase diagrams were obtained. The results indicate that the critical temperature can be increased by decreasing the absolute values of the anisotropies (Da, Db), increasing the exchange couplings (|Jab|, Jbb), and decreasing the amplitude h0 and the period τ of the external magnetic field. And under the influence of these parameters, the magnetocaloric effect is generated.