GNSS-only attitude determination is difficult to perform well in poor-satellite-tracking environments such as urban areas with high and dense buildings or trees. In addition, it is harder to resolve integer ambiguity in the case of single-frequency single-epoch process mode. In this contribution, a low-cost MEMS gyroscope is integrated with multi-antenna GNSS to improve the performance of the attitude determination. A new tightly coupled (TC) model is proposed, which uses a single filter to achieve the optimal estimation of attitude drift, gyro biases and ambiguities. In addition, a MEMS-Attitude-aided Quality-Control method (MAQC) for GNSS observations is designed to eliminate both the carrier multipath errors and half-cycle slips disturbing ambiguity resolution. Vehicle experiments show that in GNSS-friendly scenarios, the Ambiguity Resolution (AR) success rate of the proposed model with MAQC can reach 100%, and the accuracy of attitudes are (0.12, 0.2, 0.2) degrees for heading, pitch and roll angles, respectively. Even in harsh scenarios, the AR success rate increases from about 67% for the GNSS only case to above 90% after coupling GNSS tightly with MEMS, and it is further improved to about 98% with MAQC. Meanwhile, the accuracy and continuity of attitude determination are effectively guaranteed.