An instrument for performing thorascopic repair of heart valves includes a shaft for extending through the chest cavity and into a heart chamber providing access to a valve needing repair. A movable tip on the shaft is operable to capture a valve leaflet and a needle is operable to penetrate a captured valve leaflet and draw the suture through the leaflet. The suture is thus fastened to the valve leaflet and the instrument is withdrawn from the heart chamber transporting the suture outside the heart chamber. The suture is anchored to the heart wall with proper tension as determined by observing valve operation with an ultrasonic imaging system.