Glued MDF won't work.
In general, don't use wood and plastics for machine frame. These materials are not rigid enough to withstand cutting forces. You'll get a lot of flex and chatter which equals bad surface finish and lack of precision.
______________________________________
My DIY CNC machine plans at www.8020CNC.com