list_sessions
List all tmux sessions
无需输入参数。

io.github.CloudCorpRecords由 GitHub 账号 CloudCorpRecords 发布v0.1.0更新于 Nov 7, 2026
Drive local tmux sessions, windows and panes: list, create, send keys, capture output.
本地 stdio MCP 服务器,让助手操作本机 tmux:列出、创建、重命名和关闭会话,管理窗口与窗格,发送按键并捕获窗格输出。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
参照 仓库 中的启动说明。
Drive local tmux from the command line or as a stdio MCP server. List, create, rename and kill sessions; manage windows and panes; send keys to a pane and capture its visible output.
Every operation runs the real tmux binary with an argument array
(execFile, never a shell string) behind an injectable executor, so
session names and key text are never reinterpreted as shell syntax.
Name a session that does not exist and you get tmux's own error
back. When no tmux server is running, list calls return empty
lists — the same empty world tmux reports.
Requires a tmux binary on the host (the container image bundles
none, so containerised runs report tmux unavailable).
Exit codes: 0 success, 1 tmux error, 2 usage error.
MCP client config:
MIT license.
来源:README.md,提交 5b308e1
List all tmux sessions
无需输入参数。
Create a new tmux session
window_namesession_name必填start_directoryKill a tmux session by name
session_name必填List the windows of a tmux session
session_name必填Create a new window in a tmux session
window_name必填session_name必填start_directoryKill a window in a tmux session
window_name必填session_name必填List the panes of a tmux session, optionally of one window
window_namesession_name必填Send keys (a command line or key names) to a tmux pane
keys必填pane_targetpress_entersession_name必填Capture the visible contents of a tmux pane as text
linespane_targetsession_name必填Rename a tmux session
new_name必填session_name必填Select (activate) a window in a tmux session
window_name必填session_name必填Get details of one tmux session: window count, creation time and attached state
session_name必填已满足适用检查项的 90%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
npx -y @reneturcios/termmux mcptermmux mcptermmux list-sessionstermmux create-session <name> [window] [start-dir]termmux kill-session <name>termmux list-windows <session>termmux capture <session> [pane]termmux send <session> <keys...>termmux --version{ "mcpServers": { "termmux": { "command": "npx", "args": ["-y", "@reneturcios/termmux", "mcp"] } }}docker run -i ghcr.io/cloudcorprecords/termmux # MCP server (tmux unavailable in-image)docker run --rm ghcr.io/cloudcorprecords/termmux --versionnpm installnpm run buildnpm test