Skip to main content

EgressPolicy

@forge/monorepo


@forge/monorepo / backend/src / EgressPolicy

Type Alias: EgressPolicy

EgressPolicy = object

Defined in: backend/src/mcp/egress.ts:13

Properties

allowedHttpHosts?

readonly optional allowedHttpHosts?: readonly string[]

Defined in: backend/src/mcp/egress.ts:15

If set, only these HTTP hosts are permitted (allow-list).


allowedSchemes?

readonly optional allowedSchemes?: readonly string[]

Defined in: backend/src/mcp/egress.ts:17

Permitted URL schemes for HTTP transports. Defaults to ["https"].


allowedStdioCommands?

readonly optional allowedStdioCommands?: readonly string[]

Defined in: backend/src/mcp/egress.ts:19

Explicit allow-list of stdio commands. Stdio is denied unless a command matches.


allowPrivateNetworks?

readonly optional allowPrivateNetworks?: boolean

Defined in: backend/src/mcp/egress.ts:21

Allow private/loopback addresses (dev only). Defaults to false.