Tmux MCP Server
@nickgnd
关于 Tmux MCP Server
A MCP server for our beloved terminal multiplexer tmux.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"tmux": {
"command": "npx",
"args": [
"-y",
"tmux-mcp"
]
}
}
}工具
13List all active tmux sessions
Find a tmux session by name
List windows in a tmux session
List panes in a tmux window
Capture content from a tmux pane
Create a new tmux session
Create a new window in a tmux session
Split a tmux pane horizontally or vertically with optional size
Kill a tmux session by ID
Kill a tmux window by ID
Kill a tmux pane by ID
Execute a command in a tmux pane
Get the result of an executed command
概览
What is Tmux MCP Server?
Tmux MCP Server enables Claude Desktop to interact with and view tmux session content, allowing AI assistants to read from, control, and observe terminal sessions.
How to use Tmux MCP Server?
Add this MCP server to your Claude Desktop configuration by specifying the command and arguments. Optionally set the shell type with --shell-type (defaults to bash). The server provides resources (tmux://...) and tools to list, capture, create, and kill tmux sessions, windows, and panes.
Key features of Tmux MCP Server
- List and search tmux sessions
- View and navigate tmux windows and panes
- Capture and expose terminal content from any pane
- Execute commands in tmux panes and retrieve results (use at own risk)
- Create new tmux sessions, windows, and split panes
- Kill tmux sessions, windows, and panes
Use cases of Tmux MCP Server
- Let an AI assistant read the output of a running terminal process
- Execute commands in a specific pane and inspect their results
- Create new tmux windows or split panes during a session
FAQ from Tmux MCP Server
What prerequisites does Tmux MCP Server require?
Node.js and a running tmux installation are required.
How do I configure the shell type for command execution?
Use the --shell-type flag when starting the server, e.g., --shell-type=fish. Defaults to bash.
What resources and tools does Tmux MCP Server provide?
It provides resources like tmux://sessions and tmux://pane/{paneId}, and tools such as list-sessions, capture-pane, execute-command, create-session, split-pane, and more.
Is there any risk when using Tmux MCP Server?
Executing commands in tmux panes is done at your own risk, as indicated by the warning in the README.
Does Tmux MCP Server support authentication or transports?
The README does not mention any authentication or additional transport options beyond standard MCP.
其他 分类下的更多 MCP 服务器
ghidraMCP
LaurieWiredMCP Server for Ghidra
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
Servers
modelcontextprotocolModel Context Protocol Servers
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
评论