libtmux-mcp server
tmux MCP server powered by libtmux
libtmux-mcp¶
Terminal control for AI agents, built on libtmux and FastMCP.
This server maps tmux’s object hierarchy — sessions, windows, panes — into MCP tools. Some tools read state. Some mutate it. Some destroy. The distinction is explicit and enforced.
Warning
Pre-alpha. APIs may change. Feedback welcome.
Quickstart
Install, connect, get a first result. Under 2 minutes.
Quickstart
Tools
Every tool, grouped by intent and safety tier.
Tools
Safety tiers
Readonly, mutating, destructive. Know what changes state.
Safety tiers
Client setup
Config blocks for Claude Desktop, Claude Code, Cursor, and others.
MCP Clients
What you can do¶
Inspect readonly¶
Read tmux state without changing anything.
list_sessions · capture_pane · snapshot_pane · get_pane_info · search_panes · wait_for_text · wait_for_content_change · display_message
Act mutating¶
Create or modify tmux objects.
create_session · send_keys · paste_text · create_window · split_window · select_pane · select_window · move_window · resize_pane · pipe_pane · set_option
Destroy destructive¶
Tear down tmux objects. Not reversible.
kill_session · kill_window · kill_pane · kill_server
Browse all tools →
Mental model¶
- Object hierarchy — sessions contain windows, windows contain panes (Concepts)
- Read vs. mutate — some tools observe, some act, some destroy (Safety tiers)
- tmux is the source of truth — the server reads from it and writes to it, never caches or abstracts
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Hayhooks
Deploy and serve Haystack pipelines as REST APIs, MCP Tools, and OpenAI-compatible chat completion backends.
Gemsuite
The ultimate open-source server for advanced Gemini API interaction with MCP, intelligently selects models.
Just Prompt
A unified interface for various Large Language Model (LLM) providers, including OpenAI, Anthropic, Google Gemini, Groq, DeepSeek, and Ollama.
VS Code Settings MCP Server
Programmatically manage Visual Studio Code settings using AI assistants and automated tools.
Icons8 MCP server
Get access to MCP server SVG and MCP server PNG icons in your vibe-coding projects
Skills-ContextManager
Don’t pollute your AI agent’s context with 1,000 skills. Use Skills-ContextManager, a self-hosted web UI for managing AI skills and workflows by providing skills to an AI agent via MCP only when needed. Simply add skills to your library and enable or disable them with a toggle. Choose whether a skill is always loaded into context or dynamically activated when the AI agent determines it’s needed.
Airflow MCP Server
MCP server for Airflow
EVE Online ESI MCP Server
An MCP server for interacting with the EVE Online ESI (EVE Swagger Interface) API.
Tekion Persona Loader
Loads AI persona definitions from a GitLab repository.
TIA-Portal MCP-Server
A VS Code extension to connect and interact with Siemens TIA Portal projects directly from the editor.