He was a Republican, as a token gesture to the party for ending slavery.
But there can be little doubt that MLK had communist sympathies.
MLK was a Republican like all blacks until the Kennedy phone call in 1960 that was heavily politicized. Even though the black ministers endorsed Nixon, MLK was neutral, but favored Kennedy because of the phone call to MLK’s wife while he was in jail.