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

LibTmux.Mcp.TmuxServerInfo

What a tmux server is and how much it is holding.

Parameters
  • SocketName (string?) – The -L name this server answers on, or null when it was reached by path instead — a path-selected socket has no name of its own.

  • SocketPath (string?) – The -S path this server answers on, or null when reached by name.

  • Version (string?) – The tmux version running it, or null when the server is not answering — including one that was running earlier in this process and has since exited, so this never reports a stale version for a server that is gone.

  • SessionCount (int) – How many sessions it holds.

  • WindowCount (int) – How many windows, across every session.

  • PaneCount (int) – How many panes, across every window.

  • CallerPaneId (string?) – The pane this server runs in, when it runs in one.

  • CallerPaneSocket (string?) – The socket the caller's own pane lives on, when that is not this server's. A null CallerPaneId beside a value here means the caller's terminal is on a different tmux server and no listing from this one can contain it — which is the default arrangement, not a failure to determine anything.

Properties8

TmuxServerInfo properties
NameTypeDescription
SocketName string? The -L name this server answers on, or null when it was reached by path instead — a path-selected socket has no name of its own.
SocketPath string? The -S path this server answers on, or null when reached by name.
Version string? The tmux version running it, or null when the server is not answering — including one that was running earlier in this process and has since exited, so this never reports a stale version for a server that is gone.
SessionCount int How many sessions it holds.
WindowCount int How many windows, across every session.
PaneCount int How many panes, across every window.
CallerPaneId string? The pane this server runs in, when it runs in one.
CallerPaneSocket string? The socket the caller's own pane lives on, when that is not this server's. A null CallerPaneId beside a value here means the caller's terminal is on a different tmux server and no listing from this one can contain it — which is the default arrangement, not a failure to determine anything.
Esc
Search in

Type to search.

Reference previewOpen reference