MCP Hub
Back to servers

Tabby-MCP

A comprehensive MCP server plugin for Tabby Terminal that allows AI assistants to control the terminal, manage tabs, and handle SSH profiles through 21 specialized tools.

Tools
20
Updated
Jan 19, 2026

🚀 Tabby-MCP

License: MIT TypeScript Tabby Plugin MCP Protocol GitHub Release AI Generated Tested on

A Comprehensive MCP Server Plugin for Tabby Terminal

Connect AI assistants to your terminal with full control capabilities — 21 MCP tools included

English | 中文


✨ Features

🖥️ Terminal Control

  • Execute commands with output capture
  • Send interactive input (vim, less, top)
  • Read terminal buffer content
  • Abort/monitor running commands

📑 Tab Management

  • Create/Close/Duplicate tabs
  • Navigate between tabs
  • Move tabs left/right
  • Reopen closed tabs

🔗 Profile Management

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

🔒 Security Features

  • Pair programming mode
  • Command confirmation dialogs
  • Comprehensive logging
  • Safe command execution

📦 Installation

Method 1: Tabby Plugin Manager (Easiest)

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

  1. Open Tabby → SettingsPlugins
  2. Search for tabby-mcp-server
  3. Click Install
  4. Restart Tabby

Method 2: Quick Install Script

No Node.js required! Downloads pre-built release from GitHub.

🍎 macOS / 🐧 Linux
curl -fsSL https://raw.githubusercontent.com/GentlemanHu/Tabby-MCP/main/scripts/install.sh | bash

Or download and run:

wget https://raw.githubusercontent.com/GentlemanHu/Tabby-MCP/main/scripts/install.sh
bash install.sh
🪟 Windows (PowerShell)
irm https://raw.githubusercontent.com/GentlemanHu/Tabby-MCP/main/scripts/install.ps1 | iex

Or download and run:

Invoke-WebRequest -Uri https://raw.githubusercontent.com/GentlemanHu/Tabby-MCP/main/scripts/install.ps1 -OutFile install.ps1
.\install.ps1

Method 3: Build from Source

Requires Node.js 18+.

# Clone
git clone https://github.com/GentlemanHu/Tabby-MCP.git
cd Tabby-MCP

# Build & Install
bash scripts/build-and-install.sh

Or manually:

npm install --legacy-peer-deps
npm run build
# Then copy dist/ and package.json to Tabby plugins folder

🔄 After Installation

  1. Restart Tabby
  2. Go to Settings → MCP
  3. Start the MCP server

🔌 Connecting AI Clients

SSE Mode (Cursor / Windsurf)

Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "Tabby MCP": {
      "type": "sse",
      "url": "http://localhost:3001/sse"
    }
  }
}

STDIO Mode (Claude Desktop / VS Code)

For clients that don't support SSE, use the STDIO bridge:

Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "tabby-mcp": {
      "command": "node",
      "args": ["/path/to/Tabby-MCP/scripts/stdio-bridge.js"]
    }
  }
}

VS Code / Other IDEs:

{
  "mcp": {
    "servers": {
      "tabby-mcp": {
        "type": "stdio",
        "command": "node",
        "args": ["scripts/stdio-bridge.js"],
        "cwd": "/path/to/Tabby-MCP"
      }
    }
  }
}

Note: STDIO mode requires Node.js installed. The bridge script connects to the SSE server running in Tabby.

Endpoints

EndpointURL
SSEhttp://localhost:3001/sse
Healthhttp://localhost:3001/health
Infohttp://localhost:3001/info

🛠️ Available Tools

Terminal Control (6)

ToolDescription
get_session_listList all terminal sessions
exec_commandExecute command with output
send_inputSend interactive input (Ctrl+C, etc)
get_terminal_bufferRead terminal buffer
abort_commandAbort running command
get_command_statusMonitor active commands

Tab Management (10)

ToolDescription
list_tabsList all open tabs
select_tabFocus a specific tab
close_tabClose a tab
close_all_tabsClose all tabs
duplicate_tabDuplicate a tab
next_tab / previous_tabNavigate tabs
move_tab_left / move_tab_rightReorder tabs
reopen_last_tabReopen closed tab

Profile Management (4)

ToolDescription
list_profilesList terminal profiles
open_profileOpen tab with profile
show_profile_selectorShow profile dialog
quick_connectSSH quick connect

⚙️ Configuration

SettingDescriptionDefault
PortMCP server port3001
Start on BootAuto-start servertrue
Pair ProgrammingConfirm commandstrue

⚠️ Platform Support

PlatformStatusNotes
macOSTestedFully functional
Windows⚠️ UntestedShould work — please report issues
Linux⚠️ UntestedShould work — please report issues

Note: This plugin has been developed and tested on macOS. Windows and Linux support should work but is unverified. Community testing and feedback welcome!


🤖 About This Project

🎨 95%+ AI Generated

This project was created almost entirely by AI (Claude/Gemini) through pair programming.
The human's role was primarily to provide requirements and test the results.

Acknowledgments

This project builds upon the work of tabby-mcp-server by @thuanpham582002.

Improvements over the original:

FeatureOriginalThis Project
MCP Tools418
Tab Management
Profile/SSH
Init BugHas issue✅ Fixed
Install ScriptManual✅ One-liner

🤝 Contributing

See CONTRIBUTING.md for guidelines.


📄 License

MIT License - see LICENSE


Made with ❤️ by AI and GentlemanHu

Star this repo if you find it useful!

Reviews

No reviews yet

Sign in to write a review