io.github.libtmux.mcp.Main.Main
Java
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
-
Runs the tmux MCP server over stdin and stdout.
An MCP client launches this as a subprocess and speaks JSON-RPC over its standard streams, so nothing may write to stdout but the protocol. Diagnostics go to stderr, which the client is free to log or discard.
Which tmux server to expose is chosen the same way the library chooses it: a socket path, a socket name, or tmux's own default.
The unordered toolset and named-tool environment variables resolve one immutable surface before tmux is opened. A tool outside it is neither listed nor callable.
Examples
libtmux-mcp --socket /run/user/1000/tmux/defaultlibtmux-mcp --socket-name work --tmux /usr/local/bin/tmux
Members
-
Serves a tmux server over stdin and stdout until the client closes them.
- Parameters
-
-
args ( String[] ) –
--socket PATH,--socket-name NAME,--tmux BINARY
-
- configure ( args : List<String> ) ServerConfig ( args : List<String> , environment : Map<String, String> ) ServerConfig