(options: {
readonly name: string
readonly version: string
})
| 466 | * @category Layers |
| 467 | */ |
| 468 | export const layer = (options: { |
| 469 | readonly name: string |
| 470 | readonly version: string |
| 471 | }): Layer.Layer<McpServer | McpServerClient, never, RpcServer.Protocol> => |
| 472 | Layer.scopedDiscard(Effect.forkScoped(run(options))).pipe( |
| 473 | Layer.provideMerge(McpServer.layer) |
| 474 | ) |
| 475 | |
| 476 | /** |
| 477 | * Run the McpServer, using stdio for input and output. |
no test coverage detected