We propose a potential scheme to generate cluster states with one-step operation based on cavity quantum electrodynamics in a multiatom and microwave cavity system with an additional driven classical field. The proposed quantum operation avoids cavity-field induced decay and may achieve the cluster states with ideal success probability.