Cmux MCP Server

cmux-mcp npm v1.3.1

Published by daegweon — no publish provenance, so origin is unverified, but the source is public: the repository link below is self-declared yet readable, so you can inspect the code before adopting it.

A Model Context Protocol server that provides access to the currently active tab of cmux

Trust grade
A
93/100
Last scanned get badge →
Trust
A · 93/100
Adoption risk for you: the threat score, then adjusted down for blast radius, publisher verification and how much the scan could see. Deterministic; every point is auditable.
Capability
High
Blast radius if it went rogue — what the server’s tools could reach. Independent of trust.
Coverage
Source
How much the scan could actually inspect. Shallow coverage is stated, never hidden.
Share this Trust Score
𝕏 Share LinkedIn Reddit
A Why this grade threat 100 − adoption risk = 93/100

The grade answers one question — how safe is this server for you to adopt — so it is computed in two auditable stages. Nothing below is an opinion or an LLM's guess; every line is a real term the deterministic engine applied, and the same input always yields the same number.

1. Threat score — 100 − 0 = 100. What the published surface and source actually contain:

The deterministic scan raised no scored threat in the surface it inspected — the threat score stayed at 100. Capability observations and advisory notes are recorded but never lower it.

2. Client adoption risk — 100 − 7 = 93. Three small, subtract-only factors that reflect your risk in adopting it — a clean scan proves less on a powerful, unverified or barely-inspectable package, so the grade says so plainly:

PointsAdoption-risk factor
−6 capability blast radius (high) — client exposure if the model is manipulated
−1 publisher verification (public source) — no provenance, but the source is public and inspectable

Capability observations and info notes are shown under Findings but never scored. Open any row's finding below for the file, line and evidence behind a deduction.

Findings 21

high Tool "write_to_terminal" exposes command/code executionMTC-CAP-001

Tool "write_to_terminal" appears to run shell commands or evaluate code (parameter "command"). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.

Fix: Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.

Location: tool write_to_terminal

high Tool "new_workspace" exposes command/code executionMTC-CAP-001

Tool "new_workspace" appears to run shell commands or evaluate code (parameter "command"). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.

Fix: Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.

Location: tool new_workspace

high Tool "respawn_pane" exposes command/code executionMTC-CAP-001

Tool "respawn_pane" appears to run shell commands or evaluate code (parameter "command"). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.

Fix: Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.

Location: tool respawn_pane

high Tool "pipe_pane" exposes command/code executionMTC-CAP-001

Tool "pipe_pane" appears to run shell commands or evaluate code (parameter "command"). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.

Fix: Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.

Location: tool pipe_pane

high Tool "set_hook" exposes command/code executionMTC-CAP-001

Tool "set_hook" appears to run shell commands or evaluate code (parameter "command"). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.

Fix: Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.

Location: tool set_hook

high Shell/command execution in server code (build/CommandExecutor.js)MTC-SRC-002

In the server's implementation (`build/CommandExecutor.js:1`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ort { exec } from 'node:child_process'; import { promisify } from 'node:util'; import { openSync, closeSync } from 'node

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server build/CommandExecutor.js

high Shell/command execution in server code (build/ProcessTracker.js)MTC-SRC-002

In the server's implementation (`build/ProcessTracker.js:1`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: import { exec } from 'child_process'; import { promisify } from 'util'; import { existsSync } from 'fs'; import { base

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server build/ProcessTracker.js

high Shell/command execution in server code (build/SendControlCharacter.js)MTC-SRC-002

In the server's implementation (`build/SendControlCharacter.js:1`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ort { exec } from 'node:child_process'; import { promisify } from 'node:util'; import { CMUX_BIN } from './cmux-path.js'

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server build/SendControlCharacter.js

high Shell/command execution in server code (build/TtyOutputReader.js)MTC-SRC-002

In the server's implementation (`build/TtyOutputReader.js:1`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ort { exec } from 'node:child_process'; import { promisify } from 'node:util'; import { CMUX_BIN } from './cmux-path.js'

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server build/TtyOutputReader.js

