This paper describes the methods and results for the localization by triangulation of cosmic gamma-ray bursts (GRBs) independently observed by two space experiments: the Mercury Gamma-ray and Neutron Spectrometer (MGNS) and the High Energy Neutron Detector (HEND). MGNS is onboard the MPO/BepiColombo mission and on a stage of cruise to Mercury whereas HEND is onboard Mars Odyssey mission and in orbit around Mars. An analysis is performed of the accuracy of localization of the GRBs jointly observed by the two instruments at interplanetary distances by comparing their light curves. Notable achievements and scientific opportunities are described also in light of the recent inclusion of MGNS within the program of interplanetary network for gamma-ray burst localization (IPN). • A localization procedure by triangulation of cosmic gamma-ray bursts (GRBs) independently observed by two space experiments MGNS and HEND procedure was created. • Describes the methods and results for the localization procedure. • An analysis is performed of the accuracy of localization of the GRBs. A comparison was performed with the localization done by other experiments. • The first results of the MGNS experiment as part of program of interplanetary network (IPN) are described.