And yes it very much depends on what the likely visitors are like.
My parents mother especially would have thought they were helping but she has a tendency to take over and "sort things out" because obviously how I arrange my kitchen or do my laundry is wrong! I couldn't have been doing with that immediately post partum.
In laws mil was ltd what she could do but would have tried then gubbed herself and we'd have had to take her to hospital weirdly the one that would have been the most help was fil though he'd have been the most reluctant as he'd have felt like he was overstepping
Friends where we were living at the time, certain friends we were very close to and they WERE a great help, brought food, made cuppas etc others expected to be waited on so we naturally tended towards discouraging them.
Thinking about it the 2 couples who were genuinely helpful I am still friends with and dd is friendly with their kids to a point (we don't live near each other now but did till the kids were 3/4 and we've all stayed in touch on sm. The kids are all 18-20 now we visit sometimes and funnily enough the kids all get on great, they're like cousins)
But surely any experienced mner knows SOME families are toxic, unsupportive, critical...
I've just remembered there was a thread quite recently (which I think got deleted) by a grand mother bemoaning that baby was 3 days old and not seen it yet... She got a bit of sympathy at the beginning but as the thread went on it became glaringly obvious that she HATED her dil, that there was a HUGE back story and there were very likely damn good reasons why she wasn't welcome!
We see that kinda thing all the time on mg and it doesn't have to be that bad for an exhausted post partum mother not to want visited by passive aggressive, unhelpful, critical people