high Shell/command execution in server code (build/cmux-path.js)MTC-SRC-002

In the server's implementation (`build/cmux-path.js:1`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ecFileSync } from 'node:child_process'; import { existsSync } from 'node:fs'; function resolveCmuxBin() { // 1. Envi

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server build/cmux-path.js

high Shell/command execution in server code (build/index.js)MTC-SRC-002

In the server's implementation (`build/index.js:5`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ort { exec } from 'node:child_process'; import { promisify } from 'node:util'; import CommandExecutor from "./CommandExe

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server build/index.js

medium Unconstrained command parameter "command" on "write_to_terminal"MTC-CAP-006

Tool "write_to_terminal" takes a command-shaped parameter "command" with no enum/pattern constraint. Free-form, model- or attacker-controlled arguments reaching a shell is the command-injection precondition.

Fix: Constrain the parameter (enum/pattern), or build the command from a fixed template with escaped args.

Location: tool write_to_terminal · inputSchema.properties.command

medium Unconstrained command parameter "command" on "new_workspace"MTC-CAP-006

Tool "new_workspace" takes a command-shaped parameter "command" with no enum/pattern constraint. Free-form, model- or attacker-controlled arguments reaching a shell is the command-injection precondition.

Fix: Constrain the parameter (enum/pattern), or build the command from a fixed template with escaped args.

Location: tool new_workspace · inputSchema.properties.command

medium Unconstrained command parameter "command" on "respawn_pane"MTC-CAP-006

Tool "respawn_pane" takes a command-shaped parameter "command" with no enum/pattern constraint. Free-form, model- or attacker-controlled arguments reaching a shell is the command-injection precondition.

Fix: Constrain the parameter (enum/pattern), or build the command from a fixed template with escaped args.

Location: tool respawn_pane · inputSchema.properties.command

medium Unconstrained command parameter "command" on "pipe_pane"MTC-CAP-006

Tool "pipe_pane" takes a command-shaped parameter "command" with no enum/pattern constraint. Free-form, model- or attacker-controlled arguments reaching a shell is the command-injection precondition.

Fix: Constrain the parameter (enum/pattern), or build the command from a fixed template with escaped args.

Location: tool pipe_pane · inputSchema.properties.command

medium Unconstrained command parameter "command" on "set_hook"MTC-CAP-006

Tool "set_hook" takes a command-shaped parameter "command" with no enum/pattern constraint. Free-form, model- or attacker-controlled arguments reaching a shell is the command-injection precondition.

Fix: Constrain the parameter (enum/pattern), or build the command from a fixed template with escaped args.

Location: tool set_hook · inputSchema.properties.command

low Mutating tool "write_to_terminal" declares no destructiveHintMTC-CAP-005

Tool "write_to_terminal" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.

Fix: Declare accurate annotations, and gate destructive tools on user confirmation regardless.

Location: tool write_to_terminal

low Mutating tool "new_workspace" declares no destructiveHintMTC-CAP-005

Tool "new_workspace" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.

Fix: Declare accurate annotations, and gate destructive tools on user confirmation regardless.

Location: tool new_workspace

low Mutating tool "respawn_pane" declares no destructiveHintMTC-CAP-005

Tool "respawn_pane" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.

Fix: Declare accurate annotations, and gate destructive tools on user confirmation regardless.

Location: tool respawn_pane

low Mutating tool "pipe_pane" declares no destructiveHintMTC-CAP-005

Tool "pipe_pane" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.

Fix: Declare accurate annotations, and gate destructive tools on user confirmation regardless.

Location: tool pipe_pane

low Mutating tool "set_hook" declares no destructiveHintMTC-CAP-005

Tool "set_hook" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.

Fix: Declare accurate annotations, and gate destructive tools on user confirmation regardless.

Location: tool set_hook

Tools 72

