Anewmultiple-tapsandflatmicrowavephotonicfilter,whichiscomposedoffiberBragggrating,M-Zmodulatoranderbium-dopedfiber,isputforward.Theflatband-passorflatband-stopresponsecanberealizedbyadjustingthecoupler'sfactorandthereflectivityofthefiberBragggratingorthegainoftheerbium-dopedfiber.Thefreespectralrangeofthefiltercanbetunedbycontrollingthelengthoftheerbium-dopedfiber.Thepotentialandfeasibilityoftheproposedfilteringstructureshavebeendemonstratedbysimulation.