Jonathan Lucroy got a deal he liked, Carlos Beltran joined him in Texas, and Jay Bruce and Rich Hill also moved Monday during an 18-swap frenzy at the trade deadline.

The Boston Red Sox made one minor move, sending minor league reliever Pat Light to the Minnesota Twins for veteran reliever Fernando Abad.

Matt Moore, Francisco Liriano and Joe Smith also found new homes, as playoff contenders stocked up for the stretch.

“That’s what we play for. Those are the moments we want to be in,” Moore said after NL West-leading San Francisco got the left-hander from last-place Tampa Bay. “For someone to reach out and come get me, it’s a really good feeling.”

Teams had until 4 p.m. to make trades without waivers. Now, no player can be dealt unless he goes unclaimed by everyone else.

The AL West-leading Rangers made two major moves.

After Lucroy used his limited no-trade clause to block a deal to Cleveland, he was sent to Texas.

“Now, moving on to the @Rangers let’s take this bad boy to the ‘ship! Really excited and can’t wait to get after it!” he posted on Twitter.

Lucroy, 30, is batting .299 with 13 homers and 50 RBI this season.

Texas also got Beltran, a proven postseason star, from the New York Yankees for right-hander Dillon Tate, the fourth overall pick in the 2015 amateur draft, and two other pitching prospects.

“I think as a player, you know that this moment could happen. But when it happens, it hits you,” Beltran said.

Twice before, Beltran was traded in midseason to a team with playoff hopes. Like the Rangers, Beltran has been to the World Series but never won it.

The Yankees kept reworking their roster, trying to turn the best parts of a .500 team into a bright future. They traded relief aces Aroldis Chapman and Andrew Miller leading up to the deadline.

“We’re kind of in unfamiliar territory with the Yankees,” first baseman Mark Teixeira said. “That’s life. I mean, we’ve had a nice run the last eight years.”

As always, relievers were in demand.

The Giants aimed to bolster a shaky bullpen by getting Will Smith from Milwaukee and the NL Central-leading Cubs obtained sidearming right-hander Joe Smith from the Angels.

The Cubs previously got left-handers Chapman and Mike Montgomery for their bullpen.

“That was an area we thought we could make changes,” General Manager Jed Hoyer said.

The banged-up Mets acquired Bruce, the All-Star outfielder who leads the NL with 80 RBI, from Cincinnati for infielder Dilson Herrera and minor league left-hander Max Wotell.

The Mets also got pitcher Jon Niese, who spent his first eight years in New York, from Pittsburgh for reliever Antonio Bastardo.

The contending Los Angeles Dodgers fortified their rotation by getting Rich Hill and outfielder Josh Reddick from Oakland for three pitching prospects.

Dodgers ace Clayton Kershaw is on the disabled list with back trouble, and they don’t know when he’ll be back. Hill, 36, is 9-3 with a 2.25 ERA in 14 starts and on the DL because of a blister on the middle finger of his throwing hand that hasn’t healed.

Toronto was busy, making three deals. A day after falling out of the AL East lead, they got Liriano from Pittsburgh.

“Where he’s been and what he’s accomplished his entire career, we feel like gives us a chance to have someone who could be pitching in Game 2, 3 or 4 of a World Series run,” Blue Jays General Manager Ross Atkins said.