The Carmelo Anthony deal is official.

On Saturday the Knicks agreed to ship Melo to Oklahoma City for Doug McDermott, Enes Kanter and a 2018 second-round pick. The team announced the trade Monday morning during Media Day.

“This is a deal we feel works for both this franchise and Carmelo,” Knicks president Steve Mills said. “We thank him for his seven seasons in a Knicks uniform and all that he accomplished off the court for the City of New York by using his platform to address social issues.

“We will continue to focus on this team looking forward towards the immediate and long-term future. As we have said recently, this is a new beginning for the New York Knicks.”

Knicks GM Scott Perry added that the team’s acquired two 25-year-old players who they can develop while sticking to their strategy to emphasize youth and athleticism.

“With this trade, we have added scoring and aggressiveness to our frontcourt, and bolstered the team’s perimeter shooting,” Perry said. “We are glad to have finalized a trade that made sense for all of us.”