A medical device and procedure is provided for rapidly forming an anastomosisbetween two viscera, while minimizing the potential of breaching the mural boundary.The medical device (30) generally includes a first magnet assembly (32) and asecond magnet assembly (34). Each of the magnet assemblies includes a magneticcore (36,38) defining an axial opening (44,46) and at least one includes a transversepassageway (48,50). The axial openings are sized to correspond with the sizeof the desired anastomosis. The transverse passageway is size to permit passageof a wire guide therethrough for placement of the first and second magnet assemblies.The medical device approximates the tissues of the two viscera, such that endoscopicexcision and affixation of the tissues may be performed to create the anastomosis.