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