Back to System Ops

Tmux

Provides control over tmux sessions by leveraging libtmux to execute commands through a simple interface, enabling automated terminal session management and complex workflows.

Last updated: 1/27/2026

README

# Tmux MCP Server

A POC [MCP (Model Context Protocol) Server](https://modelcontextprotocol.io/introduction) implementation that provides programmatic control over tmux sessions

## Warning

This is a proof of concept and should not be used in production. Using this, you can run arbitrary tmux commands, including reading pane contents and sending keys. 

## Features

- Run arbitrary tmux commands

## Usage

### In your MCP client configuration:

```json
"mcpServers": {
    "tmux": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/jonrad/tmux-mcp", "tmux-mcp"]
    },
}
```

Installation

Add this MCP to your configuration:

{
  "mcpServers": {
    "tmux": {
      // See GitHub repository for configuration
    }
  }
}

See the GitHub repository for full installation instructions.