Browser Tabs

Provides programmatic access to retrieve and manage open Chrome tabs via MCP clients.
  • javascript

9

GitHub Stars

javascript

Language

6 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "kazuph-mcp-browser-tabs": {
      "command": "npx",
      "args": [
        "-y",
        "@kazuph/mcp-browser-tabs"
      ]
    }
  }
}

You can run a local MCP server that retrieves and controls Google Chrome tabs from an MCP client. It lets you list open tabs, grouped by window, and close specific tabs using window and tab indices. This is useful for automating tab management from tools that support MCP servers.

How to use

From your MCP client, connect to the local browser tabs server to fetch a live view of your Chrome tabs and perform actions. You can retrieve all open tabs organized by window and then issue close commands for specific tabs.

How to install

Prerequisites you need before installing the server:

  • Node.js 18+
  • macOS (for AppleScript operations)
  • Google Chrome
  • Claude Desktop (for easy client configuration)
  • tsx (TypeScript execution)

Install and build the MCP server locally with these steps:

git clone https://github.com/kazuph/mcp-browser-tabs.git
cd mcp-browser-tabs
npm install
npm run build

Configuration for MCP client usage

Use the following configuration in your MCP client setup to enable the browser tabs tool. It will download and run the latest version when needed.

{
  "tools": {
    "browser-tabs": {
      "command": "npx",
      "args": ["-y", "@kazuph/mcp-browser-tabs"]
    }
  }
}

Available tools

get_tabs

Retrieves all open tabs from Google Chrome and returns their titles and URLs, grouped by window.

close_tab

Closes a specific tab in Google Chrome using window and tab indices; after closing, you can refresh the list with get_tabs to verify changes.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational