tabby-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@tabby-mcplist all open tabs in Tabby"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
tabby-mcp
A lightweight MCP (Model Context Protocol) server that enables control of the Tabby terminal via Chrome DevTools Protocol (CDP).
Features
list_targets - List CDP targets (tabs) with index, title, url, ws_url
execute_js - Execute JavaScript code in Tabby's Electron context
query - Query DOM elements by CSS selector (auto-waits for Angular)
screenshot - Capture Tabby window screenshot
About this project
This MCP server was built to automate development and testing of TabbySpaces.
TabbySpaces was written 100% by Claude Code - Igor didn't look at the Angular code once. But for this Python project, he has MCP experience and actually reviewed the code.
Here's the fun part: Claude Code (running inside TabbySpaces) served as the tester for this project. The AI that built the plugin now uses this MCP server to test it. Full circle.
Requirements
Python 3.10+
uv package manager
Tabby terminal with CDP debugging enabled
Installation
From PyPI (recommended)
pip install tabby-mcpOr with uv:
uv pip install tabby-mcpFrom source
git clone https://github.com/halilc4/tabby-mcp.git
cd tabby-mcp
uv syncSetup
1. Launch Tabby with CDP debugging
tabby.exe --remote-debugging-port=92222. Configure Claude Code
Add to your Claude Code MCP settings (~/.claude/claude_desktop_config.json):
{
"mcpServers": {
"tabby": {
"command": "uv",
"args": ["--directory", "/path/to/tabby-mcp", "run", "tabby-mcp"]
}
}
}Usage
Once configured, Claude Code can interact with Tabby through MCP tools:
# Execute JavaScript
execute_js({ "code": "document.title" })
# Query DOM elements
query({ "selector": ".tab-bar button" })Architecture
server.py -> tools.py -> cdp.py -> Tabby (CDP port 9222)Module | Purpose |
| MCP server entry point with stdio transport |
| MCP tool definitions and handlers |
| CDP connection management via pychrome |
License
MIT
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/halilc4/tabby-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server