Cocoa futures posted their biggest gain in more than a week as the market focuses on the upcoming mid-crop harvest in top West African growers.