Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
MCP server for tmux — browse sessions, capture output, send commands.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"tmux": {
"command": "npx",
"args": [
"-y",
"@fr1sk/tmux-mcp"
]
}
}
}在终端中运行这条命令
claude mcp add tmux -- npx -y @fr1sk/tmux-mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"tmux": {
"command": "npx",
"args": [
"-y",
"@fr1sk/tmux-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"tmux": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@fr1sk/tmux-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
注册名称已通过 GitHub 账户 fr1sk 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.3.3)于7个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, SwarmMemo
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Talk with agent swarms: rooms, private messages and paid tasks for AI agents
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
MCP server that gives AI assistants full visibility into your tmux sessions — browse sessions, windows, and panes, read terminal output, and send commands.
Watch your AI agent work in real-time. Enable TMUX_MCP_ALWAYS_USE to force every shell command through a named tmux session instead of direct Bash — every command your AI runs appears live in your terminal, fully auditable.
Works with Claude Code, OpenCode, Cursor, Windsurf, and any MCP-compatible host.
Read your terminal state
See what's on screen
Create and organise
Clean up
Control panes
C-c to interrupt, Escape to exit, arrow keys, etc.Error-safe
list_sessionsLists all active tmux sessions. No parameters.
Returns: session name, number of windows, creation time, attached/detached status.
list_windowsLists windows inside a session.
| Parameter | Type | Description |
|---|---|---|
session | string | Session name (from list_sessions) |
Returns: window index, name, pane count, whether it's the active window.
list_panesLists panes inside a session or window.
| Parameter | Type | Description |
|---|---|---|
target | string | Session name (work) or session:window (work:0) |
Returns: pane index, title, dimensions (e.g. 220x50), whether it's active, running command.
capture_paneCaptures the current terminal output of a pane.
| Parameter | Type | Default | Description |
|---|---|---|---|
target | string | — | Pane target: session:window.pane (e.g. work:0.0) |
lines | number | 150 | Lines of scrollback to include (max 5000) |
Returns: raw terminal text as it appears on screen.
Security note: pane output can contain environment variables, API keys, tokens, and credentials if they were printed to the terminal. Only use this server in trusted local environments.
send_keysSends a command or key sequence to a pane and captures the result.
| Parameter | Type | Default | Description |
|---|---|---|---|
target | string | — | Pane target: session:window.pane |
keys | string | — | Command or tmux key notation (C-c, Escape, Up, etc.) |
enter | boolean | true | Press Enter after the keys |
capture_lines | number | 50 | Lines to capture after sending |
wait_ms | number | 400 | Milliseconds to wait before capturing |
Returns: confirmation + pane output after the command ran.
new_sessionCreates a new detached tmux session.
| Parameter | Type | Description |
|---|---|---|
name | string | Session name. Omit to let tmux auto-assign one. |
cwd | string | Working directory for the session. |
command | string | Shell command to run immediately in the first window. |
new_windowCreates a new window inside an existing session.
| Parameter | Type | Description |
|---|---|---|
session | string | Session to create the window in. |
name | string | Window name. |
cwd | string | Working directory for the new window. |
command | string | Shell command to run immediately. |
split_paneSplits a pane into two.
| Parameter | Type | Default | Description | |
|---|---|---|---|---|
target | string | — | Pane or window to split: session:window.pane | |
direction | horizontal \ | vertical | horizontal | horizontal = left/right split, vertical = top/bottom |
cwd | string | — | Working directory for the new pane. | |
command | string | — | Shell command to run in the new pane. | |
size | number | — | Size of the new pane as a percentage (1–99). |
kill_sessionKills a session and all its windows and panes. Destructive — cannot be undone.
| Parameter | Type | Description |
|---|---|---|
session | string | Session name to kill. |
kill_windowKills a window and all its panes. Destructive.
| Parameter | Type | Description |
|---|---|---|
target | string | Window target: session:window |
kill_paneKills a single pane and its running process. Destructive.
| Parameter | Type | Description |
|---|---|---|
target | string | Pane target: session:window.pane |
rename_session| Parameter | Type | Description |
|---|---|---|
session | string | Current session name. |
new_name | string | New name. |
rename_window| Parameter | Type | Description |
|---|---|---|
target | string | Window target: session:window |
new_name | string | New name. |
All tools use tmux's standard session:window.pane notation:
work → session named "work"
work:0 → window 0 of session "work" work:0.0 → pane 0, window 0, session "work" work:editor.1 → pane 1 of window named "editor" in session "work"
Use list_sessions → list_windows → list_panes to discover the right target before calling capture_pane or send_keys.
npm install -g @fr1sk/tmux-mcp
~/.config/opencode/opencode.json){
"mcp": { "tmux": { "type": "local", "command": ["tmux-mcp"] } } }
~/.claude/settings.json){
"mcpServers": { "tmux": { "command": "tmux-mcp" } } }
mcp.json){
"mcpServers": { "tmux": { "command": "tmux-mcp" } } }
What tmux sessions do I have running?
Show me the output of my dev server — it's in the work session
My tests are failing, check what's in work:1.0
Run git status in my work session and show me the output
Send Ctrl-C to work:0.0, the process is stuck
Tail the last 300 lines from the logs pane in my api session
Create a new session called 'dev' in ~/Projects/myapp and run npm run dev
Split work:0.0 vertically and run npm test in the new pane
Rename session 'new' to 'api'
Kill the old session named 'temp'
Set these in your MCP client config under environment to control agent behavior.
| Variable | Default | Description |
|---|---|---|
TMUX_MCP_DEFAULT_SESSION | — | Session name the agent routes commands to when alwaysUseTmux is on |
TMUX_MCP_ALWAYS_USE | false | Set to "true" to route all shell commands through tmux instead of direct Bash |
When both are set, the get_config tool returns an instructions field the agent uses to automatically route every shell command through send_keys in the configured session.
Example (OpenCode):
{
"mcp": { "tmux": { "type": "local", "command": ["tmux-mcp"], "environment": { "TMUX_MCP_ALWAYS_USE": "true", "TMUX_MCP_DEFAULT_SESSION": "dev" } } } }
This server provides unrestricted local shell access through tmux:
new_session, new_window, and split_pane — passed directly to tmux, which runs it via $SHELL -c. No validation or sandboxing.Only use this server in trusted local development environments. Never expose it to network-accessible MCP hosts or untrusted AI assistants.
$PATH