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
Have I Been Pwned
Check if an account or password has been compromised in a data breach using the Have I Been Pwned API.
MCPSwift
A Swift framework for building Model Context Protocol (MCP) servers with a simplified API.
Lightning Tools MCP Server
An MCP server for accessing useful Bitcoin Lightning tools.
Binalyze AIR MCP Server
Interact with Binalyze AIR's digital forensics and incident response capabilities using natural language.
uMCP (ultraMCP)
A lightweight Java framework for building MCP servers with TCP transport via mcp-java-bridge.
Imagen3-MCP
Generate images using Google's Imagen 3.0 model via the Gemini API.
AgentSeal
Every agent action is recorded in a SHA-256 hash chain; with this, you can actually prove to clients that your agent did what it said it did
Smithery Reference Servers
A collection of reference implementations for Model Context Protocol (MCP) servers in Typescript and Python, demonstrating MCP features and SDK usage.
MCP Server Starter Template
A starter template for building Model Context Protocol (MCP) servers, designed for UI libraries and component registries.
Multi Sentry MCP
Multi-org Sentry MCP server — isolated error monitoring across multiple projects from a single config. Process-level security, handoff package generation.