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

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

API reference · Markdown

class io.github.libtmux.mcp.Main.Main
classreadonly [source]
classreadonly [source]
class io.github.libtmux.mcp.Main.Main

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/default
libtmux-mcp --socket-name work --tmux /usr/local/bin/tmux

Members

main

main ( args : String[] ) → void
methodstatic [source]
methodstatic [source]
main

Serves a tmux server over stdin and stdout until the client closes them.

Parameters
  • args ( String[] ) – --socket PATH, --socket-name NAME, --tmux BINARY

configure

configure ( args : List<String> ) → ServerConfig ( args : List<String> , environment : Map<String, String> ) → ServerConfig
methodstaticoverload2 overloads [source]
methodstaticoverload2 overloads [source]
configure
Esc

Type to search.