MCPAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

LibTmux.Mcp.McpServerComposition

API reference · Markdown

class LibTmux.Mcp.McpServerComposition
classstatic [source]

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

Add ( services : IServiceCollection , policy : ServerPolicy , connectionOptions : ServerConnectionOptions , callerPaneId : string? ) → IMcpServerBuilder
methodstatic [source]

Registers everything the server needs and everything it offers.

Parameters
Returns

The builder, for a transport to be chosen on.

Discussed in C# MCP API

Esc

Type to search.