In a lot (most?) companies, management serves as the bosses over engineers. So good luck telling your boss they’re not allowed in your meeting.

You don't tell them they're not allowed. You ask them what they need from the meeting and how so you can free up the time from their calendar, or what they need to comfortably delegate the responsibility to you.

Managers don't do this stuff for funsies they do it because they don't trust that their team won't go off track because of something they don't know.

A lot of people are talking past each other in this comment section. A good boss definitely doesn't want you spend their time making you do performative work. A bad boss gleefully engages with this as it shows they are big and important.

A good boss will see the inefficiency and work with you to try and manage it so you are not doing a bunch of PM work (wasting your time) while the important stuff happens and clear communication continues.

A bad boss will see that you are not catering to their emotional needs which implies you are a very bad worker and thus you will be keel hauled into every meeting they can invite you to because obviously the more time you've spent talking to them the more efficient you've been during the day, you are a finger on a hand and you should not flex unless the mind controlling you wants to.

I had a bad boss move me across the country as the most important thing so we could have face to face comms, and then would only come into the office once a month or so to talk - but to him that once a month in person conversation was worth upending my entire life so it was marginally easier than a zoom call for him. There's a lot of rich assholes who operate like this.