Let $ M $ be a connected manifold. Let $ \pi_1(M) $ be the fundamental group of $ M $.
Suppose there exists a compact group $ K $ that acts transitively on $ M $. Then $ \pi_1(M) $ must have a finite commutator subgroup. See Transitive action by compact Lie group implies almost abelian fundamental group.
On the other hand, suppose that a Lie group $ G $ acts transitively on a compact manifold $ M $. Furthermore suppose that $ \pi_1(M) $ has finite commutator subgroup. Then can we conclude that there exists some compact group $ K $ (probably related to the maximal compact subgroup of $ G $) which acts transitively on $ M $?
If we strengthen our assumption from $ \pi_1(M) $ has a finite commutators subgroup to just the whole group $ \pi_1(M) $ is finite, then the desired result is exactly Corollary 3 of Montgomery: Montgomery - Simply connected homogeneous spaces.