Tabby MCP Server

A Tabby Terminal plugin that exposes terminal tabs to MCP clients: the agent sees sessions, runs commands and reads the buffer.

  • 96 ★ on the repository
  • Last commit
MCP server

Broad access

Why this level

  • The agent runs commands in your terminals, SSH servers included, with the current session's rights.
  • With `listenHost` set to `0.0.0.0` the server is open to the whole network without authentication.
All reasons and checks

thuanpham582002/tabby-mcp-server

Install

Manual install

claude mcp add --transport sse tabby-mcp http://localhost:3001/sse

The Tabby plugin must be running. For other clients a JSON config with type `sse` works.

Access and checks

How we review

Broad accessThe tool can change data, run commands or handle secrets.

  • The agent runs commands in your terminals, SSH servers included, with the current session's rights.
  • With `listenHost` set to `0.0.0.0` the server is open to the whole network without authentication.

This is third-party code. Review the repository files before installing.

What it does

The plugin embeds an MCP server in Tabby and serves it over SSE at `http://localhost:3001/sse`. A client discovers open tabs, local and SSH ones included, runs commands in a chosen tab and reads the terminal buffer. There are four tools: `get_ssh_session_list`, `exec_command`, `get_terminal_buffer` and `get_command_output`. Long output is stored under an `outputId` and returned in pages. A command's exit code is parsed through a simple marker protocol. Pair programming mode shows a confirmation dialog before each command and returns your feedback to the agent on rejection. Server check: `curl http://localhost:3001/health`.

Who it is for. Admins and developers who work in Tabby and want an agent to see their terminal and act in it.

Good fit when

  • A service fails in an open SSH tab and the agent must read the log right there
  • A command printed hundreds of lines and the answer is needed in pages through `outputId`
  • Before every agent command you want a confirmation window and a chance to reject it
  • You need to know which tabs are open and which servers they connect to

Not a fit when

  • The terminal holds production sessions with no rollback: the agent can run any command
  • A different terminal is used: the plugin works only inside Tabby
  • The server must be open on the network without limits: by default only the local address is listened on

Example request

List the open Tabby tabs, go to the tab with the server and print the last hundred lines of the application log.

MCP

Transport
sse
Authentication
not required

Limitations

The plugin needs a running Tabby and an MCP client with SSE support. Building from source needs Docker, and the bundled copy script targets macOS. The agent runs commands with your session's rights, SSH servers included, so keep pair programming mode on. Setting `listenHost` to `0.0.0.0` opens the server to the whole network: restrict it with a firewall. The last commit dates from October 2026.

How to disable. Remove the connection with `claude mcp remove tabby-mcp`, then disable the plugin in Tabby (Settings, Plugins) and restart the app.

FAQ

How do I connect Tabby MCP to Claude Code?

Start Tabby with the plugin and run `claude mcp add --transport sse tabby-mcp http://localhost:3001/sse`. If the client version lacks SSE, put the same URL into the JSON configuration.

Will there be a confirmation prompt before a command?

Yes, if pair programming mode is on: it shows a dialog before execution and lets you reject a command with feedback.

How do I get a long command output in full?

Call `get_command_output` with `outputId` and the `startLine` and `maxLines` parameters. The output comes in pages.

What is the server address and how do I check it?

The SSE endpoint is `http://localhost:3001/sse` and `http://localhost:3001/health` should return OK.

How do I open the server for WSL?

Set `listenHost` to `0.0.0.0` in Settings, Plugins, MCP and use a reachable address in the client. Restrict access with a firewall: the server has no authentication.

Discussion

No questions or reviews yet.

Console Automation MCP gives an agent local shells and SSH sessions: input, output, error detection, long processes

MCP serverBroad access54Repository stars

TMX is a desktop SSH client with terminals, SFTP and a built-in MCP server through which an agent drives sessions.

MCP serverBroad access102Repository stars

An SSH MCP server: the agent runs commands, reads and writes files over SFTP, transfers files and starts long jobs while credentials stay with you

MCP serverBroad access1KRepository stars

An MCP server giving ChatGPT and agents a terminal, files, Playwright and remote machines inside an isolated workspace.

MCP serverBroad access106Repository stars

MCP SSH Agent is an MCP server that reads hosts from ~/.ssh/config, runs commands and copies files through system ssh and scp.

MCP serverBroad access105Repository stars

README in short

Tabby remains the terminal UI while the agent connects to it over MCP. Settings live in Settings, Plugins, MCP: port, autostart, listen host and pair programming mode.

README badge

Report a problem