effect-io-ai

Package: @effect/ai
Module: McpServer

McpServer.layerHttpRouter

Run the McpServer, using HTTP for input and output.

Uses a HttpLayerRouter to register the McpServer routes.

Signature

declare const layerHttpRouter: (options: { readonly name: string; readonly version: string; readonly path: HttpRouter.PathInput; }) => Layer.Layer<McpServer | McpServerClient, never, HttpLayerRouter.HttpRouter>

Source

Since v1.0.0