Skip to main content
Glama

Tmux MCP Server

by nickgnd
MIT License
8
25
  • Linux
  • Apple

Tmux MCP サーバー

Claude Desktop が tmux セッションのコンテンツにアクセスし、表示できるようにするモデルコンテキ���トプロトコルサーバー。この統合により、AI アシスタントがターミナルセッションの読み取り、制御、監視を行えるようになります。

特徴

  • tmuxセッションの一覧表示と検索
  • tmux ウィンドウとペインの表示と操作
  • 任意のペインからターミナルのコンテンツをキャプチャして公開します
  • tmux ペインでコマンドを実行し、結果を取得します(自己責任で使用してください⚠️)
  • 新しいtmuxセッションとウィンドウを作成する

この短いビデオを見て、ワクワクしてください!

前提条件

  • Node.js
  • tmuxがインストールされ実行中

使用法

Claudeデスクトップの設定

この MCP サーバーを Claude Desktop 構成に追加します。

"mcpServers": { "tmux": { "command": "npx", "args": ["-y", "tmux-mcp"] } }

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

local-only server

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

Claude Desktop が tmux セッションのコンテンツを操作して表示できるようにし、AI アシスタントがターミナル セッションを読み取り、制御および監視できるようにします。

  1. 特徴
    1. 前提条件
      1. 使用法
        1. Claudeデスクトップの設定
        2. MCP サーバー オプション
      2. 利用可能なリソース
        1. 利用可能なツール

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            A bridge allowing Claude Desktop to access Telegram chats and messages via the Model Context Protocol, providing read-only capabilities to retrieve dialogs and messages from Telegram.
            Last updated -
            2
            38
            Python
            MIT License
            • Apple
          • A
            security
            A
            license
            A
            quality
            Allows Claude desktop app to execute terminal commands and edit files on your computer through MCP, with features including command execution, process management, and diff-based file editing.
            Last updated -
            19
            13,570
            3,311
            JavaScript
            MIT License
            • Apple
          • -
            security
            F
            license
            -
            quality
            A companion desktop app enabling bi-directional interaction between Claude Desktop and visual UI elements, allowing Claude to display, read from, and write to interactive interfaces while processing user events and feedback.
            Last updated -
            5
            1
            TypeScript
            • Apple
          • -
            security
            A
            license
            -
            quality
            A server that lets Claude desktop app execute terminal commands on your computer and edit files through Model Context Protocol, featuring command execution, process management, and advanced file operations.
            Last updated -
            13,570
            MIT License
            • Linux
            • Apple

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/nickgnd/tmux-mcp'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server