Matthew 2 gives no number, names, or royal titles for the Magi. They came from the east to Jerusalem asking where the newly born king of the Jews could be found.
Herod the Great was troubled and consulted the chief priests and scribes, who cited
Micah's prophecy pointing to Bethlehem. Herod secretly questioned the Magi and sent them to locate the child. Guided onward by the star, they entered the house, saw Jesus with Mary, bowed in worship or homage, and presented costly gifts. Warned by God in a dream not to return to Herod, they departed by another route. Later traditions supplying three names and identifying the visitors as kings go beyond Matthew's account.