Skip to main content

redactConnection

@forge/monorepo


@forge/monorepo / backend/src / redactConnection

Function: redactConnection()

redactConnection(connection): Pick<McpServerConnection, "id" | "tenantId" | "label" | "transport" | "enabled">

Defined in: backend/src/mcp/provider.ts:107

The model/log-safe view of a connection: no endpoint, no credential reference at all.

Parameters

connection

McpServerConnection

Returns

Pick<McpServerConnection, "id" | "tenantId" | "label" | "transport" | "enabled">