Atlas / MCP servers / etanhey / cmuxlayer

cmuxlayerBLOCK

mcp/etanhey/cmuxlayer

10 public MCP tools for controlling cmux workspaces and managing Claude, Codex, Gemini, Kiro, and Cursor agents.

Verdict
BLOCK
Grade
F
Trust score
57 /100
Exposed tools
10 8r · 2w · 0d
Transport
stdio
License
Apache-2.0
Stars
28
01

Overview

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

cmuxLayer exposes a 10-tool public MCP surface for controlling cmux terminal workspaces and managing CLI agents.

[](#quick-start) [](LICENSE) [](https://modelcontextprotocol.io) [](#testing)

Quick start

brew install etanhey/layers/cmuxlayer       # stable, pinned release
brew install --HEAD etanhey/layers/cmuxlayer # or: dogfood the latest main

This installs the cmuxlayer command plus cmuxlayer-app-server and cmuxlayer-proxy. cmux must be running. For fleet wiring, versions, dogfooding, and the CMUX_SOCKET_PATH pin, see docs/guides/releases-and-brew.md.

Then set up this machine:

cmuxlayer init

The wizard selects spawnable repositories, per-repo launchers or direct CLI launches, and approval behavior. It writes ~/.config/cmuxlayer/env.sh and, in launcher mode, a launcher registry. cmuxlayer reads both at startup, including when an MCP client starts it from a GUI. The wizard asks before replacing a file and creates a backup first.

For scripted installs, pass --yes with --repo =. cmuxlayer does not assume a fixed repository layout. See docs/guides/fresh-install.md for the walkthrough and docs/guides/registry-optional-spawn.md for how each lane behaves.

Raise the open-files limit for agent CLIs

Agent CLIs open many files, while macOS login shells can start with a low soft open-files limit. If you use repoGolem launc

Read from source at commit 71edd61491beOBSERVED · 2026-10-08
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. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add site --env CMUX_SOCKET_PASSWORD=${CMUX_SOCKET_PASSWORD} -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "site": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "CMUX_SOCKET_PASSWORD": "${CMUX_SOCKET_PASSWORD}"
      }
    }
  }
}
03

Exposed tools (10)

8 read · 2 write · 0 destructive.

ToolRiskDescription
close_surfacereadClose one surface, managed agent, or workspace with live-agent guards. scope=
control_healthreadReport terse control-path health by default; pass detail=full for diagnostics.
list_agentsread
list_surfacesreadList workspace, pane, and surface topology. Condensed by default; verbose=true adds raw cmux fields.
read_screenreadRead a terminal screen and parsed harness status. Use raw=true for full text or parsed_only=true for monitoring.
report_to_parentreadRaise a short blocker to this managed agent
send_towrite
spawn_agentreadSpawn a managed agent or terminal, or resume a captured agent on a fresh surface preserving its ID. Resume: {resume_agent_id:\
update_surfacewriteMove or rename one terminal surface.
wait_forreadBlock until one agent_id or every agent in ids reaches a target registry state and return health. Defaults to waiting for completion (
04

Trust audit

BLOCKgrade F · trust 57/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 surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (5 observation(s))
Network
declared (6 observation(s))
Shell
declared (6 observation(s))
Dependencies
not all pinned
Secrets in source
found

Findings (25)

HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
scripts/bench-e2e.mjs:1712
const windowsOut = await exec(config.cmuxBin, listWindowsCliArgs(), {
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
scripts/bench-e2e.mjs:1733
const output = await exec(
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
scripts/bench-e2e.mjs:1812
const panesOut = await exec(
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
scripts/bench-e2e.mjs:1826
exec(config.cmuxBin, listPaneSurfacesCliArgs(workspace, pane), {
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
scripts/bench-e2e.mjs:1836
await exec(config.cmuxBin, listPaneSurfacesCliArgs(workspace, pane), {
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
launchd/cmux-ram-sampler/launchd/com.golems.cmux-ram-sampler.plist:34
<string>http://127.0.0.1:3847/notify</string>
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
tests/cmux-socket-client.test.ts:1989
const token = "test-reconnect-capability";
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
tests/control-health.test.ts:116
const token = "test-health-capability";
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
tests/hosted-capability.test.ts:14
const token = "PRIVATE_SYNTHETIC_CAPABILITY_RUN";
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
tests/ratchet-live.test.ts:64
const token = "RATCHET_SYNTHETIC_UNIQUE_RUN";
LOWInventory / provenance · inv.hidden_file · CWE-1104
.deepsource.toml
.deepsource.toml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.suspicious_name · CWE-1104
tests/fixtures/gemini-antigravity/typed-unsubmitted-wrapped-payload-pro-high.txt
typed-unsubmitted-wrapped-payload-pro-high.txt
Why it matters. member named after an attack tool
Fix. remove or justify
LOWInventory / provenance · inv.suspicious_name · CWE-1104
tests/fixtures/painpoints/multiline-payload-premature-submit.json
multiline-payload-premature-submit.json
Why it matters. member named after an attack tool
Fix. remove or justify
LOWInventory / provenance · inv.suspicious_name · CWE-1104
tests/payload-slim.test.ts
payload-slim.test.ts
Why it matters. member named after an attack tool
Fix. remove or justify
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
scripts/acceptance-registry-liveness.mjs:8
//   4. RC4  — all N stay registered (the resync sweep is automatic now)
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
scripts/acceptance-registry-liveness.mjs:9
//   5. RC4  — send_to(agent_id) MUST deliver to each (still registry-addressable)
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
scripts/acceptance-registry-liveness.mjs:751
// 4. RC4 — still registered + addressable. The resync sweep is automatic;
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
scripts/acceptance-registry-liveness.mjs:757
// 5. RC4 — send_to each must deliver
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
tests/agent-registry.test.ts:3353
it("RC4: preserves live pending sibling seats on different surfaces during repair", async () => {
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
launchd/cmux-contract-nightly/bin/cmux-contract-nightly.sh:5
default_repo="$(cd "${script_dir}/../../.." && pwd)"
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
scripts/xmac/launcher-preflight.mjs:18
const { loadLauncherRegistrySnapshot, resolveLauncherNameFromRegistry, resolveRepoRootFromLauncherRegistry } = registry ?? await import("../../dist/launcher-registry.js");
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
scripts/xmac/live.mjs:68
const { parseScreen } = await import("../../dist/screen-parser.js");
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
scripts/xmac/target-client.mjs:42
const { deriveRoleColumnIndex } = await import("../../dist/layout-policy.js");
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
scripts/xmac/target-client.mjs:43
const { agentProcessLiveness } = await import("../../dist/util/pid-alive.js");
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/guides/fresh-install.md:251
"notifyUrl": "http://127.0.0.1:3847/notify",

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha 71edd61491befull audit observations/trust-audit/mcp-server/etanhey__cmuxlayer.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-0871edd61491beBLOCKF57first audit
06

Questions

What is the cmuxlayer MCP server?

10 public MCP tools for controlling cmux workspaces and managing Claude, Codex, Gemini, Kiro, and Cursor agents.

What tools does cmuxlayer expose?

10 in total: 8 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is cmuxlayer safe to connect to an agent?

No — not without reading the findings first. The audit graded it F (57/100) and found 5 critical or high issues in the source. Each one is listed on this page with the file and line it is on.

What credentials does cmuxlayer need?

It reads CMUX_SOCKET_PASSWORD from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does cmuxlayer run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as site at 0.1.0.

How current is this page?

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

Advertisement