Skip to main content

McpServerConnection

@forge/monorepo


@forge/monorepo / backend/src / McpServerConnection

Type Alias: McpServerConnection

McpServerConnection = object

Defined in: backend/src/mcp/index.ts:31

Credentials are referenced, never inlined — credentialRef points at secret storage. Nothing in this record may reach model context.

Properties

auth

readonly auth: McpAuth

Defined in: backend/src/mcp/index.ts:38


createdAt

readonly createdAt: string

Defined in: backend/src/mcp/index.ts:40


enabled

readonly enabled: boolean

Defined in: backend/src/mcp/index.ts:39


endpoint

readonly endpoint: string

Defined in: backend/src/mcp/index.ts:37

URL for HTTP transports, command for stdio. Validated against the egress policy.


id

readonly id: string

Defined in: backend/src/mcp/index.ts:32


label

readonly label: string

Defined in: backend/src/mcp/index.ts:34


lastError?

readonly optional lastError?: string

Defined in: backend/src/mcp/index.ts:42


lastHandshakeAt?

readonly optional lastHandshakeAt?: string

Defined in: backend/src/mcp/index.ts:41


tenantId

readonly tenantId: TenantId

Defined in: backend/src/mcp/index.ts:33


transport

readonly transport: McpTransport

Defined in: backend/src/mcp/index.ts:35