Atlas / MCP servers / nickgnd / Tmux

TmuxBLOCK

mcp/nickgnd/tmux

A MCP server for our beloved terminal multiplexer tmux.

Verdict
BLOCK
Grade
D
Trust score
69 /100
Exposed tools
13 7r · 3w · 3d
Transport
stdio
License
MIT
Stars
303
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

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!

[](https://www.youtube.com/watch?v=3W0pqRF1RS0)

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 verticall
Read from source at commit 5e945414196aOBSERVED · 2026-10-05
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add tmux-mcp -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "tmux-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ]
    }
  }
}
03

Exposed tools (13)

7 read · 3 write · 3 destructive. Blast radius: 3 tools can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
capture-panereadCapture content from a tmux pane with configurable lines count and optional color preservation
create-sessionwriteCreate a new tmux session
create-windowwriteCreate a new window in a tmux session
execute-commandwriteExecute a command in a tmux pane and get results. For interactive applications (REPLs, editors), use
find-sessionreadFind a tmux session by name
get-command-resultreadGet the result of an executed command
kill-panedestructiveKill a tmux pane by ID
kill-sessiondestructiveKill a tmux session by ID
kill-windowdestructiveKill a tmux window by ID
list-panesreadList panes in a tmux window
list-sessionsreadList all active tmux sessions
list-windowsreadList windows in a tmux session
split-panereadSplit a tmux pane horizontally or vertically
04

Trust audit

BLOCKgrade D · trust 69/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (1 observation(s))
Network
none-observed
Shell
declared (1 observation(s))
Dependencies
not all pinned
Secrets in source
none-found

Findings (3)

HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
src/tmux.ts:60
const { stdout } = await exec(`tmux ${tmuxCommand}`);
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
kill-pane, kill-session, kill-window
Why it matters. 3 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, uuid, zod, @types/node, @types/uuid, typescript
Why it matters. 6 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-05 · audit v0.4.1 · source sha 5e945414196afull audit observations/trust-audit/mcp-server/nickgnd__tmux.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-055e945414196aBLOCKD69first audit
06

Questions

What is the Tmux MCP server?

A MCP server for our beloved terminal multiplexer tmux.

What tools does Tmux expose?

13 in total: 7 read-only, 3 that write, and 3 that can delete or overwrite (kill-pane, kill-session, kill-window). Every one is listed on this page with its risk.

Is Tmux safe to connect to an agent?

No — not without reading the findings first. The audit graded it D (69/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 3 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does Tmux need?

No credential environment variables were found in its source, so it appears to need none.

How does Tmux run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as tmux-mcp at 0.2.2.

How current is this page?

The grade is for one exact copy of the source (5e945414196a), read on 2026-10-05. The repository is watched and re-audited when it changes.

Advertisement