Claude Code Integration
wmux ships with a built-in MCP (Model Context Protocol) server that lets Claude Code control your terminals. Create workspaces, split panes, run commands, and read output — all through natural language.
Setup
One-click setup from within wmux:
Ctrl+Shift+K to open the command paletteThat's it. Claude Code now has full access to your wmux terminals.
What Claude Code Can Do
- Create and manage workspaces — organize terminals by project or task
- Split terminal panes — set up side-by-side layouts
- Run commands and read output — execute builds, tests, and scripts
- Send keystrokes — send Ctrl+C to stop processes, navigate with arrow keys, and more
Architecture
The MCP server is bundled with wmux and communicates over stdio with Claude Code, while connecting to wmux via a named pipe:
The MCP server translates Claude Code's tool calls into JSON-RPC messages on the \\.\pipe\wmux named pipe — the same Socket API available to any client.
Available MCP Tools
The following 13 tools are exposed to Claude Code:
Each tool maps directly to a Socket API method. See the API reference for detailed parameter and response documentation.
Example Prompts
Try these prompts in Claude Code once the integration is set up: