MOOSIC, Pa. — Rap music blares through the stadium tucked into Pennsylvania’s Endless Mountains as Clint Frazier waves his white glove and matching Nike Jordan cleats above his head to the beat.

The 24-year-old is making his grand entrance from the Triple-A Scranton/Wilkes-Barre clubhouse — located on the same level as the concourse at PNC Field — winding through the stands and onto the grass to join his teammates for stretches on a Thursday afternoon.

Frazier seems the loosest of them all.

Just over a week has passed since the Yankees reportedly turned down a proposed trade that would have sent the talented, controversial outfielder and three top prospects to Arizona for lefty pitcher Robbie Ray.

Two hours after trade deadline passed on July 31, and 30 minutes before he took the field for a game in Rochester, Frazier tweeted a scene from “Toy Story 2” that depicts Woody emerging from a brown box to the delight of his toy pals.

“That was me acknowledging that everyone had already written me off, and here I am,” Frazier told The Post. “I’m still a Yankee, no matter how much people want me to be traded.”

He also is a RailRider, as he’s been since the Yankees demoted him in mid-June.

In his 53-game stint with the Yankees, Frazier hit .283/.330/.513 with 11 home runs, but the returns of Giancarlo Stanton and Aaron Judge — combined with his defensive horrors in the corners of the outfield — landed the 6-foot-1, ginger-haired outfielder in Scranton with his two orange cats, Big Papi and Lil Baby.

Frazier initially struggled to find his groove back in the minors, but since the deadline, he has hit .290/.313/.548 with two home runs, two doubles and five RBIs in seven games. In 40 games at Triple-A this year, he carries a slash line of .250/.301/.469 with seven home runs and 18 RBIs.

Frazier won’t admit that the deadline passing without him being traded helped yield better results.

But asked the same question, Frazier’s Triple-A manager, former major leaguer Jay Bell, told The Post: “I think [the trade rumors] weighed on him a little bit. He handled it OK, but nonetheless it still weighs on you a little bit. After the deadline passed, it’s like, ‘OK, here I am, let’s go. Let’s get after it,’ and he’s done a nice job.”

Frazier has improved at the plate and defensively. The Yankees instructed Bell to play Frazier in left field, a position that could be up for grabs with the big club next season.

“I think part of [Frazier’s offensive struggles] had to do with his defense,” Bell said. “He has worked his tail off, and defensively he’s gotten to a point where he’s playing just a tick deeper in the outfield, so he really is concentrating on being aggressive going forward. I think that’s allowed him to settle in out there. He knows where the fence is. He’s had no issues with that. He’s being aggressive to the ball. He’s made some diving plays, which has been really good. I think a combination of him feeling more comfortable defensively, I think it’s helped out offensively.”

Said a scout at Thursday’s game: “I don’t see a flaw per se. If he couldn’t do something well, I’d say he couldn’t do something.”

There have been strides — such as his diving catch and outfield assist Tuesday — but also hiccups such as a misplay Wednesday when Frazier was caught between charging the ball and waiting for it. Instead, it went past him.

Frazier is processing the reality that the Yankees continue to pass on giving him another chance this year despite their myriad injuries. When asked if part of him would have welcomed a trade if it meant getting a shot in the majors, he offered a more diplomatic response than he might have in The Bronx, where he notoriously clashed with the media.

“I don’t know, man. I don’t even know how to answer that question without it looking bad,” Frazier said. “I just want to play in the big leagues.”

He has since turned over his Manhattan apartment to the Yankees, but hopes to get it back.

“Maybe I can go up there and show them what I’ve been working on,” he said.

“The cats are ready to go home.”