Tabby-MCP

Tabby-MCP

An MCP server plugin for the Tabby Terminal that enables AI assistants to execute commands, read terminal buffers, and manage tabs and profiles. It features 18 specialized tools for comprehensive terminal control and session management with built-in security confirmations.

Category
Visit Server

README

<div align="center">

πŸš€ 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 | δΈ­ζ–‡

</div>


✨ Features

<table> <tr> <td width="50%">

πŸ–₯️ Terminal Control

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

</td> <td width="50%">

πŸ“‘ Tab Management

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

</td> </tr> <tr> <td>

πŸ”— Profile Management

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

</td> <td>

πŸ”’ Security Features

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

</td> </tr> </table>


πŸ“¦ Installation

Method 1: Tabby Plugin Manager (Easiest)

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

  1. Open Tabby β†’ Settings β†’ Plugins
  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.

<details open> <summary><b>🍎 macOS / 🐧 Linux</b></summary>

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

</details>

<details> <summary><b>πŸͺŸ Windows (PowerShell)</b></summary>

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

</details>


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

Endpoint URL
SSE http://localhost:3001/sse
Health http://localhost:3001/health
Info http://localhost:3001/info

πŸ› οΈ Available Tools

Terminal Control (6)

Tool Description
get_session_list List all terminal sessions
exec_command Execute command with output
send_input Send interactive input (Ctrl+C, etc)
get_terminal_buffer Read terminal buffer
abort_command Abort running command
get_command_status Monitor active commands

Tab Management (10)

Tool Description
list_tabs List all open tabs
select_tab Focus a specific tab
close_tab Close a tab
close_all_tabs Close all tabs
duplicate_tab Duplicate a tab
next_tab / previous_tab Navigate tabs
move_tab_left / move_tab_right Reorder tabs
reopen_last_tab Reopen closed tab

Profile Management (4)

Tool Description
list_profiles List terminal profiles
open_profile Open tab with profile
show_profile_selector Show profile dialog
quick_connect SSH quick connect

βš™οΈ Configuration

Setting Description Default
Port MCP server port 3001
Start on Boot Auto-start server true
Pair Programming Confirm commands true

⚠️ Platform Support

Platform Status Notes
macOS βœ… Tested Fully functional
Windows ⚠️ Untested Should work β€” please report issues
Linux ⚠️ Untested Should 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

<div align="center">

🎨 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.

</div>

Acknowledgments

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

Improvements over the original:

Feature Original This Project
MCP Tools 4 18
Tab Management ❌ βœ…
Profile/SSH ❌ βœ…
Init Bug Has issue βœ… Fixed
Install Script Manual βœ… One-liner

🀝 Contributing

See CONTRIBUTING.md for guidelines.


πŸ“„ License

MIT License - see LICENSE


<div align="center">

Made with ❀️ by AI and GentlemanHu

⭐ Star this repo if you find it useful!

</div>

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured