Well yes, community centers are literally buildings, and as such, have expenses. Most US communities still have them, however, so it's probably not the money that's preventing them from existing.
McDonalds has an economic incentive for having all those qualities. Employees get fired for not cleaning the floor. A store goes out of business if people don't feel welcome there. A business wants as little in the way of customers as possible so the bureaucracy is kept to the minimum
A community center however is usually run by volunteers and is funded often as not by government money. The money comes with bureaucracy and there usually aren't enough volunteers to go around.
There are exception to both of the above of course. Some Mcdonald's are dirty and unwelcoming and some Community Centers are clean and simple.
But in the general case the above often holds true.
I don't know if this would be some kind of libertarian wet dream, but I wonder if there's value in taking some of the underlying reasons McDonald's is working for this purpose, and trying to emulate them in existing infrastructure.