Skip to main content
Glama

πŸš€ 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 β€” 18 MCP tools included

English | δΈ­ζ–‡


✨ Features

πŸ–₯️ Terminal Control

  • Execute commands with output capture

  • Read terminal buffer content

  • Abort running commands

  • List all terminal sessions

πŸ“‘ 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

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

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
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 2: 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

Cursor / Windsurf

Add to ~/.cursor/mcp.json:

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

Other Clients

Endpoint

URL

SSE

http://localhost:3001/sse

Health

http://localhost:3001/health

Info

http://localhost:3001/info


πŸ› οΈ Available Tools

Terminal Control (4)

Tool

Description

get_session_list

List all terminal sessions

exec_command

Execute command with output

get_terminal_buffer

Read terminal buffer

abort_command

Abort running command

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

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

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


Made with ❀️ by AI and GentlemanHu

⭐ Star this repo if you find it useful!

-
security - not tested
A
license - permissive license
-
quality - not tested

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/GentlemanHu/Tabby-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server