Quote History Quoted:
The Federation is not a command economy. You're free to do whatever you want. Not communism, though we don't have a real world example of a post scarcity economy.
View Quote
If you have magic atom manipulators, that transform matter into anything you want, from a cup with Earl Grey tea in it, to any food item you want, or anything else for that matter you are certainly post scarcity. A technology that's so advanced it can copy an individual human down to an exact neural maps of memory, and personality, transmit that information and then reconstruct an exact copy, you are most certainly "post scarcity".
Human labor inputs would be minimal. In reality they wouldn't be there at all. It's a little silly that humans do as much as they do in the Star Trek universe, except that for some strange reason while they can copy people, they can't seem to replicate machines like Commander Data. There A.I. seems to have hit some limit as well. They can build warp drives, and atom manipulators, but they still haven't perfected the ability to create artificial general intellegence. The technology to make Data seems hard to them.
It's a mishmash universe, that doesn't really make a lot of sense. ...but it's not communist, or capitalist. It's a post scarcity society ....but only sort of.