Skip to main content
Glama

MCP Browser Tabs Server

by kazuph

close_tab

Close a specific browser tab by window and tab index, but use with caution due to high risk of targeting the wrong tab if tabs are reordered or closed. Recommended alternative: close_tab_by_id.

Instructions

⚠️ LEGACY DANGER: Close a specific tab using window/tab index. HIGH RISK of closing wrong tabs due to index shifting when tabs are reordered/closed. STRONGLY DEPRECATED: Use close_tab_by_id instead. Only use if Tab ID is unavailable.

Input Schema

NameRequiredDescriptionDefault
tabIndexYesDANGEROUS: Tab index (1-based) - changes when tabs are reordered
windowIndexYesDANGEROUS: Window index (1-based) - can target wrong window

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "tabIndex": { "description": "DANGEROUS: Tab index (1-based) - changes when tabs are reordered", "exclusiveMinimum": 0, "type": "integer" }, "windowIndex": { "description": "DANGEROUS: Window index (1-based) - can target wrong window", "exclusiveMinimum": 0, "type": "integer" } }, "required": [ "windowIndex", "tabIndex" ], "type": "object" }

Other Tools from MCP Browser Tabs Server

Related Tools

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/kazuph/mcp-browser-tabs'

If you have feedback or need assistance with the MCP directory API, please join our Discord server