The PEKKA is the best troop to counter-attack the Mega Knight. PEKKA will do quick damage to the mega knight and will kill it quickly.