# tmux-mcp (npm · @fr1sk/tmux-mcp)

MCP server for tmux — browse sessions, capture output, send commands.

- Trust score: 66/100 (medium)
- Change this week: +23
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-07

## Components

- npm · `@fr1sk/tmux-mcp`: 66/100 (this document), [markdown](https://verifymcp.io/servers/fr1sk-tmux-mcp/fr1sk-tmux-mcp.md), [page](https://verifymcp.io/servers/fr1sk-tmux-mcp/fr1sk-tmux-mcp)

## Channel facts

- Registry: `npm`
- Package: `@fr1sk/tmux-mcp`
- Version: `0.3.3`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-07.

- **Supply Chain Security**: 87/100
  - No malware found by supply-chain analysis.
  - Known CVEs were checked across the 95 of 99 dependencies we could resolve, so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Dependency health was assessed across the 95 of 99 dependencies we could resolve, so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 19/100
  - Repository check failed: the declared repository URL redirects; it must resolve directly.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 93 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 77/100
  - AI-judged instruction clarity (excellent).
  - Tool/resource definitions use about 1368 tokens (~97/item across 14 items; 14 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 40/100
  - Stability observed for 12 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add fr1sk-tmux-mcp -- npx -y @fr1sk/tmux-mcp
```

### Codex

```bash
codex mcp add fr1sk-tmux-mcp -- npx -y @fr1sk/tmux-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "fr1sk-tmux-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@fr1sk/tmux-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add fr1sk-tmux-mcp --command npx --arg -y --arg @fr1sk/tmux-mcp
```

### Hermes

```yaml
mcp_servers:
  fr1sk-tmux-mcp:
    command: "npx"
    args: ["-y", "@fr1sk/tmux-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "fr1sk-tmux-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@fr1sk/tmux-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-06 (score 66, +1)

No change was recorded against any check on this day. Stability & Change Management went from 33 to 37. That category is still filling its 30-day observation window: 10 days of observed history at the previous scan, 11 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-08-04 (score 65, +5)

- [functional improvement] Stability: unverified → 0.30

### 2026-08-02 (score 60, +45)

- [security regression] Provenance: unverified → fail
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Install scripts: unverified → pass
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional regression] Security disclosure: fail → unverified
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] License: unverified → pass
- [functional improvement] Tool coverage: unverified → 100
- [functional] Licence: MIT

### 2026-08-01 (score 15, −28)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-31 (score 43, +3)

- [security regression] Provenance: unverified → fail
- [security regression] Malware scan: pass → unverified
- [security improvement] Install scripts: unverified → pass
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] License: unverified → pass
- [functional improvement] Schema quality: unverified → excellent
- [functional] Licence: MIT

### 2026-07-29 (score 40, +20)

- [functional regression] Dependency health: partial → unverified
- [functional improvement] Tool coverage: unverified → 100

### 2026-07-28 (score 20, −20)

- [functional regression] Tool coverage: 100 → unverified
- [functional improvement] Dependency health: unverified → partial
- [functional] First check of Schema quality: unverified

### 2026-07-27 (score 40)

First indexed and scored.

## MCP tools (14)

### `list_sessions` (~124 tokens)

List all active tmux sessions. Returns session name, window count, creation time, and attached status. WHEN TO CALL: Call this immediately whenever the user mentions tmux, asks to attach a session, wants to see terminal output, check logs, run a command in a pane, or interact with any running process. Do not answer from memory — always call this tool first to get live state. WORKFLOW: After getting sessions, ask the user which session, call list_windows, ask which window, call list_panes, ask which pane, then call capture_pane.

### `list_windows` (~67 tokens)

List all windows in a tmux session. Returns window index, name, pane count, and active status. If there is only one window, auto-select it without asking. If multiple, ask the user which window to use.

Input parameters:

- `session` (string, required): Session name (from list_sessions)

### `list_panes` (~107 tokens)

List panes in a tmux target. Pass a session name ('work') or session:window ('work:0'). When only a session name is passed, lists all panes across all windows in that session. Returns pane index, size, active status, and running command. If there is only one pane, auto-select it without asking. If multiple, present them as choices and ask the user which pane to use.

Input parameters:

- `target` (string, required): Session name or 'session:window'

### `capture_pane` (~179 tokens)

Capture current output of a tmux pane. Target format: 'session:window.pane' (e.g. 'work:0.0'). Use list_sessions → list_windows → list_panes to build the target. WARNING: pane output may contain environment variables, API keys, tokens, and credentials — do not call if the pane may contain sensitive data unless the user has confirmed it is safe. AFTER displaying the output, always ask the user what to do next with these options: Refresh (call capture_pane again), Send command (ask what command then call send_keys), Switch pane (restart from list_sessions), Done (stop). Loop until the user picks Done.

