We present a Monte Carlo static light migration model (Endo-MCML) to simulate endoscopic optical spectroscopy for tubular organs such as esophagus and colon. The model employs multi-layered hollow cylinder which emitting and receiving light both from the inner boundary to meet the conditions of endoscopy. Inhomogeneous sphere can be added in tissue layers to model cancer or other abnormal changes. The 3D light distribution and exit angle would be recorded as results. The accuracy of the model has been verified by Multi-layered Monte Carlo(MCML) method and NIRFAST. This model can be used for the forward modeling of light transport during endoscopically diffuse optical spectroscopy, light scattering spectroscopy, reflectance spectroscopy and other static optical detection or imaging technologies.