Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI โ†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE โ†— (opens in a new tab)
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐Ÿ–ฅ๏ธ Command Line
  3. MCP Tmux
MCP Tmux logo
Health: ActiveRecent health check succeeded.Last checked 9/9/2026, 8:16:24 PM

MCP Tmux

User RatingsBe the first to rate and review this MCP server!
View Repository4 GitHub StarsTotal stargazers on GitHub for the source repository (4 stars).Visit Website
tmuxterminalsshautomationpair-programming

MCP server to control tmux sessions, windows, panes, keystrokes, and captures locally or remotely over SSH.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON โ–พ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "laszlopere-mcp-tmux": {
      "command": "uvx",
      "args": [
        "mcp-tmux"
      ]
    }
  }
}

๐Ÿ’ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing Alternatives๐Ÿ–ฅ๏ธ More in Command Line

Overview

This MCP server enables programmatic control of tmux, supporting sessions, windows, panes, sending keystrokes, and capturing pane output. It works locally or on remote hosts via SSH and supports tmux versions 1.8 and newer. The server exposes real tmux sessions that can be shared interactively for pair programming with an AI agent, allowing live visibility and input sharing in the same terminal session.

Use cases

โ€ขAutomate tmux session and window management
โ€ขSend keystrokes and commands to tmux panes programmatically
โ€ขCapture output from tmux panes for processing
โ€ขControl local or remote tmux instances over SSH
โ€ขPair program interactively with an AI agent in shared tmux sessions

Key features

โ€ขComprehensive tmux control: sessions, windows, panes, keystrokes, capture
โ€ขSupports tmux 1.8+ with version-aware command flags
โ€ขLocal and remote operation via SSH
โ€ขRaw tmux command passthrough for any tmux subcommand
โ€ขShared visible sessions for live pair programming with AI
โ€ขConfigurable toolsets to load only needed commands

Capabilities & Tool Schemas

Inspect callable tools, capabilities, and parameters exposed to AI agents by MCP Tmux.

Extracted Tool Capabilities
Comprehensive tmux control: sessions, windows, panes, keystrokes, capture
Supports tmux 1.8+ with version-aware command flags
Local and remote operation via SSH
Raw tmux command passthrough for any tmux subcommand
Shared visible sessions for live pair programming with AI
Configurable toolsets to load only needed commands

Documentation Overview

mcp-tmux

CI PyPI License: MIT Python 3.10+ Sponsor mcp-tmux MCP server Ruff Checked with mypy Last commit

A comprehensive, universal MCP server for driving tmux โ€” sessions, windows, panes, sending keystrokes, and reading pane output โ€” on the local machine or on remote hosts over SSH.

Source: https://github.com/laszlopere/mcp-tmux

Shared, visible sessions โ€” pair with the AI

This is the whole point, not a caveat: the agent drives real tmux sessions, not a private sandbox. When you attach to a session the agent is using, you see its keystrokes and command output live, and you can type into the very same pane. Nothing the agent does is hidden from an attached human โ€” by design.

