cmux-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@cmux-mcpList my workspaces"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
cmux-mcp
Catalog and operating map for cmux-mcp.
Status: v0.1.0 (initial release — 12 tools, BSD-3-Clause)
Quick Links
Related MCP server: Tmux MCP Server
Overview
cmux-mcp exposes programmatic control of a running cmux instance (macOS-only, Ghostty-based terminal for AI coding agents) as 12 MCP tools over Streamable HTTP. The server speaks cmux's Unix-socket JSON-RPC protocol directly for orchestration and notifications, and shells out to the cmux CLI for browser automation.
Quick Start
# Install
cd /Users/les/Projects/cmux-mcp && uv sync --extra dev
# Run (mock mode, for testing)
CMUX_MCP_MOCK=1 uv run cmux-mcp start
# Run (real, on macOS with cmux running)
uv run cmux-mcp start
# Lifecycle
uv run cmux-mcp start --bg
uv run cmux-mcp status
uv run cmux-mcp health
uv run cmux-mcp stopMCP Client Configuration
{
"mcpServers": {
"cmux": {
"command": "uv",
"args": ["run", "--project", "/Users/les/Projects/cmux-mcp", "cmux-mcp", "start"]
}
}
}Tool Reference
Tool | Mode | Description |
| Read-only | List all workspaces with panes and surfaces |
| Read-only | List pending cmux notifications |
| Read-only | Return focused window/workspace/pane/surface |
| Destructive | Send text or special key to terminal surface (fire-and-forget) |
| Mutation | Dispatch OS notification that rings pane and lights sidebar |
| Destructive | Navigate browser surface to URL |
| Read-only | A11y tree with Playwright-style refs |
| Destructive | Execute JS in browser (arbitrary; trust model documented) |
| Destructive | Click element by CSS selector |
| Destructive | Type into input (uses fill semantics) |
| Read-only | List open tabs |
| Read-only | Read console + JS errors (aggregates 2 sub-calls) |
Configuration
All settings via CMUX_MCP_* env vars. See settings/cmux-mcp.yaml for committed defaults.
Setting | Default | Description |
|
| HTTP bind address |
|
| HTTP port |
|
| cmux Unix socket |
| auto-discover | cmux CLI binary path |
| unset |
|
|
| Enable JWT auth for non-loopback deployments |
Security Notes
macOS-only; non-macOS hosts must use
CMUX_MCP_MOCK=1(auto-flipped with WARN banner)cmux's
cmuxOnlyaccess mode restricts socket connections to processes spawned inside cmux terminalsPII redaction helpers (
redact_url_query_string,redact_expression) exist inlogging_setup.pyfor future log-site use; v0.1.x ships with no PII-logging call sites by default (deferred)Subprocess env filtered to
SUBPROCESS_ENV_ALLOWLISTto prevent leaking API keysDefault loopback bind; non-loopback requires
CMUX_MCP_AUTH_ENABLED=true
Development Commands
uv run pytest # Run all tests
uv run pytest -m unit # Unit tests only
uv run pytest -m integration # Integration tests (require live cmux)
uv run crackerjack run # Full quality gateBuilt on Oneiric for runtime configuration and mcp-common for the FastMCP baseline. Crackerjack gates every commit.
This server cannot be deployed
Maintenance
Related MCP Connectors
Securely control computers you explicitly pair through files, terminals, processes, screenshots, desktop UI/input, clipboard, browser automation, diagnostics, and document tools.
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Automate cloud Chrome—navigate, click, type, screenshot, run code, record screen video
Let ChatGPT, Claude & Cursor use your Mac: email, calendar, iMessage, Teams, files. Local, free.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables programmatic control over tmux terminal sessions for SSH access, command execution, and terminal automation. Supports creating sessions, sending commands, capturing output, and managing multiple panes for interactive debugging and monitoring.88 npmMIT
- AlicenseAqualityDmaintenanceEnables AI assistants to manage local tmux sessions, including creating and controlling sessions, windows, and panes, sending commands, and capturing terminal output.164 npmDo What The F*ck You Want To Public
- FlicenseNot gradedqualityDmaintenanceA programmable terminal control plane that enables AI agents to orchestrate, monitor, and interact with multiple parallel AI CLI sessions and browser instances within CMUX. It provides over 80 tools for workspace management, pane manipulation, and cross-agent communication to facilitate complex multi-project workflows.10 npm7-
- AlicenseNot gradedqualityBmaintenanceMCP server wrapping the cmux CLI to let agents control terminal panes, workspaces, input, and browser.14 npmMIT