An electromechanical driver for use in gastrointestinal tract surgery, including a flexible sheath and a handle, is provided. Also dislosed are a series of surgical attachments which may be utilized in conjunction with the electromechanical driver. The handle of the driver includes at least one motor which is selectively engageable by the actuation of a trigger. The motor is coupled to a flexible drive shaft which extends through the flexible sheath. At a distal end of the flexible sheath, and correspondingly at the end of the drive shaft, the various surgical attachments may be coupled. The turning of the drive shaft provides the necessary power to actuate the surgical instrument.