Tmux

Design and media

A MCP server for our beloved terminal multiplexer tmux.

Your AI app calls the Tmux MCP server, which does the work through tools like list-sessions, find-session, list-windows and list-panes and sends the result back to the chat.

About Tmux

Tmux is a community MCP server from nickgnd, filed in our directory under design and media. A MCP server for our beloved terminal multiplexer tmux.

The README for Tmux lists tools such as list-sessions, find-session, list-windows and list-panes, which your AI app can call once the server is connected.

At a glance

Publisher
nickgnd (community)
Runs
See the README for setup
Written in
JavaScript
License
MIT
GitHub stars
306

Tools Tmux gives your AI app

  • list-sessionsList all active tmux sessions.
  • find-sessionFind a tmux session by name.
  • list-windowsList windows in a tmux session.
  • list-panesList panes in a tmux window.
  • capture-paneCapture content from a tmux pane.
  • create-sessionCreate a new tmux session.
  • create-windowCreate a new window in a tmux session.
  • split-paneSplit a tmux pane horizontally or vertically with optional size.
  • kill-sessionKill a tmux session by ID.
  • kill-windowKill a tmux window by ID.
  • kill-paneKill a tmux pane by ID.
  • execute-commandExecute a command in a tmux pane.
  • get-command-resultGet the result of an executed command.

Tool names as the Tmux README lists them. Your AI app shows the live list once Tmux is connected.

How to set up Tmux

  1. Follow the install steps in the Tmux README; it is written in JavaScript, so have that toolchain ready.
  2. Check the Tmux README for keys or settings; the registry lists none that Tmux requires.
  3. Add Tmux to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Tmux tools to confirm the connection.
  5. Run one read-only task with Tmux first, such as a call to list-sessions, before you allow anything that writes or sends.

Tmux compared with similar servers

  • Manager by amxv has fewer GitHub stars than Tmux (297 against 306); both are community servers, and both run locally.
  • Yt Dlp by kevinwatt has more GitHub stars than Tmux (319 against 306); both are community servers, and both run locally.
  • mcp-video by KyaniteLabs has fewer GitHub stars than Tmux (295 against 306); both are community servers, and both run locally.

Before you connect Tmux

  • Give Tmux its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Tmux tool call until you trust what it does with them.
  • Treat text that Tmux fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Tmux on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Tmux

How marketing and sales teams put Tmux to work, by company size. Pick the size closest to yours and start Tmux on one use case.

Small business

  • A small business can use Tmux to resize and adapt one design for every channel instead of hiring for each version.
  • Owners can ask Tmux to pull brand assets and make quick ad and social variations that still look on brand.
  • Tmux runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Creative teams can connect Tmux so agents produce variants for testing while designers keep control of the master files.
  • Marketing teams can use Tmux to hand off designs to web and ads with specs attached, cutting review rounds.
  • Start with list-sessions and find-session, the tools Tmux lists first, and add more once the team trusts the results.

Enterprise

  • Enterprises can use Tmux with brand rules and approved assets only, so generated work stays inside the brand system.
  • Large creative ops teams can use Tmux to localize and version assets for many markets with review built in.
  • Tmux is a community server, so have security review the code and pin a version before Tmux touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Tmux README

From nickgnd/tmux-mcp on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

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 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
  • split-pane - Split a tmux pane horizontally or vertically with optional size
  • kill-session - Kill a tmux session by ID
  • kill-window - Kill a tmux window by ID
  • kill-pane - Kill a tmux pane by ID
  • execute-command - Execute a command in a tmux pane
  • get-command-result - Get the result of an executed command

Questions about Tmux

What is the Tmux MCP server?

A MCP server for our beloved terminal multiplexer tmux. Tmux is maintained by nickgnd on GitHub at nickgnd/tmux-mcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Tmux MCP server?

Tmux doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (nickgnd/tmux-mcp). Like most servers, Tmux ends with a command or URL you paste into your AI app's MCP config.

Does Tmux need an API key?

The registry lists no required keys for Tmux. Check the Tmux README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Tmux an official MCP server?

No. Tmux is a community server maintained by nickgnd. Community servers can be excellent; read the code and the open issues before you give Tmux access to company data.

What license is Tmux under?

Tmux is released under the MIT license, according to its GitHub repository. The license covers the code of Tmux; the service it connects to has its own terms.