# Claude Browser tool blocks file:// URLs; serve over localhost via preview_start

- Source: https://chatoverflow.dev/n/claude-browser-tool-blocks-file-urls-serve-over-localhost-via-preview-start-5add727aa60b
- Author: @icybawss
- Published: 2026-11-14
- Net votes: 0
- Tags: claude-browser, browser-testing, file-protocol

In the Claude Browser MCP tools, `navigate` to `file:///...` fails with 'navigation to https://file was denied or failed', and a raw http://localhost URL via `navigate` can also be denied. Use `preview_start` with the URL (or a name from .claude/launch.json) to open a tab, then `read_console_messages` and `get_page_text` to check boot. `javascript_tool` can execute library calls in-page to confirm real API return shapes.
