I couldn't care less about what philosophies or political leanings Star Trek has embedded in it.
All I care about is..."is it entertaining?"
This.
TOS was a kind of Kennedy-era liberal in its leanings, the kind that probably nowadays would be lumper under the term "neoliberalism," I'm guessing. TOS avoided showing what life on Earth looked like, on purpose, to avoid getting into how its economy would work, or how world peace was achieved. Later series delved into that, much to their peril, which has left us with this morass that we struggle with whenever we try to consider how this utopian future works.
I think if you're trying to unpack what kind of politics "Star Trek" has, I'm going to ask, which series? Each had a different flavor.
Personally, I think it's best to think of Star Trek as heroic myth that speaks to and reflects our society of the moment, so each series is flavored by what is going on in American (and it's very much American) history and culture at the time. It's not that the politics are secondary, but rather they are background, and can induce madness on close examination.