A partially-implantable pneumostoma management device maintains the patency of a pneumostoma while controlling the flow of material through the pneumostoma. A tube of the pneumostoma management device is placed through the chest wall into the lung. The tube comprises a plurality of holes in the distal end to allow the entry of gases and non-gaseous discharge from the lung. A contact surface prevents over-insertion of the tube while releasably securing the device to the chest of the patient. The contact surface has features to reduce irritation of the skin of the chest. The pneumostoma management device may provide a pharmaceutically active substance selected to maintain the patency of the pneumostoma.