validateEndpoint
@forge/monorepo / backend/src / validateEndpoint
Function: validateEndpoint()
validateEndpoint(
policy,transport,endpoint):void
Defined in: backend/src/mcp/egress.ts:61
Validate an endpoint against the policy. Throws forbidden when disallowed. For stdio the endpoint
is the command; for HTTP transports it is a URL.
Parameters
policy
transport
"stdio" | "streamable-http" | "sse"
endpoint
string
Returns
void