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.

ServerConfiguration

struct ServerConfiguration : struct ServerConfiguration

How the executable is configured, read from the environment.

Description#

An MCP server is launched by a client that passes no flags, so environment is the only configuration surface there is. Parsed here rather than in the executable so a test can check what a given environment produces.

The server is on the socket LIBTMUX_SOCKET_PATH names, else on the socket name LIBTMUX_SOCKET gives. With neither, it passes tmux no socket and tmux picks the server: the one in TMUX when the client that launched this process runs inside tmux, and its default socket otherwise.

Guides#

Pages that discuss ServerConfiguration.

Members13#

Esc

Type to search.

Reference previewOpen reference