Tmux
Interact with your Tmux sessions, windows and pane, execute commands in tmux panes and retrieve result.
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
- Split panes horizontally or vertically with customizable sizes
- Kill tmux sessions, windows, and panes
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 sessionstmux://pane/{paneId}- View content of a specific tmux panetmux://command/{commandId}/result- Results from executed commands
Available Tools
list-sessions- List all active tmux sessionsfind-session- Find a tmux session by namelist-windows- List windows in a tmux sessionlist-panes- List panes in a tmux windowcapture-pane- Capture content from a tmux panecreate-session- Create a new tmux sessioncreate-window- Create a new window in a tmux sessionsplit-pane- Split a tmux pane horizontally or vertically with optional sizekill-session- Kill a tmux session by IDkill-window- Kill a tmux window by IDkill-pane- Kill a tmux pane by IDexecute-command- Execute a command in a tmux paneget-command-result- Get the result of an executed command
Related Servers
Zotero
Access and manage your Zotero library data via the local or web API.
GetUTC
Provides the current UTC time from multiple verified sources.
Google Calendar MCP
Integrates with the Google Calendar API to manage events and schedules using OAuth2 authentication.
Date-time Tools
A server for date-time manipulation and timezone conversion.
Claude Server MCP
An MCP server for Claude providing advanced context management, including persistent sessions and project-specific organization.
MCP iCal Server
A server for performing CRUD operations on the macOS Calendar app.
Yandex Tracker
Integrates with Yandex Tracker, allowing an AI assistant to interact with its task management system via the MCP protocol.
Rememberizer Common Knowledge
Access personal and team knowledge repositories, including documents and Slack discussions.
Directus Task MCP Server
Manage tasks in Directus with automatic schema synchronization.
MCP Shrimp Task Manager
An intelligent task management system based on MCP, providing an efficient programming workflow framework for AI Agents with an optional web-based GUI.