That makes tmux a natural medium for pair programming with the AI: open a shared session, watch it work, take the keyboard when you want to step in, and hand it back. The agent and you cooperate in one place instead of the agent operating out of sight. (Because writes into an attached session are visible and real, be deliberate with destructive commands โ€” you're both driving the same terminal.)

Design goals

  • Comprehensive. Curated tools cover the common operations ergonomically, and a raw tmux_command passthrough runs any tmux subcommand โ€” so whatever your tmux supports, this server supports.
  • Universal. Works against tmux 1.8+ (โ‰ˆ2013 โ€” covers virtually every live distro). The server detects the target's tmux version and only uses flags/format variables that version understands.
  • Local + remote. Any tool can run against the local tmux or a remote host over SSH (ad-hoc user@host or a named profile from the config file). Old or minimal boxes only need tmux + ssh; the server itself runs on a modern host with Python 3.10+.

Install

bash
uvx mcp-tmux            # run directly with uv (no install)
# or install it as an isolated, easily-removable tool:
uv tool install mcp-tmux
# or
pipx install mcp-tmux

Requires Python 3.10+ on the host running the server, plus the tmux binary (and ssh for remote targets).

Installing โ‰  registering. Installing the package only puts the mcp-tmux executable on your PATH โ€” it does not tell any MCP client about it. Python wheels can't run post-install code, so registration is always a separate step (see below). If a client "can't find" the server after install, it just hasn't been registered yet.

Register with Claude Code

The package can register itself โ€” no hand-editing of config files:

bash
mcp-tmux register        # add to Claude Code at *user* scope
mcp-tmux unregister      # remove it again

User scope matters. mcp-tmux register defaults to --scope user, so the server is visible from every directory/session. The plain claude mcp add tmux -- mcp-tmux defaults to local (project) scope, which is the usual reason a server "doesn't show up" in another session โ€” it was only added for the directory you ran it in. To pick a scope explicitly:

bash
mcp-tmux register --scope user      # everywhere (default)
mcp-tmux register --scope project   # shared via this repo's .mcp.json
mcp-tmux register --scope local     # just this directory

After registering, confirm with claude mcp list (you should see tmux: mcp-tmux - โœ“ Connected). A client session already running must be restarted to pick up a newly registered server.

Equivalent manual form, if you prefer the raw CLI:

Terminal
claude mcp add -s user tmux -- mcp-tmux     # for an installed tool
claude mcp add -s user tmux -- uvx mcp-tmux # without installing

One-shot install + register (and clean removal)

From a checkout, the helper scripts do install and registration together โ€” the closest thing to "it happens at install time":

bash
scripts/install.sh        # build wheel, `uv tool install`, then `mcp-tmux register`
scripts/uninstall.sh      # `mcp-tmux unregister`, then `uv tool uninstall`

To remove everything by hand:

bash
mcp-tmux unregister       # drop it from Claude Code
uv tool uninstall mcp-tmux   # remove the isolated tool (or: pipx uninstall mcp-tmux)

Run from a checkout (development)

bash
python -m mcp_tmux       # stdio server

Tools (overview)

Tools are grouped into toolsets so a session only pays the schema cost of what it needs. core is always loaded; the rest are opt-in (see Selecting toolsets). A default session loads core + automation (~18 tools); ["all"] loads the full surface (60).

ToolsetTools
core (always loaded)tmux_command, tmux_query, tmux_version, tmux_list_targets, tmux_has_session, tmux_new_session, tmux_send_keys, tmux_capture_pane, tmux_new_window, tmux_list_panes, tmux_split_window, tmux_list, tmux_kill, tmux_rename, tmux_select
automation (default)tmux_wait_for_text, tmux_wait_for_idle, tmux_run
layouttmux_next_layout, tmux_move_window, tmux_select_layout, tmux_resize_pane, tmux_set_pane_title, tmux_clear_history, tmux_swap, tmux_last, tmux_respawn, tmux_link_window, tmux_unlink_window, tmux_break_pane, tmux_join_pane, tmux_find_window, tmux_pipe_pane
bufferstmux_set_buffer, tmux_paste_buffer, tmux_delete_buffer, tmux_save_buffer, tmux_load_buffer
configtmux_set_option, tmux_show_options, tmux_set_environment, tmux_show_environment, tmux_set_hook, tmux_show_hooks, tmux_run_shell, tmux_if_shell
keybindingstmux_list_keys, tmux_bind_key, tmux_unbind_key
copymodetmux_copy_mode, tmux_copy_scroll, tmux_copy_search
clientstmux_server_info, tmux_display_message
streamtmux_stream_start, tmux_stream_resize, tmux_stream_read, tmux_stream_send, tmux_stream_list, tmux_stream_stop

Every tool accepts an optional target (omit / "local", a named profile, or user@host). For anything not covered by a dedicated tool โ€” including anything gated out of the active toolsets โ€” use tmux_command(args=[...]), which is in core and reaches every tmux subcommand.

Selecting toolsets

Pick toolsets with the toolsets config key or the MCP_TMUX_TOOLSETS environment variable (comma-separated; env wins over config). core is always included. The special value all loads every toolset. An unknown name is a startup error listing the valid toolsets.

toml
# ~/.config/mcp-tmux/config.toml
toolsets = ["core", "automation", "stream"]   # or ["all"] for the full surface
jsonc
// or in the MCP server env, e.g. Claude Code's mcp config:
"env": { "MCP_TMUX_TOOLSETS": "core,layout,stream" }

With no setting, the default is ["core", "automation"].

The consolidated tools take a kind discriminator instead of having one tool per entity โ€” e.g. tmux_kill(kind="window", id="dev:2"), tmux_kill(kind="server"), tmux_swap(kind="pane", src="%1", dst="%2"), tmux_rename(kind="session", id="old", new_name="new"), tmux_list(kind="window", scope="dev"). Valid kinds: kill โ†’ session/window/pane/server; rename โ†’ session/window; select/last/swap โ†’ window/pane; respawn โ†’ pane/window; list โ†’ session/window/client/buffer (tmux_list returns {items, kind}; panes have their own tmux_list_panes because they scope by window or session).

Live streaming (opt-in)

The one-shot CLI is the universal default. For watching a pane as it produces output โ€” a build, a tail, a long job โ€” tmux_stream_* opens a persistent control-mode (tmux -C) connection and lets you long-poll its event stream instead of repeatedly calling tmux_capture_pane:

Code
tmux_stream_start(session="work")          # -> {"stream_id": "cm-1a2b3c4d", ...}
tmux_stream_read("cm-1a2b3c4d", timeout=10, kinds=["output"])
#   -> blocks until output, then {"events": [{"type":"output","pane":"%0",
#                                             "data":"...","seq":42}], "cursor":42}
tmux_stream_stop("cm-1a2b3c4d")            # detaches; the session keeps running

tmux_stream_read auto-advances a cursor, so just call it again for the next batch; filter by pane and/or kinds ("output", "window-add", "layout-change", โ€ฆ). One connection is shared per (target, session) and tmux_stream_start is idempotent.

Read-only state is also exposed as MCP resources: tmux://sessions, tmux://{session}/windows, tmux://{window}/panes (local), plus target-aware variants tmux://{target}/sessions, tmux://{target}/{session}/windows, tmux://{target}/{window}/panes.

A typical agent flow:

Code
tmux_new_session(detached=True)            # -> {"id": "$0", "name": "0"}
tmux_send_keys("0", text="echo hi", enter=True)
tmux_capture_pane("0")                     # -> {"content": "... hi ..."}

Where send_keys text is evaluated

Read the full README โ†’View source on GitHub โ†’

Related MCP Servers

View all in Command Line View all alternatives
  • Tui MCP logoTui MCP

    What Chrome DevTools MCP is for the browser, tui-mcp is for the terminal. Launch, screenshot, and interact with any TUI app.

    ๐Ÿ–ฅ๏ธ Command Line2 views
    Compare vs Tui MCP โ†’
  • Pty MCP logoPty MCP

    Interactive PTY sessions for AI agents โ€” local shells, SSH with persistent sessions (ai-tmux daemon for attach/detach), and serial ports. Single Go binary, no tmux dependency.

    ๐Ÿ–ฅ๏ธ Command Line3 views
    Compare vs Pty MCP โ†’
  • MCP Ssh Manager logoMCP Ssh Manager

    Manage multiple SSH servers from one MCP: command execution, file transfer/rsync, database dump/import/query (MySQL/PostgreSQL/MongoDB), backups & restore, health monitoring, persistent sessions, tunnels, ProxyJump/bastion, and opt-in per-server security modes (readonly/restricted) with audit log. Linux, macOS & Windows OpenSSH.

    ๐Ÿ–ฅ๏ธ Command Line7 views
    Compare vs MCP Ssh Manager โ†’
  • Forge logoForge

    Terminal MCP server for AI coding agents with persistent PTY sessions, ring-buffer incremental reads, headless xterm screen capture, multi-agent orchestration, and a real-time web dashboard.

    ๐Ÿ–ฅ๏ธ Command Line4 views
    Compare vs Forge โ†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks โ€” not a rating.

GitHub stars
4
Stargazers on the source repository.
npm downloads
179
Package downloads in the last 30 days.
Last commit
2mo ago
Most recent push to the default branch.
Directory activity
2 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet โ€” be the first to share how this listing worked for you.

Frequently Asked Questions about MCP Tmux

Yes, it supports controlling tmux on remote hosts over SSH using ad-hoc user@host or named profiles.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Tmux AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/laszlopere-mcp-tmux?style=directory)](https://allmcps.com/mcp/laszlopere-mcp-tmux)
HTML Embed
<a href="https://allmcps.com/mcp/laszlopere-mcp-tmux"><img src="https://allmcps.com/api/badge/laszlopere-mcp-tmux?style=directory" alt="MCP Tmux on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿ–ฅ๏ธCommand Line
PricingFree
More technical detailsExpand โ–พ
TransportSTDIO
RuntimePython
AuthNo auth required
LicenseMIT
ClientsClaude Desktop
Last updatedAug 9, 2026
11/11 checks healthy over the last 33d
Views2
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars4
GitHub Star CountTotal stargazers on GitHub representing community popularity (4 stars).
Last commit2mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Jun 19, 2026
npm downloads179/mo
Monthly npm DownloadsAverage monthly package installs recorded from npm registry statistics.
53Quality signal: Good ยท 53/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools24/30
Adoption & activity6/15
Community engagement0/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 23d ago via OSV.dev ยท mcp-tmux (PyPI)

โ˜… FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 10,000+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server โ†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge โ€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it โ€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐Ÿ–ฅ๏ธ Command Line โ†’Best MCP servers for Command Line & Terminal โ†’Alternatives to MCP Tmux โ†’Install in Claude DesktopInstall in CursorInstall in VS Code