Tabby终端MCP服务器插件

Tabby-MCP 是 Tabby 终端的 MCP 服务器插件,通过 36 个 MCP 工具为 AI 助手提供终端命令执行、标签页管理、SSH 配置和 SFTP 文件操作能力,适用于开发者在本地终端安全集成 AI 助手并实现自动化操作的场景。

  • by GentlemanHu
  • TypeScript
  • 混合部署
  • 71 星标
  • 更新于
在 GitHub 查看 GentlemanHu/Tabby-MCP

使用说明

🚀 Tabby-MCP

A Comprehensive MCP Server Plugin for Tabby Terminal

Connect AI assistants to your terminal with full control — 36 MCP tools including SFTP support

English | 中文


🚀 Tabby-MCP is a powerful plugin for Tabby Terminal, bridging the gap between AI agents and your terminal environment. It provides a standardized MCP interface for AI to execute commands, manage tabs, and handle file operations securely.

Give your AI hands to work with.


✨ Features

🖥️ Terminal Control

  • Execute commands with output capture
  • Stable session IDs (v1.1+)
  • Send interactive input (vim, less, top)
  • Read terminal buffer content
  • Abort/monitor running commands

📑 Tab Management

  • Create/Close/Duplicate tabs
  • Split panes (horizontal/vertical)
  • Navigate between tabs
  • Move tabs left/right
  • Reopen closed tabs

🔗 Profile & SSH

  • List all terminal profiles
  • Open new tabs with profiles
  • SSH quick connect
  • Profile selector dialog

📁 SFTP Operations (v1.1+)

  • List/read/write remote files
  • Create/delete directories
  • Rename/move files
  • (Requires tabby-ssh)

🔒 Security Features

Non-blocking confirmation dialogs for commands, raw input, and sensitive SFTP operations • Loopback by default • Comprehensive logging

Safety model (v1.7.2): Pair Programming Mode gates exec_command, send_input, keyboard-interactive authentication responses, and sensitive SFTP operations with a non-blocking approval dialog that automatically rejects after two minutes. Authentication response values are never shown in confirmation details. The dialog restores terminal focus to avoid Electron/xterm keyboard and IME issues. Read-only transfer-status tools and emergency abort_command remain available without approval. The server binds to 127.0.0.1 unless you change Listen address. Host and Origin checks still reject DNS names. The direct tool API is disabled by default.


📦 Installation

Method 1: Tabby Plugin Manager (Easiest)

Search for tabby-mcp-server directly in Tabby's built-in Plugin Manager: