The New York Yankees have acquired veteran outfielder Andrew McCutchen in a trade with the San Francisco Giants, the team announced Friday.

The Yankees sent infielder Abiatal Avelino and right-hander Juan De Paula to San Francisco for McCutchen and cash considerations.

McCutchen, a 31-year-old former National League MVP and long the face of the Pittsburgh Pirates' franchise, is batting .255 with 15 homers, 55 RBIs and 13 stolen bases in 130 games this season. He was traded to San Francisco for right-hander Kyle Crick, minor league outfielder Bryan Reynolds and cash during the offseason.

The move will help the Yankees boost their outfield production a bit while they wait for slugger Aaron Judge to make his return from a right wrist injury. It also will give the team an additional player to help spell Giancarlo Stanton, who has played in 83 straight games, and allow more flexibility for manager Aaron Boone to use the DH slot as a way to give Stanton more opportunities to rest his legs.

McCutcheon will likely make his debut for the Yankees on Saturday, Boone said.

Thank you ⁦@SFGiants⁩ for the love and support you gave not only to me, but my family as well. To see this everyday I came to the stadium was surreal and it gave me chills every time! Also, I can't say thank you enough to the fans! You guys are/were amazing! Much love... pic.twitter.com/DijECfsQzt — andrew mccutchen (@TheCUTCH22) August 31, 2018

Now, I'm ready to throw the pinstripes on and get to work. @Yankees let's go! — andrew mccutchen (@TheCUTCH22) August 31, 2018

Just gonna take me a sec to get used to my freshly shaved face😂. Other than that...let's go! — andrew mccutchen (@TheCUTCH22) August 31, 2018

Boone said hours before the trade that he had been hoping to soon get Stanton more rest after the power hitter had dealt with hamstring tightness in recent weeks.

"There is a day off in his future," Boone said. "With us being as beat up as we are, it's a little tough to get your horses days right now. We've certainly leaned on him heavily. It's something that we constantly just try to do what's best for the club and the individual."

McCutchen had played in at least 153 games in each of the previous three seasons for the Pirates, batting .279 with 28 home runs and 88 RBIs in 156 games in 2017. But he has not been an All-Star since 2015, when he was selected for the fifth straight season.

He is in the final season of a six-year, $51.5 million contract he signed in March 2012, a deal that turned into a bargain as he became a star and powered Pittsburgh's turnaround. There's $2.4 million remaining on his deal for this season, and the Giants are paying $1.2 million of that, according to ESPN's Buster Olney.

Avelino, 23, was hitting a combined .287 with 15 homers, 66 RBIs and 25 steals at Triple-A Scranton Wilkes/Barre and Double-A Trenton. De Paula, 20, was at Class A Staten Island this seaso, going 2-2 with a 1.71 ERA in 10 appearances (nine starts).

ESPN's Coley Harvey contributed to this report.