MLS had won both prior All-Star meetings with Mexican league rivals, playing to a 1-1 draw and winning 3-2 on penalty kicks in 2021 and taking a 2-1 triumph in 2022.
Cucho Hernandez, a Colombian winger for the Columbus Crew, equalized for MLS in the 17th minute.
Idrissi answered for Liga MX in the 41st minute to give his squad a 2-1 lead at half-time.
Reserve Brunetta, a striker for Tigres UANL, boosted Liga MX’s lead in the 68th minute and Meza, a winger for Monterrey who also came off the bench to start the second half, added another goal in the 69th for the final margin.
Inter Miami’s Lionel Messi did not play for MLS due to a right ankle injury suffered in Argentina’s victory over Colombia in the Copa America final.
Messi, who also missed two MLS games last week, is uncertain for Miami’s home game Saturday against Puebla as Inter begins defending the Leagues Cup, a second-year tournament involving MLS and Liga MX clubs that begins on Friday.