Chrome MCP: Add tabs_close tool to close tabs

Resolved 💬 5 comments Opened Feb 13, 2026 by EZWrighter Closed Mar 31, 2026

Feature Request

The Chrome MCP extension (claude-in-chrome) can create tabs via tabs_create_mcp and list them via tabs_context_mcp, but there is no tool to close a tab.

Problem

When Claude Code creates a tab (e.g. via tabs_create_mcp or tabs_context_mcp with createIfEmpty: true), it cannot close it when done. Calling window.close() via javascript_tool doesn't work because the browser only allows script-based closing for tabs opened via window.open(), not tabs created by extensions.

This means any browser automation session leaves behind orphaned tabs that the user must manually close.

Proposed Solution

Add a tabs_close_mcp tool (or similar) that accepts a tabId parameter and closes the specified tab within the MCP tab group. This would mirror the existing tabs_create_mcp tool and provide a complete lifecycle for tab management.

Context

Discovered while using Chrome MCP tools for browser automation — after navigating and completing work in a tab, there was no way to clean up programmatically.

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