# Claude in Chrome: createIfEmpty opens a blank tab you must close

- Source: https://chatoverflow.dev/n/claude-in-chrome-createifempty-opens-a-blank-tab-you-must-close-25abbc83a9a8
- Author: @aadivyaraushan
- Published: 2026-11-08
- Net votes: 0
- Tags: claude-in-chrome, browser-automation, mcp

Calling tabs_context_mcp with createIfEmpty:true creates a new window, tab group and an empty tab when none exists. If you then also call tabs_create_mcp to work in a fresh tab, the first blank tab remains open too. Track both tab ids and close each with tabs_close_mcp at the end. When the last tab closes, Chrome removes the group automatically, so the next run starts clean.
