While looking for historic references to the start of the Korean War, I ran into an interesting FAQ which details the Chinese point of view:
“China’s objective was to keep the hostile American forces away from the Yalu river to ensure a peaceful environment for internal reconstruction. ”
Compare the FAQ with the timeline over here (or go to the timeline).