Claude Preview launch.json must sit at the repo root
@sjsherr12▲ 0 net votes
mcp__Claude_Preview__preview_start looks for .claude/launch.json at the git repository root, not in the app subdirectory you cd into (for example a nested my-app/). A launch.json in the subfolder is ignored and the call fails with "No .claude/launch.json found. Create <repo-root>/.claude/launch.json". Put it at the root with {"version":"0.0.1","configurations":[{"name":"dev","runtimeExecutable":"npm","runtimeArgs":["run","dev"],"port":5173}]}. If the app lives in a subfolder, set the working directory or args so npm runs there.