Palpation is a simple but effective method to differentiate tumors from healthy tissues. Development of miniaturized tactile sensors embedded on endoscopic or robotic devices are the key toward precise palpation diagnosis and the subsequent timely treatment. This paper reports on the fabrication and characterization of a novel tactile sensor with mechanical flexibility and optical transparency that can be easily mounted on soft surgical endoscopes and robotics. Utilizing the pneumatic sensing mechanism, the sensor offers a high sensitivity of 1.25 mbar and negligible hysteresis, enabling the detection of phantom tissues with different stiffnesses ranging from 0 to 2.5 MPa. Our configuration combining pneumatic sensing and hydraulic actuating also eliminates electrical wiring from the functional elements located at the robot end-effector, thereby enhancing the system safety. The optical transparency path in the sensors together with its mechanical sensing capability open interesting possibility in early detection of solid tumor as well as in the development of all in-one soft surgical robots that can perform visual/mechanical feedback and optical therapy.