A simplified and elegant MCP server for persistent shell execution via tmux.
If you already use Persistent Shell MCP, the persistent shell mcp mcp server is the piece that lets your assistant work with it directly. A simplified and elegant MCP server for persistent shell execution via tmux.
A Model Context Protocol (MCP) server that provides persistent shell execution through tmux sessions. This server enables AI assistants to execute commands in a persistent shell. This unlocks a lot of possiblities, such as Agent Orchestration...
The server ships on npm as tmux-mcp-server, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
Prerequisites — The Prerequisites tool exposed by this serverexecute_command — Execute commands that complete quickly and return full output. Uses the exec windowstart_process — Start long-running or interactive processes. Can target either window: - exec window (default): For background processes - ui window: For interactiveget_output — Capture current terminal output from either window: - ui window (default): Clean user-facing output - exec window: Raw shell with all commandssend_input — The send_input tool exposed by this serverstop_process — Stop the currently running process in the exec window (sends Ctrl+C)create_workspace — The create_workspace tool exposed by this serverdestroy_workspace — The destroy_workspace tool exposed by this serverlist_workspaces — The list_workspaces tool exposed by this serversudo apt install tmux - macOS: brew install tmux - CentOS/RHEL: sudo yum install tmuxThis sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Persistent Shell MCP's toolset — Prerequisites, execute_command, start_process and 6 more — is a fair guide to whether it matches your workflow. It is maintained by TNTisdial; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Persistent Shell MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| Prerequisites | The Prerequisites tool exposed by this server. |
| execute_command | Execute commands that complete quickly and return full output. Uses the exec window. |
| start_process | Start long-running or interactive processes. Can target either window: - exec window (default): For background processes - ui window: For interactive applications that need user visibility |
| get_output | Capture current terminal output from either window: - ui window (default): Clean user-facing output - exec window: Raw shell with all commands |
| send_input | The send_input tool exposed by this server. |
| stop_process | Stop the currently running process in the exec window (sends Ctrl+C). |
| create_workspace | The create_workspace tool exposed by this server. |
| destroy_workspace | The destroy_workspace tool exposed by this server. |
| list_workspaces | The list_workspaces tool exposed by this server. |
{
"mcpServers": {
"tmux-shell": {
"command": "tmux-mcp-server"
}
}
}Configuration as documented by the project. Restart the client after saving.
sudo apt install tmux - macOS: brew install tmux - CentOS/RHEL: sudo yum install tmuxKill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.