The recent investigations ensure that, the effect of an endoscope on the peristaltic flow is very important for medical diagnosis and it has many clinical applications such as gastric juice motion in the small intestine when an endoscope is inserted through it. In the current article, the influence of magnetohydrodynamic (MHD) on the peristaltic propulsion of non-Newtonian fluid (considered as couple stress fluid) in a tube consisting of endoscope has been considered. The couple stress fluid occupies the space between two co-axial inclined tubes. The inner tube is uniformly circular and rigid while the outer tube considered as sinusoidal wave. The fluid motion is discussed in a wave frame which is moving with the constant velocity. The governing equations of two-dimensional flow have been abridged under the lubrication approach. Analytical solutions have been obtained for the velocity and pressure gradient with the help of modified Bessel functions. Numerical integration is used to evaluate the pressure difference and friction forces. The effect of emerging flow parameters on the velocity, frictional forces, pressure difference, pressure gradient and trapping phenomenon have been discussed. It is noted that, the magnetic force resists the flow and pumping rate in the peristaltic flow enhances from the horizontal to vertical tube. The present study has a wide range of applications in bio-medical engineering like the transport phenomenon in peristaltic micro pumps.