Who it is forA web developer who wants to check a running server's interface on mobile without deploying it.
The problemTesting how a web interface behaves on a phone usually requires deploying it or using a separate device.
The outcomeA live local web server shown in an in-app preview with console output for debugging.
What you need first
- ARM64 Android phone running Android 9.0 or newer
- About 2.5 GB free storage for the base runtime, more for optional toolchains
- Stable internet for setup and API calls, or the Offline APK edition
- A Claude account or an API key from a supported provider
- Permission to allow installs from Mobile Harness when Android asks
Steps
- Open an existing project or tap Quick Project in Mobile Harness.
- Open the Terminal and run your project's dev server command, such as the one for Vite, Next.js, or Express.
- Open the web preview from the workspace to load the running server.
- Check the console telemetry in the preview for errors, then fix the code and reload.
Prompt for your agent
In Mobile Harness on an ARM64 Android phone, start a Vite dev server for the project at <project-name> from the Terminal and open the Instant Web Preview. Expected output: the app renders in the WebView with console messages visible. Verify that the page loads without errors in the console.
Caveat. The preview runs in a restricted, sandboxed mobile WebView, so it may not match how the app behaves in a full desktop browser.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for techjarves/Mobile-Harness and "Preview a local Vite or Express server on your phone"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer