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.
Claude Code Claude Desktop Codex CLI Gemini CLI Cursor
uvx pipx pip install
With uvx installed:
$ claude mcp add libtmux -- uvx libtmux-mcp
Quickstart
Install, connect, get a first result. Under 2 minutes.
Quickstart
Tools
Every tool, grouped by intent and safety tier.
Tools
Prompts
Four workflow recipes the client renders for the model.
Prompts
Resources
Snapshot views of the tmux hierarchy via tmux:// URIs.
Resources
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
관련 서버
Scout Monitoring MCP
스폰서Put performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
스폰서Access financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
MCP Server
Automate data science stages using your own CSV data files.
GodotIQ
The intelligent MCP server for AI-assisted Godot 4 development. 35 tools for spatial intelligence, code understanding, flow tracing, and visual debugging. 22 free, full suite $19.
Basalt
Design system MCP server — query tokens, components, icons, and WCAG contrast data from Git-backed design systems.
Template MCP Server
A CLI template for quickly bootstrapping an MCP server with FastMCP, supporting both stdio and HTTP transport.
clipboard-mcp
Cross-platform MCP server for system clipboard access. Three tools: get_clipboard, set_clipboard, watch_clipboard. Single Rust binary, zero runtime deps.
Playwright MCP
Generate Playwright tests with AI assistants by providing real-time access to the browser DOM, interactions, and screenshots.
Holy Bio MCP
A unified framework for bioinformatics research, integrating multiple specialized MCP servers for longevity and bioinformatics.
Homebrew MCP
Interact with Homebrew (the package manager for macOS and Linux) using natural language commands.
mcp-backpressure
Backpressure and concurrency control middleware for FastMCP. Prevents server overload from LLM tool-call storms with configurable limits and JSON-RPC errors.
MCP Framework
A TypeScript framework for building Model Context Protocol (MCP) servers.