LibTmux.Mcp.McpServerComposition.Add
.NET
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET
- C++ Unavailable
- Swift Unavailable
- LibTmux.Mcp.McpServerComposition.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