About Tmux MCP Server
Tmux MCP Server is an MCP server published by lox in the Developer Tools category: an MCP server that lets AI agents interact with terminal sessions through tmux.
The repository has 6 stars and 2 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
uvx tmux-mcp-serverpip install tmux-mcp-serverThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Tmux MCP Server
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 9 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- !License declaredNo license file. Legally you have no right to use it in a product.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
Releases
README
Tmux MCP Server
An MCP server that lets AI agents interact with terminal sessions through tmux.
Running the Server
go run ./cmd/tmux-mcp-server
The server communicates via stdio and provides tools for managing tmux sessions.
Usage
The server provides these tools:
start_session- Create a new tmux sessionsend_commands- Send commands and keystrokes to a sessionview_session- Capture the current screen contentlist_sessions- Show all active sessionsjoin_session- Join an existing sessionclose_session- End a session
Example: Editing a file with vim
{
"name": "start_session",
"arguments": {
"session_name": "edit_work",
"command": "vim README.md"
}
}
{
"name": "send_commands",
"arguments": {
"session_name": "edit_work",
"commands": [
"i",
"Hello world!",
"<ESC>",
":wq",
"<ENTER>"
]
}
}
The send_commands tool takes an array where plain strings are typed literally and <COMMAND> format handles special keys like <ENTER>, <ESC>, <TAB>, etc.
Development
This project uses Hermit for managing development dependencies. Hermit ensures consistent development environments across different machines.
. bin/activate-hermit
Requirements
- Go 1.24.2+
- tmux
README fetched from the repository 9 days ago. The original is authoritative.