MCP server
by nickgnd
Interact with and view tmux session content easily. Use Tmux MCP for tmux commands like tmux list sessions and more.
Lets AI assistants interact with your tmux terminal sessions to view content, manage windows/panes, and observe what's happening in your terminals.
Tmux MCP is a community-built MCP server published by nickgnd that provides AI assistants with tools and capabilities via the Model Context Protocol. Interact with and view tmux session content easily. Use Tmux MCP for tmux commands like tmux list sessions and more. It is categorized under developer tools. This server exposes 13 tools that AI clients can invoke during conversations and coding sessions.
You can install Tmux MCP in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
MIT
Tmux MCP is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Add new capabilities to Claude beyond text generation
Example
Access external data sources, execute code, interact with tools and services
Transform Claude from chatbot to action-taking agent
Provide Claude with access to relevant context and data
Example
Load project documentation, access knowledge bases, query databases
Get more accurate, context-aware responses
Automate multi-step workflows combining AI and external tools
Example
Research → Summarize → Create document → Send notification
Complete complex tasks end-to-end without manual steps
Share your MCP server with the developer community
Tmux MCP has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
According to our notes, Tmux MCP benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
Tmux MCP is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.
We wired Tmux MCP into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
Tmux MCP is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.
Useful MCP listing: Tmux MCP is the kind of server we cite when onboarding engineers to host + tool permissions.
We wired Tmux MCP into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
According to our notes, Tmux MCP benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
Useful MCP listing: Tmux MCP is the kind of server we cite when onboarding engineers to host + tool permissions.
Tmux MCP is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.
showing 1-10 of 51
Model Context Protocol server that enables Claude Desktop to interact with and view tmux session content. This integration allows AI assistants to read from, control, and observe your terminal sessions.
Check out this short video to get excited!
</br>Add this MCP server to your Claude Desktop configuration:
"mcpServers": {
"tmux": {
"command": "npx",
"args": ["-y", "tmux-mcp"]
}
}
You can optionally specify the command line shell you are using, if unspecified it defaults to bash
"mcpServers": {
"tmux": {
"command": "npx",
"args": ["-y", "tmux-mcp", "--shell-type=fish"]
}
}
The MCP server needs to know the shell only when executing commands, to properly read its exit status.
tmux://sessions - List all tmux sessionstmux://pane/{paneId} - View content of a specific tmux panetmux://command/{commandId}/result - Results from executed commandslist-sessions - List all active tmux sessionsfind-session - Find a tmux session by namelist-windows - List windows in a tmux sessionlist-panes - List panes in a tmux windowcapture-pane - Capture content from a tmux panecreate-session - Create a new tmux sessioncreate-window - Create a new window in a tmux sessionsplit-pane - Split a tmux pane horizontally or vertically with optional sizekill-session - Kill a tmux session by IDkill-window - Kill a tmux window by IDkill-pane - Kill a tmux pane by IDexecute-command - Execute a command in a tmux paneget-command-result - Get the result of an executed commandPrerequisites
Time Estimate
15-60 minutes depending on server complexity
Steps
Troubleshooting
✓ Do
✗ Don't
💡 Pro Tips
Architecture
Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.
Protocols
Compatibility
✓ Use when
Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.
✗ Avoid when
Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.