Skip to main content

SERVICE_NAME

Constant SERVICE_NAME 

Source
pub const SERVICE_NAME: &str = "mcpmesh";
Expand description

The mDNS service name mcpmesh nodes announce and listen on.

Deliberately NOT the crate’s irohv1 default, which is the SHARED iroh namespace: every iroh application on the link would advertise into it and be resolved out of it. That is not an authorization problem — resolution answers where, never who may, and a peer found this way still faces the trust gate — but it is a disclosure and a noise problem, announcing this node to unrelated applications and resolving endpoint ids that can never be ours.

Records take the form <endpoint-id>._mcpmesh._udp.local.