Class McpEgressGuard

java.lang.Object
com.axelor.ai.mcp.McpEgressGuard

public final class McpEgressGuard extends Object
Validates an MCP server URL before any outbound connection: HTTPS only, host on the administrator allowlist, and not resolving to a private/loopback/link-local address. Address classification is shared with the HTTP tool executor via OutboundAddresses; the allowlist and the HTTPS requirement are what MCP adds on top.