# Connect cmux to Your AI Agent (Universal MCP)

> Use your AI to monitor systems, build software, and track issues in cmux — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http cmux https://api.universalmcp.app/mcp/cmux`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/cmux` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "cmux", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: cmux | Category: DevOps & IT/Security (cmux) | Auth: Encrypted API key or guided local/desktop setup | Deployment: desktop
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Session metadata, Socket API, Local notes; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=cmux | Guide: https://universalmcp.app/mcp/cmux
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (17 actions: 7 Read, 10 Write)
Perform over 10 actions across agent sessions, community and docs, multitasking workspace, and setup and updates. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Agent Sessions (6):** Launch Claude Code Session (write), Run Codex Agent (write), Start OpenCode Session (write), Launch Gemini CLI Session (write), Run Aider Session (write), Run Any CLI Tool (write)
- **Community and Docs (5):** Read cmux Documentation (read), Browse Community Discussions (read), Post Community Question (write), Review Source on GitHub (read), Star cmux on GitHub (write)
- **Multitasking Workspace (3):** Switch Between Agent Sessions (read), Monitor Running Agents (read), Open Multiple Terminal Panes (write)
- **Setup and Updates (3):** Download cmux for macOS (write), Review Pricing Plans (read), Read Changelog Release Notes (read)

## Example Prompts for cmux
- **Session inventory:** "In cmux, list every open agent session with its CLI tool, workspace name, and time since last output."
- **Idle sessions:** "Show cmux sessions idle for more than 30 minutes and the last command each one ran before stopping."
- **Socket API status:** "Check the cmux socket API connection and report which workspaces are currently attached to it."
- **Draft handoff note:** "Draft a handoff note in cmux summarizing the Aider docs-site session for a teammate. Save locally, do not send."
