Those metabolic reactions involved in the synthesis of thyrotropin-releasing hormone (TRH). TRH is a tripeptidal hormone produced in the hypothalamus that stimulates the release of thyroid-stimulating hormone and prolactin from the anterior pituitary.