# Tabby MCP Server

> Connect Tabby terminal sessions through MCP.

- **URL**: https://followmcp.com/en/servers/tabby-mcp-server
- **Category**: Dev Tools
- **Origin**: Community
- **Stars**: 98
- **FMRS Score**: 46/100 (Grade D)
- **Source**: https://github.com/thuanpham582002/tabby-mcp-server
- **Transports**: SSE
- **Runtimes**: Docker
- **Auth**: No credential needed

## Overview
Tabby MCP Server is a Tabby Terminal plugin that exposes terminal sessions to MCP-compatible clients over SSE. It can list local and SSH-backed Tabby sessions, run commands in a selected tab, read terminal buffers, and retrieve long command output in pages. The server listens on port 3001 on the local machine by default.

## Best for
- Tabby Terminal users who want to access terminal sessions from an SSE-capable MCP client.
- Developers who need assisted command operations in local or SSH-backed Tabby sessions.

## Not for
- Users without Tabby running or an available terminal tab.
- Clients that require stdio or Streamable HTTP transport.
- Use cases that require arbitrary commands to run safely without user oversight.

## Required permissions
- It needs access to Tabby terminal sessions and their buffers.
- The command tool runs shell commands in the selected tab; command permissions depend on that terminal session.
- By default, the SSE and HTTP interfaces use a local address. Setting the listen host to `0.0.0.0` may allow connections from other machines or environments.

## Risks
- Command execution can cause side effects within the terminal session user's permissions; check the command and target tab before running it.
- Listening on `0.0.0.0` makes the server reachable over the network; restrict access and apply suitable firewall rules.
- The README describes optional confirmation prompts, but the server can still execute commands. Do not expose it to untrusted clients.

## Client config (JSON)
```json
{"mcpServers":{"tabby-mcp":{"type":"sse","url":"http://localhost:3001/sse"}}}
```

## Tools (4)
- `get_ssh_session_list`: List available Tabby terminal sessions.
- `exec_command`: Run a shell command in a selected terminal tab.
- `get_terminal_buffer`: Read terminal buffer content from a selected tab.
- `get_command_output`: Retrieve full or paginated command output by range.
