It takes a village to raise a team, and in this case the village is New York City and the team is the Rangers.

“We don’t get an opportunity to really go out in New York that much and learn about the people and learn about the city and learn about the NYPD that we respect a lot,” coach Alain Vigneault said Thursday night while outlining a series of team-building activities that will feature a visit Friday with the NYPD and a trip Saturday to the 9/11 Memorial and Museum. “These next few days are very well planned.”

The Rangers will be greeted and spoken to Friday by Det. Anthony Mason, who helped disarm the pressure-cooker device in Chelsea on Sept. 17.

“He’s going to talk to our group about teamwork and dedication,” said Vigneault, whose team is preparing for Thursday night’s season opener at the Garden against the Islanders.

Following practice Saturday, the Rangers will meet with NYPD Citywide Operations Chief Thomas Purtell, who presided over the NYPD’s rescue and recovery operations at Ground Zero, and will also talk with Det. Barry Driscoll, son of first responder Stephen Driscoll, who perished while saving others in the aftermath of the attack on the World Trade Center.

“I’m really looking forward to it,” Vigneault said. “We’ve been talking to our team about this for a couple of days now, and they’re real excited about having this opportunity.”