
Terminal MCP Server
io.github.aybelatchane由 GitHub 帳號 aybelatchane 發布v1.0.3更新於 Oct 24, 2026
MCP server for AI agents to interact with terminal applications. Think Playwright for terminals.
發布方自己的服務:Terminal Tax
概覽
一個本機 MCP 伺服器,讓 AI 助理操作終端機應用程式:建立工作階段、擷取終端機狀態、輸入文字、按鍵、點選介面元素並讀取輸出。
- 可以做什麼
- 管理工作階段:建立、列出、關閉和調整執行 htop 或 shell 指令等終端機程式的工作階段尺寸。檢視終端機狀態:擷取含辨識介面元素的快照,或讀取原始輸出。送出輸入:輸入文字、按下方向鍵、功能鍵和 Ctrl 組合鍵等按鍵,並點選辨識到的介面元素。等待條件:等待指定文字、元素或閒置狀態出現。
- 適用情境
- 適合讓助理操作沒有 API 的互動式終端機程式,例如 TUI 工具、選單或全螢幕主控台,並以按鍵層級撰寫互動腳本。它僅限桌面環境,適合本機開發機而非託管環境。
- 執行需求
- 以本機程序執行,通常透過 npx mcp-server-terminal 或預先建置的執行檔啟動;從原始碼建置需要 Rust 工具鏈。視覺模式會開啟可見終端機視窗,在 Linux/WSL 上需要 X11 並設定 DISPLAY 環境變數;可用參數啟用無頭模式。Windows 原生僅支援無頭模式,建議使用 WSL 以獲得完整功能。選用 RUST_LOG 設定日誌等級。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Terminal MCP Server,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Terminal MCP Server
[npm version] [npm downloads] [License: MIT]
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
Via npm (Recommended)
Via GitHub Releases
Download pre-built binaries from Releases.
Build from Source
Configuration
Claude
Claude Code (CLI)
Claude Desktop
Add to ~/.claude.json (macOS/Linux) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
OpenAI Codex
Codex CLI
Codex Configuration File
Add to ~/.codex/config.toml:
Google Gemini
Gemini CLI
VS Code / GitHub Copilot
VS Code 1.101+ supports MCP. Add to your VS Code settings (settings.json):
Cursor
Add to ~/.cursor/mcp.json or .cursor/mcp.json in your project:
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
Zed
Add to your Zed settings (Preferences → Settings):
Cline (VS Code Extension)
Click MCP Servers icon → Configure → Advanced MCP Settings, then add:
AWS Bedrock
Add to your Bedrock agent MCP configuration:
Other MCP Clients
For any MCP-compatible client, configure the server with:
- Command:
npx - Args:
["mcp-server-terminal"]
Or if using the binary directly:
- Command:
terminal-mcp
Usage
Ask your AI agent:
- "Create a terminal session running htop"
- "Take a snapshot of the terminal"
- "Press the down arrow key"
- "Type 'ls -la' and press Enter"
MCP Tools
Visual Mode
By default, sessions spawn a visible terminal window (xterm). For headless operation:
Or in your MCP config:
X11 Setup (Linux/WSL)
Visual mode requires X11. Add the DISPLAY environment variable to your MCP config:
Logging
Set the RUST_LOG environment variable:
Log levels: error, warn, info, debug, trace
Logs go to stderr (stdout is reserved for MCP protocol).
Platform Support
Windows users: Use WSL for full functionality including visual mode.
License
MIT
來源:README.md,提交 c532381
工具
0版本歷史
1- v1.0.3最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Terminal 整合

Terminal Tax
tax.terminal官方發布者
託管式報稅伺服器:讓助理送出美國聯邦 2025 年個人報稅表的事實,由服務計算與檢核,再回傳私人簽署連結。
Terminal
mn.dta官方發布者
面向蒙古宏觀與市場資料檔案的遠端 MCP 伺服器,讓助理搜尋序列、取得面板並驗證帶簽章的觀測資料。
SCRIPTMASTERLABS — Quant Terminal
com.scriptmasterlabs
遠端 MCP 端點,提供以真實資料為基礎的股票代號價位與「squeeze-mirror」預測,用於量化交易分析。

Terminal 7
由 GitHub 帳號 LinkMarine777 發布
Solana 上 stonkfun 幣的訊號、評分和支付資料,供機器人和 AI 代理使用。AI 翻譯
terminal-use
由 GitHub 帳號 computer-agent-labs 發布
讓 AI 助理操作本機真實終端機工作階段:輸入文字、按鍵、點擊、讀取畫面並截圖,包含全螢幕 TUI 程式。