Each tool and what it can reach — statically extracted from the published source.

  • new_workspaceruns code / shell
  • pipe_paneruns code / shell
  • respawn_paneruns code / shell
  • set_hookruns code / shell
  • write_to_terminalruns code / shell
  • break_paneno sensitive capability
  • browserno sensitive capability
  • capture_paneno sensitive capability
  • clear_historyno sensitive capability
  • clear_logno sensitive capability
Show 62 more tools ↓
  • clear_notificationsno sensitive capability
  • clear_progressno sensitive capability
  • clear_statusno sensitive capability
  • close_surfaceno sensitive capability
  • close_windowno sensitive capability
  • close_workspaceno sensitive capability
  • current_windowno sensitive capability
  • current_workspaceno sensitive capability
  • display_messageno sensitive capability
  • drag_surface_to_splitno sensitive capability
  • find_windowno sensitive capability
  • focus_paneno sensitive capability
  • focus_panelno sensitive capability
  • focus_surfaceno sensitive capability
  • focus_windowno sensitive capability
  • identifyno sensitive capability
  • join_paneno sensitive capability
  • last_paneno sensitive capability
  • last_windowno sensitive capability
  • list_buffersno sensitive capability
  • list_logno sensitive capability
  • list_notificationsno sensitive capability
  • list_panelsno sensitive capability
  • list_panesno sensitive capability
  • list_statusno sensitive capability
  • list_surfacesno sensitive capability
  • list_windowsno sensitive capability
  • list_workspacesno sensitive capability
  • logno sensitive capability
  • markdown_openno sensitive capability
  • move_surfaceno sensitive capability
  • move_workspace_to_windowno sensitive capability
  • new_paneno sensitive capability
  • new_splitno sensitive capability
  • new_surfaceno sensitive capability
  • new_windowno sensitive capability
  • next_windowno sensitive capability
  • notifyno sensitive capability
  • paste_bufferno sensitive capability
  • pingno sensitive capability
  • previous_windowno sensitive capability
  • read_terminal_outputno sensitive capability
  • refresh_surfacesno sensitive capability
  • rename_tabno sensitive capability
  • rename_windowno sensitive capability
  • rename_workspaceno sensitive capability
  • reorder_surfaceno sensitive capability
  • reorder_workspaceno sensitive capability
  • resize_paneno sensitive capability
  • select_workspaceno sensitive capability
  • send_control_characterno sensitive capability
  • set_app_focusno sensitive capability
  • set_bufferno sensitive capability
  • set_progressno sensitive capability
  • set_statusno sensitive capability
  • sidebar_stateno sensitive capability
  • surface_healthno sensitive capability
  • swap_paneno sensitive capability
  • treeno sensitive capability
  • trigger_flashno sensitive capability
  • versionno sensitive capability
  • wait_forno sensitive capability

What this scan could not see

Versions 1

Scan history per published version. The engine is deterministic — the same version always yields the same score, so a changed score means the package itself changed.

VersionScoreFindingsEngineScanned
v1.3.1 latest A 93/100 21 1.13.0 2026-09-09

Embed this score

Show this server's live Trust Score in your README, docs or website. The badge is served straight from the registry and updates automatically after every rescan — no API key needed. It links back to this page, so anyone who sees the grade can also read the findings behind it instead of taking a number on faith.

MCP Trust Score: A · 93/100
Markdown (GitHub README)
[![MCP Trust Score](https://mcptrustchecker.com/registry/cmux-mcp/badge.svg)](https://mcptrustchecker.com/registry/cmux-mcp)
HTML
<a href="https://mcptrustchecker.com/registry/cmux-mcp"><img src="https://mcptrustchecker.com/registry/cmux-mcp/badge.svg" alt="MCP Trust Score" height="20"></a>
Prefer shields.io styling? Point it at https://mcptrustchecker.com/registry/cmux-mcp/badge.json via https://img.shields.io/endpoint?url=…

Verify this score yourself

The score above is reproducible: the same package version always yields the same result. Run it locally or over the free API — no account, no LLM, fully deterministic.

npx mcptrustchecker scan cmux-mcp --online

Use the free API → How scoring works

More in Developer Tools