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. πŸ’» Developer Tools
  3. MCP Tmux
MCP Tmux logo
Health: ActiveRecent health check succeeded.Last checked 9/7/2026, 8:56:56 PM

MCP Tmux

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View RepositoryVisit Website

Model Context Protocol server that lets LLMs collaboratively drive tmux

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": {
    "mcp-tmux": {
      "command": "npx",
      "args": [
        "-y",
        "@k8ika0s/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 Developer Tools

Documentation Overview

mcp-tmux logo
Remote-first tmux co-pilot for humans + LLMs.

mcp-tmux

CI License: AGPL-3.0 Node Dependabot npm MCP Registry

Table of Contents

  • Quickstart (2 minutes)
  • Highlights
  • Prerequisites
  • Install & run
  • MCP client wiring (example)
  • Exposed tools
  • Collaborative workflow
  • How-to (verbose examples)
  • ChatGPT / Supergateway
  • Configuration
  • Safety notes
  • Tips for LLM prompts
  • CI, security, and governance
  • Developing
  • License

mcp-tmux is a Model Context Protocol server for people who learned the hard way that large language models are extremely confident about terminals they cannot actually see. It lets an LLM operate inside tmux with real, inspectable state instead of vibes, screenshots, or remembered lies. The server anchors the model to concrete reality: SSH-aware session discovery and bootstrapping, authoritative window and pane topology, and pull-based state snapshots so context is fetched when needed rather than hallucinated continuously. It can spawn or reattach to remote tmux sessions via your SSH config, inject keystrokes into the correct pane on purpose, read scrollback with full historical context, manage windows and splits deterministically, and enforce defaults so the model doesn’t calmly execute commands in a pane that stopped existing five minutes ago.

You need this if you want an LLM to assist in real terminals without pretending the terminal is a chat log. This is for pairing with an AI on live systems, debugging multi-pane chaos, automating the boring parts while you handle the judgment calls, or letting a model help without giving it omnipotent shell access and hoping nothing exciting happens. mcp-tmux exists to replace guesswork with state, narration with observation, and β€œI think you’re in the left pane” with provable fact.

Disclaimer: reasonable engineering effort has been applied to reduce the probability of reality-ending command execution. Guardrails exist. So do sharp edges. If something catastrophic happens, it will almost certainly be because a human approved it, ignored context, or decided this was a good idea at the time. Logs are kept. History remembers. Responsibility remains firmly biological.

Quickstart (2 minutes)

  1. Install & build:
Terminal
npm install
npm run build
  1. Run with sensible defaults:
bash
MCP_TMUX_HOST=my-ssh-alias MCP_TMUX_SESSION=collab npx @k8ika0s/mcp-tmux
  1. In your MCP client, call:
Code
tmux_open_session β†’ tmux_default_context β†’ tmux_list_windows / tmux_list_panes β†’ tmux_send_keys β†’ tmux_capture_pane
  1. Re-ground anytime with tmux_state.

Highlights

  • Remote-first: give it an SSH alias + session name and it will create or reconnect the remote tmux session for you.
  • Collaborative: you and the model can attach to the same tmux; new windows/panes get LLM-friendly labels.
  • Complete control: list, capture, send keys, manage windows/panes/sessions, or fall back to raw tmux commands when needed.
  • Safety in the loop: destructive calls require confirm=true; defaults keep the model from mis-targeting panes.
  • Observability: logging back to the client plus a tmux_state snapshot that includes recent scrollback.
  • Tasks-ready: built-in MCP task helpers for tailing, watching, and waiting on patterns.

Capability map

PillarWhat it covers
Remote orchestrationtmux_open_session, SSH-aware tmux spawn/attach, PATH/tmux-bin overrides, host profiles
Grounded controltmux_state, tmux_capture_pane, tmux_list_*, default targets, pane/window labels
Collaborationtmux_new_window, tmux_split_pane, sync panes, layout capture/restore, layout profiles
Safetyconfirm=true on destructive calls, logging + audit logs, defaults to avoid mis-targeting
Automationtmux_multi_run, tail/pattern/watch tasks, fan-out capture/tail/pattern modes

Prerequisites

  • tmux available on PATH (override with TMUX_BIN=/path/to/tmux). For remote flows, tmux must be installed on the remote host.
  • Node.js 18+.
  • SSH access to the target host(s) using config aliases (the host parameter is the ssh config Host).

Install & run

Terminal
npm install
npm run build
MCP_TMUX_HOST=my-ssh-alias MCP_TMUX_SESSION=collab npx @k8ika0s/mcp-tmux  # optional defaults

# Version check
mcp-tmux --version

During development you can use hot reload:

Terminal
npm run dev

MCP client wiring (example)

Add to your MCP client config (example for Claude Desktop/CLI style):

config.json
{
  "servers": {
    "tmux": {
      "command": "npx",
      "args": ["@k8ika0s/mcp-tmux"],
      "env": {
        "MCP_TMUX_HOST": "my-ssh-alias",   // optional default host
        "MCP_TMUX_SESSION": "collab"       // optional default session
      }
    }
  }
}

SSH quality-of-life: consider enabling ControlMaster/ControlPersist in your ssh config for faster repeated ssh -T <host> tmux ... invocations.

Exposed tools

  • tmux_open_session: Ensure a remote tmux session exists (create if missing) given host (ssh alias) and session, and set them as defaults.
  • tmux_default_context: Shows detected default session and a quick session listing.
  • tmux_state: Snapshot sessions, windows, panes, and capture of the active/default pane.
  • tmux_set_default / tmux_get_default: Persist or view default host/session/window/pane.
  • tmux_capture_layout / tmux_restore_layout: Save and re-apply window layouts.
  • tmux_tail_pane: Poll a pane repeatedly to follow output without reissuing commands.
  • tmux_tail_task: Task-based tail with polling over time (client polls task results).
  • tmux_select_window / tmux_select_pane: Change focus targets explicitly.
  • tmux_set_sync_panes: Toggle synchronize-panes for a window.
  • tmux_save_layout_profile / tmux_apply_layout_profile: Persist and re-apply layout profiles by name.
  • tmux_readonly_state: Snapshot sessions/windows/panes/capture without touching defaults.
  • tmux_batch_capture: Capture multiple panes in parallel for faster context gathering.
  • tmux_run_batch: Run multiple commands in one call in the same pane (uses && by default, or ;/newline via joinWith for heredocs), auto-clean the prompt (bash/zsh: Ctrl+C then Ctrl+U) before writes by default (cleanPrompt=true), and auto-captures output with paging (starts ~20 lines, grows if needed).
  • tmux_send_keys: Send keys (supports <SPACE>, <ENTER>, <TAB>, <ESC> tokens; empty + enter=true sends Enter).
  • tmux_health: Quick health check (tmux reachable, session listing, host profile info).
  • tmux_context_history: Pull recent scrollback (pane or session) and extract recent commands.
  • tmux_quickstart: Return a concise playbook/do-don’t block for the LLM.
  • tmux_multi_run: Fan-out send + capture/tail/pattern to multiple hosts/panes.
  • Resource: tmux_state_resource (URI tmux://state/default) returns the current default snapshot on read.
  • Logging: session logs are appended under ~/.config/mcp-tmux/logs/{host}/{session}/YYYY-MM-DD.log (override with MCP_TMUX_LOG_DIR).
  • Audit logging: enable per-session via tmux_set_audit_logging to log commands and outputs verbosely (may grow large).
  • tmux_list_sessions: Enumerate sessions with window/attach counts.
  • tmux_list_windows: List windows (optionally scoped to a session).
  • tmux_list_panes: List panes (optionally scoped to a target).
  • tmux_capture_pane: Read scrollback from a pane (defaults to last ~200 lines).
  • tmux_send_keys: Send keystrokes to a pane, optionally with Enter.
  • tmux_new_session: Create a detached session to collaborate in.
  • tmux_new_window: Create a window inside a session.
  • tmux_split_pane: Split a pane horizontally/vertically, optionally with a command.
  • tmux_kill_session, tmux_kill_window, tmux_kill_pane: Tear down targets (require confirm=true).
  • tmux_rename_session, tmux_rename_window: Rename targets.
  • tmux_command: Raw access to any tmux command/flags for advanced cases.

Targets accept standard tmux notation: session, session:window, session:window.pane, or pane/window IDs. Most tools also accept an optional host (ssh alias) and will fall back to MCP_TMUX_HOST or whatever tmux_open_session last set.

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

Related MCP Servers

View all in Developer Tools View all alternatives
  • PraisonAI logoPraisonAI

    AI Agents Framework with Self Reflection and MCP support

    πŸ’» Developer Tools1 views
    Compare vs PraisonAI β†’
  • Labelhead Artist Momentum logoLabelhead Artist Momentum

    Trending hip-hop artist momentum scores across four cultural dimensions.

    πŸ’» Developer Tools0 views
    Compare vs Labelhead Artist Momentum β†’
  • Ignite UI MCP Server logoIgnite UI MCP Server

    Unified MCP server for Ignite UI β€” documentation, API, and CLI scaffolding

    πŸ’» Developer Tools1 views
    Compare vs Ignite UI MCP Server β†’
  • Edu Base MCP logoEdu Base MCP

    The EduBase MCP server enables Claude and other LLMs to interact with EduBase's comprehensive e-learning platform through the Model Context Protocol (MCP).

    πŸ’» Developer Tools1 views
    Compare vs Edu Base MCP β†’

Reviews

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

Frequently Asked Questions about MCP Tmux

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "mcp-tmux": { "command": "npx", "args": ["-y", "mcp-tmux"] } }

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/mcp-tmux?style=directory)](https://allmcps.com/mcp/mcp-tmux)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-tmux"><img src="https://allmcps.com/api/badge/mcp-tmux?style=directory" alt="MCP Tmux on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’»Developer Tools
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Last updatedSep 7, 2026
Views0
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 stars0
GitHub Star CountTotal stargazers on GitHub representing community popularity (0 stars).
35Quality signal: Fair Β· 35/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 & tools15/30
Adoption & activity1/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.

β˜… 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 πŸ’» Developer Tools β†’Best MCP servers for Developers β†’Alternatives to MCP Tmux β†’Install in Claude DesktopInstall in CursorInstall in VS Code