Logotipo de Tabby-MCP

Tabby-MCP

Comunidad
GentlemanHu

MCP server for Tabby terminal, 36 MCP tools including SFTP support, full control your Tabby!

EditorGentlemanHu
RepositorioTabby-MCP
IdiomaTypeScript
Forks
12
Estrellas
58
Herramientas disponibles
0
Tipo de transportestdio, streamable-http
Categorías
LicenciaMIT
Enlaces
  • Conecta herramientas a flujos de trabajo con IA

    Tabby-MCP ofrece funciones MCP que pueden usar los clientes y agentes de IA compatibles.

  • 0 herramientas disponibles

    Explora a continuación las acciones que se pueden invocar, con sus nombres y descripciones cuando el servidor los proporcione.

  • Configuración lista para copiar

    Usa los ejemplos de instalación para configurar este servidor en tu cliente MCP preferido.

  • Indicadores de interés en el código abierto

    58 estrellas y 12 forks en el repositorio enlazado.

🚀 Tabby-MCP

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

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

Safety model (v1.7.0): 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. Network access is restricted to loopback (127.0.0.1), Origin validation is applied to both MCP transports, and 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:

  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.

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

Or download and run:

bash
wget https://raw.githubusercontent.com/GentlemanHu/Tabby-MCP/main/scripts/install.sh
bash install.sh
powershell
irm https://raw.githubusercontent.com/GentlemanHu/Tabby-MCP/main/scripts/install.ps1 | iex

Or download and run:

powershell
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+.

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

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

Or manually:

bash
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

Streamable HTTP Mode (Cursor / Windsurf / Cline)

Add to ~/.cursor/mcp.json:

json
{
  "mcpServers": {
    "Tabby MCP": {
      "type": "streamable_http",
      "url": "http://127.0.0.1:3001/mcp"
    }
  }
}

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

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

VS Code / Other IDEs:

