In theory, the Jedi Order use the Force to defend the weak and preserve peace in the galaxy, in line with their ethical code of self-sacrifice and service. It isn’t quite that simple, however, because in the prequel trilogy it’s the Sith who come across as libertarian, and the Jedi quite the opposite. It works: the Republic hands power over to the Emperor “for their own protection” and “the common good”. Senator Palpatine (the future emperor) manufactures a war against the Trade Federation in order to scare people into giving up their freedoms. The prequel trilogy of episodes 1-3 are also libertarian in showing how that Empire came to be. The Rebel Alliance believe in a small limited government, and are freedom fighters against the fascist Empire. Many have noted that Star Wars is libertarian, especially the classic trilogy of episodes 4-6 (and now the spin-off Rogue One).
As a libertarian (the left-wing breed, not right) I’m intrigued by the politics of Star Wars.