EgressPolicy
@forge/monorepo / backend/src / EgressPolicy
Type Alias: EgressPolicy
EgressPolicy =
object
Defined in: backend/src/mcp/egress.ts:13
Properties
allowedHttpHosts?
readonlyoptionalallowedHttpHosts?: readonlystring[]
Defined in: backend/src/mcp/egress.ts:15
If set, only these HTTP hosts are permitted (allow-list).
allowedSchemes?
readonlyoptionalallowedSchemes?: readonlystring[]
Defined in: backend/src/mcp/egress.ts:17
Permitted URL schemes for HTTP transports. Defaults to ["https"].
allowedStdioCommands?
readonlyoptionalallowedStdioCommands?: readonlystring[]
Defined in: backend/src/mcp/egress.ts:19
Explicit allow-list of stdio commands. Stdio is denied unless a command matches.
allowPrivateNetworks?
readonlyoptionalallowPrivateNetworks?:boolean
Defined in: backend/src/mcp/egress.ts:21
Allow private/loopback addresses (dev only). Defaults to false.