Input parameters:

- `lines` (integer): Lines of scrollback to include (default: 150)
- `target` (string, required): Pane target: 'session:window.pane'

### `send_keys` (~232 tokens)

Send keys or a command to a tmux pane, then capture its output. Target format: 'session:window.pane'. Use enter=false for raw tmux key sequences like 'C-c', 'Escape', or arrow keys — these are not shell commands and must not have Enter appended. Use enter=true (default) for shell commands. Set wait_ms higher for long-running commands; 0 captures immediately before output appears. WARNING: this executes arbitrary commands in your shell — only use with trusted input.

Input parameters:

- `capture_lines` (integer): Lines to capture after sending (default: 50)
- `enter` (boolean): Press Enter after keys (default: true). Set false for raw key sequences like C-c, Escape, arrow keys.
- `keys` (string, required): Command or key sequence (tmux notation: 'C-c', 'Escape', 'Up', etc.)
- `target` (string, required): Pane target: 'session:window.pane'
- `wait_ms` (integer): Milliseconds to wait before capturing (default: 400). Set higher for slow commands, 0 to capture immediately.

### `new_session` (~89 tokens)

Create a new detached tmux session. Before calling, use list_sessions to check whether a session with the requested name already exists.

Input parameters:

- `command` (string): Shell command to run immediately in the first window. WARNING: executes in your shell.
- `cwd` (string): Working directory for the session.
- `name` (string): Session name. Omit to let tmux auto-assign one.

### `new_window` (~74 tokens)

Create a new window in an existing tmux session.

Input parameters:

- `command` (string): Shell command to run immediately. WARNING: executes in your shell.
- `cwd` (string): Working directory for the new window.
- `name` (string): Window name.
- `session` (string, required): Session name to create the window in.

### `split_pane` (~156 tokens)

Split a tmux pane horizontally or vertically. 'horizontal' = left/right panes side by side. 'vertical' = top/bottom panes stacked. Target format: 'session:window.pane' or 'session:window'.

Input parameters:

- `command` (string): Shell command to run in the new pane. WARNING: executes in your shell.
- `cwd` (string): Working directory for the new pane.
- `direction` (string): 'horizontal' splits left/right, 'vertical' splits top/bottom (default: horizontal)
- `size` (integer): Size of the new pane as a percentage (e.g. 50).
- `target` (string, required): Target pane or window to split: 'session:window.pane'

### `kill_session` (~47 tokens)

Kill a tmux session and all its windows and panes. ALWAYS confirm with the user before calling — this is destructive and cannot be undone.

Input parameters:

- `session` (string, required): Session name to kill.

### `kill_window` (~56 tokens)

Kill a tmux window and all its panes. ALWAYS confirm with the user before calling — this is destructive and cannot be undone. Target format: 'session:window'.

Input parameters:

- `target` (string, required): Window target: 'session:window'

### `kill_pane` (~62 tokens)

Kill a tmux pane and terminate its running process. ALWAYS confirm with the user before calling — this is destructive and cannot be undone. Target format: 'session:window.pane'.

Input parameters:

- `target` (string, required): Pane target: 'session:window.pane'

### `rename_session` (~36 tokens)

Rename an existing tmux session.

Input parameters:

- `new_name` (string, required): New session name.
- `session` (string, required): Current session name.

### `rename_window` (~50 tokens)

Rename a window in a tmux session. Target format: 'session:window'.

Input parameters:

- `new_name` (string, required): New window name.
- `target` (string, required): Window target: 'session:window'

### `get_config` (~89 tokens)

Returns the current tmux-mcp configuration: whether tmux is installed, the default session name, and whether the agent is configured to always route shell commands through tmux. Call this at the start of any task to check how the agent should behave. If alwaysUseTmux is true, route all shell commands through send_keys in the configured session instead of direct Bash for the remainder of the task.

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/fr1sk-tmux-mcp/fr1sk-tmux-mcp#diagnostics

## Score history

- 2026-08-07: 66
- 2026-08-06: 66
- 2026-08-05: 65
- 2026-08-04: 65
- 2026-08-03: 60
- 2026-08-02: 60
- 2026-08-01: 15
- 2026-07-31: 43
- 2026-07-29: 40
- 2026-07-28: 20
- 2026-07-27: 40

## Links

- npm package: https://www.npmjs.com/package/@fr1sk/tmux-mcp
- Socket report: https://socket.dev/npm/package/@fr1sk/tmux-mcp
- Changelog RSS feed: https://verifymcp.io/servers/fr1sk-tmux-mcp/fr1sk-tmux-mcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/fr1sk-tmux-mcp/fr1sk-tmux-mcp.json
- HTML version of this page: https://verifymcp.io/servers/fr1sk-tmux-mcp/fr1sk-tmux-mcp
