A magnet delivery system for forming an anastomosis that comprises a wire guide; a catheter having a delivery portion for advancement into a jejunal space, the delivery portion having a lumen extending at least partially therethrough, a first port and a second port through which the wire guide is disposed; a magnet comprising a lumen therethrough wherein the magnet is removably secured to the delivery portion of the catheter between the first and second ports by disposing the wire guide through the lumen of the magnet, the first port, and the second port.