tmux-mcp

Let Claude Desktop inspect and control tmux sessions

Local

Install

See the repository for setup

What it does

tmux-mcp is a Model Context Protocol server that connects Claude Desktop to a running tmux environment, letting the assistant list, inspect, and manage terminal sessions. It is aimed at developers who already work in tmux and want an AI client to observe or operate those sessions without leaving the chat.

You install it through npx and register it in the Claude Desktop configuration as an MCP server. Node.js and a working tmux installation are required. An optional shell-type argument (defaulting to bash) tells the server which shell it is controlling so it can read command exit status correctly.

The server exposes resources for session lists, pane contents, and command results, along with tools to find sessions, list windows and panes, capture pane output, create or kill sessions, windows, and panes, split panes, and run commands inside a pane. Command execution carries obvious risk, since it acts on real terminals.

Supported clients listed in the source are limited to Claude Desktop; the source does not document other MCP clients or transports.

Compatibility and authentication

Connection
Local
Transports
Unspecified
Authentication
Unknown

Security and permissions

  • When you run the server locally, it runs with your user permissions.
  • Authentication type: Unknown.

Repository data

Stars
307
Last push
Feb 14, 2026
License
MIT
Archived
No

FAQ

What license does tmux-mcp use?
MIT
Does tmux-mcp run locally or remotely?
It runs locally.
Is tmux-mcp an official server?
It is listed as a community server.

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/mcp/tmux-mcp-2"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options