json
{
  "mcp": {
    "servers": {
      "tabby-mcp-server": {
        "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

EndpointURLProtocol
Streamable HTTPhttp://127.0.0.1:3001/mcp2025-03-26 (recommended)
Legacy SSEhttp://127.0.0.1:3001/sse2024-11-05
Healthhttp://127.0.0.1:3001/health-
Infohttp://127.0.0.1:3001/info-

🛠️ Available Tools

Terminal Control (9)

ToolDescription
get_session_listList all terminal sessions with stable UUIDs and metadata
exec_commandExecute command with flexible session targeting
send_inputSend interactive input (Ctrl+C, etc)
submit_keyboard_interactive_responseSubmit MFA, password, or other SSH keyboard-interactive responses
get_terminal_bufferRead terminal buffer (defaults to active session)
abort_commandAbort running command
get_command_statusMonitor active commands
focus_paneFocus a specific pane in split view
get_session_environmentDetect shell/REPL context (optional; disabled by default)

New in v1.1: All terminal tools now support flexible session targeting:

  • sessionId (stable UUID, recommended)
  • tabIndex (legacy, may change)
  • title (partial match)
  • profileName (partial match)
  • No parameters = use active session

Tab Management (11)

ToolDescription
list_tabsList all open tabs with stable IDs
select_tabFocus a specific tab (defaults to active)
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
split_tabSplit current tab (horizontal/vertical)

Profile Management (4)

ToolDescription
list_profilesList terminal profiles
open_profileOpen tab with profile
show_profile_selectorShow profile dialog
quick_connectSmart quick connect (SSH/telnet/socket/serial)

SFTP Operations (12) 🆕

Requires tabby-ssh. If it is not installed—or SFTP is disabled in Settings—all 12 SFTP tools are omitted for new MCP sessions. With Pair Programming confirmation enabled, directory listing, metadata reads, file reads/writes, transfers, deletes, renames, directory creation, and transfer cancellation require approval.

Basic Operations:

ToolDescriptionKey Parameters
sftp_list_filesList remote directorypath
sftp_read_fileRead remote file (text)path
sftp_write_fileWrite text to remote filepath, content
sftp_mkdirCreate remote directorypath
sftp_deleteDelete remote file/directorypath
sftp_renameRename/move remote filesourcePath, destPath
sftp_statGet file/directory infopath

File Transfer (supports sync/async):

ToolDescriptionKey Parameters
sftp_uploadUpload local file → remotelocalPath, remotePath, sync
sftp_downloadDownload remote → local fileremotePath, localPath, sync
sftp_get_transfer_statusQuery transfer progresstransferId
sftp_list_transfersList all transfersstatus (filter)
sftp_cancel_transferCancel active transfertransferId

Transfer Modes: sync=true (default) waits for completion. sync=false returns immediately with transferId.

Size Limits: Configurable in Settings → MCP → SFTP.


⚙️ Configuration

SettingDescriptionDefault
PortMCP server port3001
Start on BootAuto-start servertrue
Pair ProgrammingConfirm commands, raw input, and sensitive SFTP operationstrue
Confirm SFTP OperationsApply the approval dialog to sensitive SFTP operations (send_input always follows command confirmation)true
Session TrackingUse stable UUIDstrue
Background ExecutionRun without focusfalse
SFTP EnabledEnable SFTP toolstrue
Environment DetectionExpose get_session_environmentfalse
Direct Tool APIEnable compatibility endpoint /api/tool/:name (manual config only)false

🔄 Background Execution Mode

Enable this mode to allow MCP commands to run without switching focus to the terminal. This lets you continue working on other tabs while AI executes commands in the background.

Settings → MCP → Background Execution

⚠️ Risks:

  • You won't see commands executing in real-time
  • If you type in the target terminal while AI is running, input will conflict
  • For split panes, commands go to the sessionId target, not the focused pane
  • Dangerous commands could run without you noticing

✅ Recommended: Keep Pair Programming Mode, confirmation dialogs, and file-operation confirmation enabled. The server binds only to 127.0.0.1; the direct /api/tool/:name compatibility API is disabled by default.


⚠️ Platform Support

PlatformStatusNotes
macOS✅ TestedFully 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 Tools436
Tab Management❌✅
Profile/SSH❌✅
SFTP Support❌✅
Stable Session IDs❌✅
Streamable HTTP❌✅
Init BugHas issue✅ Fixed
Install ScriptManual✅ One-liner

📝 Changelog

v1.7.1 (2026-09-15)

Published to GitHub and npm (tabby-mcp-server@1.7.1).

  • Fixed Issue #10 / Issue #11: pending approvals attract OS attention again after 1.7.0 replaced native confirm(). macOS bounces the Dock without stealing focus; Windows/Linux flash the taskbar and bring the window forward. The non-blocking dialog and IME/keyboard fix from #7 are unchanged.

v1.7.0 (2026-09-09)

Stable release of the 1.6.3-rc.1 / 1.6.3-rc.2 line. Published to GitHub and npm (tabby-mcp-server@1.7.0).

  • Added submit_keyboard_interactive_response for SSH keyboard-interactive authentication, including MFA/TOTP prompts (PR #8, thanks @plane636). send_input writes to the terminal PTY and cannot reach Tabby's authentication panel. Pair Programming confirmation shows only the response count, never credential values.
  • get_session_list now reports sshConnected, keyboardInteractivePending, and non-secret prompt metadata.
  • Fixed Issue #9: Pair Programming approval now covers send_input, keyboard-interactive responses, and sensitive SFTP operations; transfer cancellation now stops the underlying transfer.
  • Fixed Issue #7: replaced blocking browser dialogs with a non-blocking focus-restoring dialog and made command focus honor the Auto-focus setting.
  • Fixed Issue #5: loopback-only bind, startup retry, stale-instance detection, and authenticated same-install port handover.
  • Fixed a startup crash on Tabby 1.0.235 where ConfigService.store was not yet available during Angular service construction.
  • Fixed Legacy SSE JSON body handling for SDK 1.25.2, session cleanup, stale Streamable HTTP session handling, Origin validation, fish active environment probes, SFTP locator consistency, and STDIO reconnect/framing behavior.
  • Pinned @modelcontextprotocol/sdk to 1.25.2, committed package-lock.json, and added typecheck/smoke/build quality gates.
  • 36 MCP tools (35 normally visible; get_session_environment is optional and disabled by default).

See CHANGELOG.md for the complete version history.


🤝 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!

Instalación

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

Usa el MCP de Tabby-MCP con varios modelos de IA

TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que, una vez conectado Tabby-MCP, puedes usarlo con distintos modelos de IA en TypingMind sin tener que configurarlo por separado para cada modelo. Puedes ejecutar MCP localmente en tu dispositivo o conectarte a la URL de un servidor MCP remoto.

Opción 1: Usa el conector local

Usa esta opción si el servidor MCP necesita acceder a archivos locales, aplicaciones o recursos privados de tu ordenador.

1

Abre los ajustes de MCP

En TypingMind, ve a Ajustes, luego a Ajustes avanzados y a Model Context Protocol, y elige Configurar conector.

  1. Abre TypingMind en tu navegador.
  2. Haz clic en el icono de Ajustes.
  3. Ve a Ajustes avanzados.
  4. Abre la sección Model Context Protocol.
  5. Haz clic en Configurar conector y elige Este dispositivo.
Pantalla de configuración del conector MCP de TypingMind con «Este dispositivo» seleccionado
2

Ejecuta el comando del conector

Elige Este dispositivo, copia el comando de TypingMind y ejecútalo en Terminal. Mantén el proceso en ejecución mientras uses MCP.

  1. Copia el comando de configuración que muestra TypingMind.
  2. Abre Terminal en macOS o Windows Terminal en Windows.
  3. Pega y ejecuta el comando.
  4. Acepta la instalación del paquete si Terminal te pide confirmación para continuar.
  5. Mantén el proceso en ejecución en la ventana de Terminal mientras uses las herramientas MCP.
3

Añade Tabby-MCP como servidor

Cuando el estado del conector sea «Listo», haz clic en «Edita servidores» y pega la configuración del servidor MCP.

  1. Espera hasta que el estado del conector indique «Listo».
  2. Haz clic en Edita servidores.
  3. Pega la configuración del servidor MCP de Tabby-MCP.
  4. Guarda la lista de servidores.
  5. Actualiza para comprobar que el conector sigue listo.
Ajustes de MCP de TypingMind con un servidor activo y el botón «Edita servidores»
{
  "mcpServers": {
    "tabby-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "tabby-mcp-server"
      ]
    }
  }
}
4

Úsala con distintos modelos

Guarda la lista de servidores, abre Plugins, activa las herramientas MCP de Tabby-MCP y selecciona cualquier modelo de IA compatible en TypingMind para usar las herramientas en el chat o asignárselas a un agente de IA.

  1. Abre la página Plugins en TypingMind.
  2. Activa las herramientas MCP de Tabby-MCP.
  3. Inicia un chat y elige el modelo de IA que quieras usar.
  4. Usa las herramientas MCP en el chat o asígnalas a un agente de IA.
  5. Cambia a otro modelo de IA cuando lo necesites sin volver a conectar MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar Tabby-MCP para ayudarme con esta tarea?
Tabby-MCP
Claro. Lo he leído.
Esto he encontrado usando Tabby-MCP.

Opción 2: Añade la URL de un servidor MCP

Usa esta opción si Tabby-MCP ya está alojado en un servidor remoto o si tu equipo quiere un conector compartido al que puedan acceder varios usuarios.

1

Abre Conectores MCP

En TypingMind, ve a Plugins, abre Conectores MCP y elige Añadir URL.

  1. Abre TypingMind en tu navegador.
  2. Ve a Plugins.
  3. Abre Conectores MCP.
  4. Haz clic en Añadir URL.
Formulario de TypingMind para añadir la URL de un servidor MCP personalizado
2

Pega la URL del servidor

Introduce la URL del servidor MCP facilitada por el proveedor en el campo URL del servidor. Añade un nombre de conexión, una descripción, un icono, cabeceras HTTP personalizadas o la configuración del cliente OAuth si el servidor los requiere.

  1. Pega la URL del servidor MCP facilitada por el proveedor en el campo URL del servidor.
  2. Introduce un nombre para la conexión de Tabby-MCP.
  3. Añade una descripción y un icono si quieres que sea más fácil de identificar.
  4. Añade cabeceras HTTP personalizadas o los datos del cliente OAuth si el servidor requiere autenticación.
3

Crea la conexión

Haz clic en Crear conexión, vuelve a la lista de plugins y comprueba que la nueva conexión MCP esté activa.

  1. Haz clic en Crear conexión.
  2. Vuelve a la lista de conectores MCP.
  3. Comprueba que la conexión de Tabby-MCP aparezca como activa.
  4. Actualiza la lista de plugins si la conexión no aparece de inmediato.
4

Cambia de modelo sin volver a conectar

Inicia un chat con tu modelo preferido, activa las herramientas de Tabby-MCP desde Plugins y cambia de modelo cuando lo necesites. La conexión MCP seguirá disponible en el espacio de trabajo de TypingMind.

  1. Inicia un nuevo chat en TypingMind.
  2. Selecciona el modelo de IA que quieras usar.
  3. Activa las herramientas de Tabby-MCP desde Plugins.
  4. Pide al modelo que use la herramienta cuando sea necesario.
  5. Cambia a otro modelo de IA y reutiliza la misma conexión MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar Tabby-MCP para ayudarme con esta tarea?
Tabby-MCP
Claro. Lo he leído.
Esto he encontrado usando Tabby-MCP.

Preguntas frecuentes

¿Para qué sirve el servidor MCP Tabby-MCP?

Tabby-MCP es un servidor MCP que permite a los clientes de IA compatibles conectarse a herramientas y contexto externos. En TypingMind, basta con añadir este servidor MCP una vez para que sus herramientas estén disponibles en tu espacio de trabajo de IA.

¿Puedo usar el servidor MCP Tabby-MCP con varios modelos de IA en TypingMind?

Sí. TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que puedes usar Tabby-MCP con distintos modelos de IA, como Claude, ChatGPT, Gemini u otros que hayas configurado en TypingMind, sin configurar el servidor MCP por separado para cada modelo.

¿Por qué usar el conector MCP de Tabby-MCP con TypingMind?

TypingMind es una de las mejores interfaces de chat con LLM porque reúne varios modelos de IA, prompts, plugins, agentes de IA, claves de API y herramientas MCP en un solo espacio de trabajo. Con Tabby-MCP conectado, puedes usar sus herramientas MCP con tus modelos preferidos y mantener organizado tu flujo de trabajo de chat en TypingMind.

¿Cómo conecto el servidor MCP Tabby-MCP a TypingMind?

Puedes conectar Tabby-MCP en TypingMind con el conector MCP local o añadiendo la URL de un servidor MCP remoto. Usa el conector local cuando el servidor necesite acceder a archivos, aplicaciones o recursos privados de tu dispositivo, y una URL de servidor cuando el servidor MCP esté alojado de forma remota.

¿Qué herramientas ofrece el servidor MCP Tabby-MCP en TypingMind?

Tabby-MCP ofrece funciones MCP que puedes activar desde la página Plugins de TypingMind y usar en el chat o asignar a agentes de IA.

¿Tengo que compartir mis claves de API con TypingMind para usar el servidor MCP Tabby-MCP?

No. TypingMind prioriza el funcionamiento local y te permite mantener el control de tus proveedores de modelos, claves de API, prompts y configuración MCP. Si Tabby-MCP requiere autenticación, añade las cabeceras, los ajustes de OAuth o la configuración local necesarios para ese servidor MCP al crear la conexión.

Servidores MCP relacionados

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