Is com.apple.security.network.server appropriate for a sandboxed Mac app using MultipeerConnectivity?

I have a sandboxed Mac App Store app that uses Apple’s MultipeerConnectivity framework for a local peer-to-peer “mesh” feature.

The app advertises itself as a nearby peer and accepts inbound invitations from other nearby devices so users can do local collaboration, chat, shared workspace sync, and multiplayer game sessions. This is local peer-to-peer only; the app is not running a public web server, FTP server, or similar service.

When I remove the App Sandbox Incoming Connections entitlement:

com.apple.security.network.server

nearby peer discovery / inbound connections stop working in the sandboxed Mac build.

Is com.apple.security.network.server the correct entitlement for this MultipeerConnectivity use case on macOS, assuming the app clearly exposes this local peer-to-peer feature in the UI?

Is com.apple.security.network.server appropriate for a sandboxed Mac app using MultipeerConnectivity?
 
 
Q