LibTmux.Mcp.McpServerComposition
.NET
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET
- C++ Unavailable
- Swift Unavailable
-
Assembles the server: what it offers, and what it refuses to.
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 : IServiceCollection , policy : ServerPolicy , connectionOptions : ServerConnectionOptions , callerPaneId : string? ) IMcpServerBuilder
-
Registers everything the server needs and everything it offers.
- Parameters
-
-
services ( IServiceCollection ) – The container to register into.
-
policy ( ServerPolicy ) – What the server will do.
-
connectionOptions ( ServerConnectionOptions ) – How to reach tmux.
-
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 .NET MCP API