MCPSERV.CLUB
thuanpham582002

Tabby MCP Server

MCP Server

AI‑powered terminal control via Model Context Protocol

Active(70)
50stars
3views
Updated 13 days ago

About

The Tabby MCP Server plugin implements the Model Context Protocol (MCP) for Tabby Terminal, allowing AI assistants to execute commands, read output, manage sessions, and control the terminal securely. It enables seamless AI integration with modern terminal emulators.

Capabilities

Resources
Access data sources
Tools
Execute functions
Prompts
Pre-built templates
Sampling
AI model interactions

Tabby MCP Plugin Demo

Tabby‑MCP‑Server is a lightweight, plugin‑based implementation of the Model Context Protocol (MCP) that turns any Tabby Terminal session into a fully controllable AI‑powered workspace. By exposing a standard MCP interface, the server lets external AI assistants—such as Claude or other LLMs that support MCP—to issue shell commands, read terminal output, and manage SSH sessions directly from the terminal UI. This bridges the gap between conversational AI and real‑world system interactions, enabling developers to prototype automation scripts, run diagnostics, or even perform pair‑programming tasks without leaving the terminal.

The server’s core value lies in its seamless integration with Tabby, a modern terminal emulator known for its configurability and extensibility. Once the plugin is installed, Tabby automatically launches an MCP server on a configurable port (default 3001). AI clients can connect to this endpoint, authenticate if needed, and invoke a rich set of tools: execute commands, abort running processes, capture the entire terminal buffer, or retrieve paginated command history. Because Tabby’s UI is highly customizable, developers can embed visual confirmation dialogs for safety (the optional pair‑programming mode) or monitor active SSH sessions in real time, all while the AI orchestrates complex workflows.

Key capabilities include:

  • Terminal Control – The AI can send arbitrary shell commands and receive stdout/stderr streams.
  • Session Management – Inspect, list, or terminate SSH sessions directly from the AI’s perspective.
  • Buffer Access – Retrieve the current terminal content with flexible options (full screen, line ranges).
  • Command Abort – Safely interrupt long‑running commands to prevent runaway processes.
  • History & Output Storage – Persist command logs and allow the AI to query past outputs for context or debugging.
  • Pair‑Programming Mode – Toggle a confirmation prompt before any command execution, giving developers an extra layer of control.

In practice, Tabby‑MCP‑Server is ideal for scenarios such as automated deployment pipelines where an AI assistant can spin up containers, run tests, and report results back to the developer. It also supports real‑time debugging: an AI can inspect a failing process, suggest fixes, and execute remediation commands on the fly. For educational purposes, instructors can let students interact with a shared terminal via an AI tutor that guides them through shell exercises. The plugin’s Docker support further simplifies deployment in CI/CD pipelines or isolated environments, ensuring consistent behavior across machines.

By providing a standard MCP surface over a familiar terminal experience, Tabby‑MCP‑Server empowers developers to embed AI into their daily workflows, turning the command line from a static tool into an intelligent, conversational partner.