General manager Scott Perry wasn’t kidding when he said he would have freedom to reshape the front office upon his hiring by president Steve Mills.

The Knicks officially announced the additions of five front-office members, including three new names — Harold Ellis, ex-Knicks guard Fred Cofield and Michael Arcieri.

Arcieri, named director of basketball strategy, and Ellis, the director of player personnel, worked with Perry in Orlando and, like Perry, were fired in May by the Magic.

Previously reported were the additions of former Knicks scout Gerald Madkins as assistant GM and Craig Robinson, Barack Obama’s brother-in-law, as vice president of player development/G-League operations.

“Last month, the day after I was hired, I started a full evaluation of the entire basketball operations staff,” Perry said in a statement. “My first goal was to build-up the highest level front office in the NBA. We are adding a host of highly-regarded and respected basketball people to work with the Knicks to fortify the franchise for years to come.”

With five new additions, there will, at most, be one current front-office member on thin ice, as a source told The Post Phil Jackson’s top advisor, Clarence Gaines Jr., will stay on.

The Knicks had a handful of openings that were never filled — with the death this season of scout Ben Jobe, the retirement of personnel director John Gabriel because of Parkinson’s disease, the departure of executive Chris Bernard and firing of developmental coach Josh Longstaff.

However, the future of Mark Warkentien, who was brought on by Donnie Walsh, is unclear. Warkentien held the title of personnel director that now belongs to Ellis.

The narrative that former Cleveland GM David Griffin wasn’t going to be allowed to bring in his own people seems far-fetched now. Sources indicate Griffin never seriously considered the job once he learned he would have to report to Mills.

Mills and Perry represent the only African-American managerial tandem in the NBA and the club added more diversity Tuesday with four African-Americans among the hirings. Perry’s father, Lowell, is credited as the NFL’s first black assistant coach.

Madkins returns to the Knicks after being hired as a scout by Scott Layden in 2003. He joined the Clippers in 2007.

Robinson appears to be the main Mills hire. The former Bucks executive and college coach played alongside Mills at Princeton and was a two-time Ivy League Player of the Year.

Like Perry, Arcieri, spent the past five seasons with Orlando, where the front office was dismantled this spring. He was director of basketball operations last season after being the director of basketball administration since 2012-13. The Queens native is a graduate of Brooklyn Law School.

Cofield was a fourth-round draft pick of the Knicks in 1985. He spent his rookie season with the team before heading to Chicago. He has ties to Jackson after he played in the old CBA for Charley Rosen, Jackson’s friend and one-time assistant.

The Knicks made the signing of point guard Ramon Sessions, 31, offical. He stands right now as the likely starter at the position.