redactConnection
@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
Returns
Pick<McpServerConnection, "id" | "tenantId" | "label" | "transport" | "enabled">