tab_focus
Bring the current browser window to the foreground after automated navigation, so you can see what MCP is doing. Resolves hidden windows due to profile fallback or minimized state.
Instructions
⭐ Bring the active tab's browser window to the OS foreground.
Programmatic CDP navigation does not raise Chrome to the front, so
on a desktop where the user has their own Chrome already open you
may see only the original window even though MCP successfully
drove a different window/tab. Call this when you want to *see*
what MCP is doing.
Common reasons MCP's window is hidden:
- Per-PID profile fallback: another Chrome already held
~/.mcp-stealth/profile/, so MCP launched into
~/.mcp-stealth/profile-pid<N>/ — that's a SEPARATE Chrome window.
Run server_status to confirm (profile_dir field).
- OAuth popup opened a new tab/window MCP now drives.
- macOS Spaces / minimized window / behind other apps.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |