Agent / foldkit-agent-mcp
HttpAppOptions
type · packages/agent-mcp/src/httpApp.ts:59
type HttpAppOptions<Model, Context_, Principal, ByName, ByTag> =
| (HttpHandlerOptions<Model, Context_, Principal, ByName, ByTag> & {
readonly server?: undefined
})
| {
readonly server: HttpHandler
}Either the options to create a handler, or an existing handler to reuse so sessions can be shared. Not both: a reused handler would ignore the rest.