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
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 sessionexecute-command
- Execute a command in a tmux paneget-command-result
- Get the result of an executed command
Related Servers
Deck Builder MCP
Create and manipulate PowerPoint presentations programmatically using JSON or Markdown.
Apple Shortcuts
An MCP Server Integration with Apple Shortcuts
eSignatures
Contract and template management for drafting, reviewing, and sending binding contracts.
Anki Connect
Manage Anki flashcards and decks via the AnkiConnect plugin.
Bitly MCP Server
Turn your AI assistant into a digital marketing hub that creates, organizes, and analyzes links and QR Codes on demand.
Resume Generator
Generates professional PDF resumes using LaTeX templates.
Google Calendar MCP
Integrates with the Google Calendar API to manage events and schedules using OAuth2 authentication.
Readwise Reader
An MCP server for the Readwise Reader API to access and manage your articles and highlights.
IT Tools
Provides access to over 70 IT tools and utilities for developers and IT professionals, including encoding, text manipulation, and network tools.
Rebrandly
Generate short URLs using the Rebrandly API.