Package Exports
- tmux-mcp
- tmux-mcp/build/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tmux-mcp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Tmux MCP Server
Model Context Protocol server that enables Claude Desktop to interact with and view tmux session content. This integration allows AI assistants to read from, control, and observe your terminal sessions.
Features
- 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 it at your own risk ⚠️)
- Create new tmux sessions and windows
Check out this short video to get excited!
Prerequisites
- Node.js
- tmux installed and running
Usage
Configure Claude Desktop
Add this MCP server to your Claude Desktop configuration:
"mcpServers": {
  "tmux": {
    "command": "npx",
    "args": ["-y", "tmux-mcp"]
  }
}MCP server options
You can optionally specify the command line shell you are using, if unspecified it defaults to bash
"mcpServers": {
  "tmux": {
    "command": "npx",
    "args": ["-y", "tmux-mcp", "--shell-type=fish"]
  }
}The MCP server needs to know the shell only when executing commands, to properly read its exit status.
Available Resources
- tmux://sessions- List all tmux sessions
- tmux://pane/{paneId}- View content of a specific tmux pane
- tmux://command/{commandId}/result- Results from executed commands
Available Tools
- list-sessions- List all active tmux sessions
- find-session- Find a tmux session by name
- list-windows- List windows in a tmux session
- list-panes- List panes in a tmux window
- capture-pane- Capture content from a tmux pane
- create-session- Create a new tmux session
- create-window- Create a new window in a tmux session
- execute-command- Execute a command in a tmux pane
- get-command-result- Get the result of an executed command
