MCPconceptAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

Concept example A working example of the core library. It can change without notice. What concept means

MCP: API reference

LibTmux.Mcp.ServerPolicy

class LibTmux.Mcp.ServerPolicy

What this server will do, and how much of it at once.

Description

Every knob is resolved once at startup from the environment. A bad or out-of-range value is clamped and logged rather than refused: an operator who mistypes a ceiling gets a working server and a warning, not a client that fails to start with nothing to read.

Guides

task material

Pages that discuss ServerPolicy.

Properties4

ServerPolicy properties
NameTypeDescription
WaitCeiling TimeSpan Gets the longest a single wait may block before reporting a timeout.
MaxLines int Gets the line budget a capture uses when the caller names none.
MaxBytes int Gets the byte budget one content-bearing result may carry.
AllowPollingFallback bool Gets whether pane text waits may poll when control observation is unavailable.

Other members2 members

Esc
Search in

Type to search.

Reference previewOpen reference