For her next, almost certainly R-rated comedy, Melissa McCarthy will team with some puppets.