LibTmux.Mcp.McpServerComposition
-
Assembles the server: what it offers, and what it refuses to.
Description#
One description of the wiring, used by the executable and by the tests that check what a client receives. Two descriptions would drift, and the one that drifted would be the tested one.
Members
- 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