NEW YORK (AP) — It's the last day for trades to be done for major league players to be eligible for the postseason. The playoff-contending New York Yankees have acquired former NL MVP Andrew McCutchen from the San Francisco Giants for two prospects. McCutchen is hitting .255 with 15 home runs, 55 RBIs and 13 stolen bases in his first season with the Giants.

WASHINGTON (AP) — The Los Angeles Dodgers have bolstered their bullpen, acquiring right-hander Ryan Madson from the Washington Nationals for a minor league pitcher. The playoff-contending Dodgers have Kenley Jansen as their closer, but he's been shaky since coming off the disabled list. Madson was 5-5 with five saves and a 4.08 ERA in 69 games for Washington. The 38-year-old recently came off the disabled list after being sidelined by nerve irritation.

OAKLAND, Calif. (AP) — The Oakland Athletics have acquired right-handed reliever Cory Gearrin from the Texas Rangers for minor league right-handers Abdiel Mendoza and Teodoro Ortega. Gearrin has combined to go 2-1 with a 3.51 ERA and one save in 56 relief appearances this season with Texas and San Francisco. He began the season with the Giants and was traded to the Rangers in July.

PHOENIX (AP) — A person with knowledge of the situation says Phoenix and Houston are close to finalizing a trade that would send forward Ryan Anderson to the Suns and point guard Brandon Knight to the Rockets. Phoenix also would send former first-round pick forward Marquese Chriss to Houston and the Suns would get guard De'Anthony Melton from the Rockets.

MEMPHIS, Tenn. (AP) — The Memphis Grizzlies have waived center Dakari Johnson after acquiring him from Orlando last month. The 7-foot Johnson started six of 31 games as a rookie last season with Oklahoma City. The Thunder drafted him 48th overall in the 2015 draft out of Kentucky, and the 22-year-old played three seasons in the G League for Oklahoma City. The Grizzlies acquired Johnson from Orlando in a trade July 23.