LibTmux.Mcp.McpServerComposition.Add
- LibTmux.Mcp.McpServerComposition.Add ( services : IService
Collection , policy : ServerPolicy , connectionOptions : ServerConnection , callerPaneId : string? ) IMcpOptions Server Builder -
Registers everything the server needs and everything it offers.
- Parameters
-
-
services ( IService
Collection ) – The container to register into. -
policy ( Server
Policy ) – What the server will do. -
connectionOptions ( Server
Connection ) – How to reach tmux.Options -
callerPaneId ( string? ) – The pane the server runs in, when it runs in one.
-
- Returns
-
The builder, for a transport to be chosen on.
Discussed in C# MCP API