Tmux MCP Server

by nickgnd
Verified

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Provides tools for listing, navigating, and interacting with tmux sessions, windows and panes. Enables capturing terminal content, executing commands in panes, and creating new tmux sessions and windows.

Tmux MCP 서버

Claude Desktop이 tmux 세션 콘텐츠와 상호 작용하고 볼 수 있도록 하는 모델 컨텍스트 프로토콜 서버입니다. 이 통합을 통해 AI 어시스턴트가 터미널 세션을 읽고, 제어하고, 관찰할 수 있습니다.

특징

  • tmux 세션 나열 및 검색
  • tmux 창과 패널 보기 및 탐색
  • 모든 창에서 터미널 콘텐츠를 캡처하고 노출합니다.
  • tmux 창에서 명령을 실행하고 결과를 검색합니다(사용 시 모든 책임은 사용자에게 있습니다 ⚠️)
  • 새로운 tmux 세션 및 창 만들기

이 짧은 영상을 시청하고 기대감을 느껴보세요!

필수 조건

  • 노드.js
  • tmux 설치 및 실행

용법

Claude Desktop 구성

Claude Desktop 구성에 이 MCP 서버를 추가하세요.

지엑스피1

MCP 서버 옵션

선택적으로 사용 중인 명령줄 셸을 지정할 수 있습니다. 지정하지 않으면 기본적으로 bash 사용됩니다.

"mcpServers": { "tmux": { "command": "npx", "args": ["-y", "tmux-mcp", "--shell-type=fish"] } }

MCP 서버는 명령을 실행할 때만 셸을 알아야 하며, 셸의 종료 상태를 올바르게 읽어야 합니다.

사용 가능한 리소스

  • tmux://sessions - 모든 tmux 세션 나열
  • tmux://pane/{paneId} - 특정 tmux 창의 내용 보기
  • tmux://command/{commandId}/result - 실행된 명령의 결과

사용 가능한 도구

  • list-sessions - 모든 활성 tmux 세션 나열
  • find-session - 이름으로 tmux 세션 찾기
  • list-windows - tmux 세션의 창 나열
  • list-panes - tmux 창의 목록 창
  • capture-pane - tmux 창에서 콘텐츠 캡처
  • create-session - 새로운 tmux 세션을 생성합니다.
  • create-window - tmux 세션에서 새 창 만들기
  • execute-command - tmux 창에서 명령 실행
  • get-command-result - 실행된 명령의 결과를 가져옵니다.
-
security - not tested
A
license - permissive license
-
quality - not tested

Claude Desktop이 tmux 세션 콘텐츠와 상호 작용하고 볼 수 있도록 하여 AI 어시스턴트가 터미널 세션을 읽고, 제어하고, 관찰할 수 있도록 합니다.

  1. Features
    1. Prerequisites
      1. Usage
        1. Configure Claude Desktop
        2. MCP server options
      2. Available Resources
        1. Available Tools
          ID: 3o3o9iph0m