npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

tabby-mcp

v0.0.2

Published

Model Context Protocol implementation for Tabby

Readme

🚀 Tabby-MCP-Server

npm version License: MIT GitHub issues GitHub stars

Powerful Tabby plugin that implements Model Context Protocol (MCP) server, enabling AI-powered terminal control and automation.

Plugin for Tabby Terminal - a modern, highly configurable terminal emulator.

📹 Video Demo

Watch the full video demonstration of Tabby-MCP in action:

Tabby MCP Plugin - AI Terminal Integration Demo

✨ Features

  • 🤖 AI Connection: Seamlessly connect AI assistants to your terminal
  • 🔌 MCP Server: Built-in Model Context Protocol server implementation
  • 🖥️ Terminal Control: Allow AI to execute commands and read terminal output
  • 🔍 Session Management: View and manage SSH sessions
  • 🚫 Command Abort: Safely abort running commands
  • 📋 Buffer Access: Retrieve terminal buffer content with flexible options
  • 🔒 Pair Programming Mode: Optional confirmation dialog before command execution
  • 📊 Command History: Track and review previously executed commands
  • 🔄 Command Output Storage: Paginated access to complete command outputs

📋 Table of Contents

🔧 Installation

Install from Tabby Plugin Store

  1. Go to Tabby settings → Plugins → MCP
  2. Click "Install" on the Tabby MCP plugin
  3. Restart Tabby
  4. Configure your AI client to connect to the MCP server (see Connecting to MCP)

Using Docker

You can build and install the plugin using Docker with the following command:

git clone https://github.com/thuanpham582002/tabby-mcp-server.git
cd tabby-mcp-server
# Build the Docker image
docker build -t tabby-mcp . && docker run -v $(pwd)/build:/output tabby-mcp
bash scripts/copy_to_plugin_folder.sh

This command builds a Docker image tagged as 'tabby-mcp' and runs a container from this image, mounting your local 'build' directory to '/output' in the container. The script scripts/copy_to_plugin_folder.sh will copy the built files to the Tabby plugin folder.

🚀 Quick Start

  1. Install the plugin using one of the methods above
  2. Start Tabby and navigate to Settings → Plugins → MCP
  3. Configure the MCP server port (default: 3001)
  4. Toggle "Start on Boot" to automatically start the server when Tabby launches
  5. Connect to the MCP server from any supported AI client listed at https://modelcontextprotocol.io/clients

💻 Usage Examples

Connect an AI to Control Your Terminal

  1. Start Tabby with the MCP plugin enabled
  2. Configure your AI client to connect to the MCP server (see Connecting to MCP)
  3. Ask your AI assistant to run commands or manage your terminal sessions

Example AI prompt:

Connect to my Tabby MCP server and list all available terminal sessions.
Then execute the command "ls -la" in the first available terminal.

🔗 Connecting to MCP

To configure AI clients to use your MCP server, add the following to your ~/.cursor/mcp.json file:

STDIO mode:

{
  "mcpServers": {
    "Tabby MCP": {
      "command": "npx",
      "args": [
        "-y",
        "tabby-mcp-stdio",
        "--port",
        "3001"
      ]
    }
  }
}

SSE mode:

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

Select your preferred MCP server in your AI client settings. The Tabby MCP plugin must be running for the "Tabby MCP" (SSE) option to work, while the STDIO and Docker options will start their own server instances.

⚙️ Configuration in Tabby Setting

Configure the MCP server through the Tabby settings:

{
  "mcp": {
    "port": 3001,
    "host": "http://localhost:3001",
    "enableLogging": false,
    "startOnBoot": true,
    "pairProgrammingMode": {
      "enabled": true,
      "showConfirmationDialog": true,
      "autoFocusTerminal": true
    }
  }
}

Pair Programming Mode

The plugin includes a "Pair Programming Mode" that adds safety features when AI assistants control your terminal:

  • Confirmation Dialog: Prompt user before executing commands
  • Auto Focus Terminal: Automatically focus terminal when commands are executed
  • Command Rejection: Ability to reject commands with feedback

To enable Pair Programming Mode:

  1. Go to Tabby settings → Plugins → MCP
  2. Toggle "Enable Pair Programming Mode"
  3. Configure additional safety options as needed

📚 API Reference

Available Tools

| Tool | Description | Parameters | |------|-------------|------------| | get_ssh_session_list | Get list of all terminal sessions | None | | exec_command | Execute a command in terminal | command, tabId, commandExplanation | | get_terminal_buffer | Get terminal content | tabId, startLine, endLine | | get_command_output | Retrieve complete command output | outputId, startLine, maxLines |

🤝 Contributing

Contributions are welcome! Here's how you can help:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/your-feature)
  3. Commit your changes (git commit -m 'Add your feature')
  4. Push to the branch (git push origin feature/your-feature)
  5. Open a Pull Request

See the contributing guidelines for more details.

Development Workflow

  1. Clone the repository and install dependencies:

    git clone https://github.com/thuanpham582002/tabby-mcp-server.git
    cd tabby-mcp-server
    npm install
  2. Make your changes to the codebase

  3. Build the plugin:

    docker build -t tabby-mcp . && docker run -v $(pwd)/build:/output tabby-mcp
  4. Test the plugin with Tabby:

    bash scripts/copy_to_plugin_folder.sh

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.