AM

aybelatchane/mcp-server-terminal

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

21 stars 6 forks 品質 78 トレンド 0MIT

ターミナル MCP サーバー - 構造化されたターミナル ステート ツリー (TST) の TUI/CLI のオートメーションのためのモデルコンテキスト プロトコル サーバー

概要

MCP サーバーにより、AI エージェントがターミナル ステート ツリー 表現を構造化し、ターミナル アプリケーションとやり取りすることができます。 モデルコンテキストプロトコルをサポートするAIアシスタントと連携します。 リリースからビルド済みのバイナリをダウンロードします。 ~/.claude.json (macOS/Linux) または %APPDATA%\Claude\claude desktop config.json (Windows): VSコード1.101+はMCPをサポートしています。 VS コード設定(settings.json)に追加します。 プロジェクトに ~/.cursor/mcp.json または .cursor/mcp.json に追加します。 ~/.codeium/windsurf/mcp config.json に追加します。 Zed の設定に追加 (環境 → 設定): MCP をクリック サーバのアイコン → 設定 → 高度な MCP 設定, その後追加します。:

概要(AI 翻訳)

MCP サーバーにより、AI エージェントがターミナル ステート ツリー 表現を構造化し、ターミナル アプリケーションとやり取りすることができます。 モデルコンテキストプロトコルをサポートするAIアシスタントと連携します。

インストール

##npm経由(推奨)

GitHub リリース

リリースからビルド済みのバイナリをダウンロードします。

ソースからビルドする

設定

クラウデ

####Claudeコード(CLI)

####Claudeデスクトップ

[~/.claude.json (macOS/Linux) または [%APPDATA%\Claude\claude_desktop_config.json (Windows) に追加します。

お問い合わせ

OpenAI Codex の使い方

#####Codex CLIの番号

###Codex 設定ファイル

[~/.codex/config.tomlに追加します。

お問い合わせ

グーグルジェミニ

####Gemini CLI

お問い合わせ

VS コード/GitHub Copilot

VSコード1.101+はMCPをサポートしています。 VS コード設定に追加 ([settings.json])):

お問い合わせ

カーソル

プロジェクトで[~/.cursor/mcp.jsonまたは[.cursor/mcp.json]]に追加します。

お問い合わせ

##ウィンドサーフィン

[~/.codeium/windsurf/mcp_config.jsonに追加します。

お問い合わせ

フィード

Zed の設定に追加 (環境 → 設定):

お問い合わせ

##Cline (VSコード拡張子)

MCP をクリック サーバのアイコン → 設定 → 高度な MCP 設定, その後追加します。:

お問い合わせ

AWS ブロック

あなたのBedrockの代理店MCP構成に追加して下さい:

お問い合わせ

###その他のMCPクライアント

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Terminal MCP Server

MCP server enabling AI agents to interact with terminal applications through structured Terminal State Tree representation. Works with any AI assistant that supports the Model Context Protocol.

Installation

npx mcp-server-terminal

Via GitHub Releases

Download pre-built binaries from Releases.

Build from Source

git clone https://github.com/aybelatchane/mcp-server-terminal.git
cd mcp-server-terminal
cargo build --release
# Binary: ./target/release/terminal-mcp

Configuration

Claude

Claude Code (CLI)

claude mcp add terminal -- npx mcp-server-terminal

Claude Desktop

Add to ~/.claude.json (macOS/Linux) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "terminal": {
      "command": "npx",
      "args": ["mcp-server-terminal"]
    }
  }
}

OpenAI Codex

Codex CLI

codex mcp add terminal -- npx mcp-server-terminal

Codex Configuration File

Add to ~/.codex/config.toml:

[mcp_servers.terminal]
command = "npx"
args = ["mcp-server-terminal"]

Google Gemini

Gemini CLI

gemini mcp add terminal npx mcp-server-terminal

VS Code / GitHub Copilot

VS Code 1.101+ supports MCP. Add to your VS Code settings (settings.json):

{
  "mcp.servers": {
    "terminal": {
      "command": "npx",
      "args": ["mcp-server-terminal"]
    }
  }
}

Cursor

Add to ~/.cursor/mcp.json or .cursor/mcp.json in your project:

{
  "mcpServers": {
    "terminal": {
      "command": "npx",
      "args": ["mcp-server-terminal"]
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "terminal": {
      "command": "npx",
      "args": ["mcp-server-terminal"]
    }
  }
}

Zed

Add to your Zed settings (Preferences → Settings):

{
  "context_servers": {
    "terminal": {
      "command": {
        "path": "npx",
        "args": ["mcp-server-terminal"]
      }
    }
  }
}

Cline (VS Code Extension)

Click MCP Servers icon → Configure → Advanced MCP Settings, then add:

{
  "mcpServers": {
    "terminal": {
      "command": "npx",
      "args": ["mcp-server-terminal"]
    }
  }
}

AWS Bedrock

Add to your Bedrock agent MCP configuration:

{
  "mcpServers": {
    "terminal": {
      "command": "npx",
      "args": ["mcp-server-terminal"]
GitHub で README 全文を見る

インストール

npx mcp-server-terminal
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "terminal": { "command": "npx", "args": ["mcp-server-terminal"] } } }