pub fn detect_host_app<I, K, V>(
transport_host: Option<&str>,
agent_type: Option<&str>,
env: I,
client_name: Option<&str>,
) -> StringExpand description
Host app of a session, from the hints in order of trust: the MCP
handshake’s identified host, the ctx_agent agent type, the process
environment, then mcp-client:<clientInfo.name>.