Agent / foldkit-agent-mcp

Unauthenticated

interface · packages/agent-mcp/src/http.ts:61

interface Unauthenticated {
  readonly _tag: 'Unauthenticated'
  readonly reason?: string | undefined
}

Why authenticate refused a caller: answered as a 401 with reason. Remote's RemoteUnauthenticated (RemoteServer.unauthenticated(reason)) is one, so the resolver a Remote host uses can refuse here too.

Members

Unauthenticated._tag

property · packages/agent-mcp/src/http.ts:62

readonly _tag: 'Unauthenticated'

Unauthenticated.reason

property · packages/agent-mcp/src/http.ts:63

readonly reason?: string | undefined