# Tabby-MCP

> Let AI assistants operate Tabby Terminal through MCP.

- **URL**: https://followmcp.com/en/servers/tabby-mcp
- **Category**: Dev Tools
- **Origin**: Community
- **Stars**: 79
- **FMRS Score**: 63/100 (Grade C)
- **Source**: https://github.com/GentlemanHu/Tabby-MCP
- **Transports**: Streamable HTTP, SSE, stdio (local process)
- **Runtimes**: Node.js 18+
- **Auth**: No credential needed

## Overview
Tabby-MCP is a plugin for Tabby Terminal that gives AI assistants tools for terminal commands and interactive input, tab and profile management, and SFTP file operations. It offers Streamable HTTP, legacy SSE, and a STDIO bridge. SFTP requires tabby-ssh; session environment detection is disabled by default.

## Best for
- Users of Tabby Terminal who want to connect AI assistants through MCP.
- Users automating command, tab, or SSH/SFTP workflows in terminal sessions.

## Not for
- Users who do not use Tabby Terminal.
- Workflows that require sensitive commands or file operations to run without confirmation.
- Environments that need SFTP but do not have tabby-ssh installed.

## Required permissions
- Can run terminal commands and send interactive input; actual access depends on the selected session and its account permissions.
- Can manage tabs and profiles and, where configured, establish connections such as SSH.
- SFTP tools can access remote files; uploads and downloads also use specified local file paths.
- The server listens on 127.0.0.1 by default; API key authentication is required if bound to a non-loopback address.

## Risks
- Commands and interactive input can change local systems or remote hosts; background execution may hide activity from the user.
- With Pair Programming confirmation enabled, some commands, input, and sensitive SFTP operations require approval; unanswered dialogs automatically reject after two minutes.
- Changing the listen address to a non-loopback interface expands network reachability; protect the API key.
- SFTP deletes, writes, and transfers can change remote or local files.

## Client config (JSON)
```json
{"mcpServers":{"Tabby MCP":{"type":"streamable_http","url":"http://127.0.0.1:3001/mcp"}}}
```

## Tools (37)
- `get_session_list`: List terminal sessions with stable UUIDs and status information.
- `exec_command`: Run a command in a terminal session and return its output and exit code.
- `send_input`: Send interactive input to a terminal, such as Ctrl+C.
- `submit_keyboard_interactive_response`: Submit an SSH keyboard-interactive authentication response, such as an MFA or password prompt response.
- `reconnect_session`: Reconnect a closed or disconnected terminal session.
- `get_terminal_buffer`: Read the terminal buffer.
- `abort_command`: Abort a running command.
- `get_command_status`: Check the status of active commands.
- `focus_pane`: Focus a specific pane in a split view.
- `get_session_environment`: Detect the shell or REPL context; disabled by default.
- `list_tabs`: List open tabs and their stable IDs.
- `select_tab`: Focus a specified tab.
- `close_tab`: Close a tab.
- `close_all_tabs`: Close all tabs.
- `duplicate_tab`: Duplicate a tab.
- `next_tab`: Move to the next tab.
- `previous_tab`: Move to the previous tab.
- `move_tab_left`: Move a tab to the left.
- `move_tab_right`: Move a tab to the right.
- `reopen_last_tab`: Reopen the most recently closed tab.
- `split_tab`: Split the current tab horizontally or vertically.
- `list_profiles`: List terminal profiles.
- `open_profile`: Open a tab with a selected profile.
- `show_profile_selector`: Show the profile selection dialog.
- `quick_connect`: Quick-connect using SSH, telnet, socket, or serial.
- `sftp_list_files`: List files in a remote directory.
- `sftp_read_file`: Read a remote text file.
- `sftp_write_file`: Write a remote text file.
- `sftp_mkdir`: Create a remote directory.
- `sftp_delete`: Delete a remote file or directory.
- `sftp_rename`: Rename or move a remote file.
- `sftp_stat`: Get information about a remote file or directory.
- `sftp_upload`: Upload a local file to a remote location.
- `sftp_download`: Download a remote file to a local path.
- `sftp_get_transfer_status`: Check the progress of a file transfer.
- `sftp_list_transfers`: List file transfers, optionally filtered by status.
- `sftp_cancel_transfer`: Cancel an active file transfer.
