Well, if you're just going through 6mm of MDF it "should" be ok, but MDF can be an unforgiving material. That gun should shoot brad nails, which would most likely pull out, so I'd go with staples... Really, wood glue and clamps should be enough to hold that together, amazingly strong stuff.
