Is there a way to hide server folders?

You can hide mail account folders either by “right clicking directly on the account name” and then click show / hide folders.

Or alternatively you can hide mail account folders by “right clicking on the actual folder or label” and click hide.

Either way you do it, the hidden folders / labels will only then show under +More at the bottom of each mail account.