There were rumors of the agreement a long time ago, which ended only after the announcement of the deal on Octomber 31 , 2014. The financial details are not yet known. 
According to Daimler's press release, its Mercedes-AMG division is actually the one that's going to be working with MV Agusta in a "long-term partnership," including coordinated marketing and sales. The automaker is also appointing a member to the motorcycle company's board of directors. At this time, there's no mention of actually co-developing models together, though. 
This move comes after Audi snapped up Ducati a couple years ago and Bmw Motorrad achieves record sales figures during the last years.