Credentials. The API key you add is used by the agent to call the model provider, so only use keys you are comfortable exposing to that provider's service.
Who it is forA developer away from their desk who wants to start or change a web project using only a phone.
The problemStarting a web project usually means a laptop with a terminal, Node.js, and an editor set up.
The outcomeA project in the phone's Ubuntu workspace with code written by Claude Code, ready to preview.
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
- Install Mobile Harness and complete the guided bootstrap, including the Node.js toolchain included in Core.
- In the AI Provider step, add your Claude account or API key so it is stored in Android Keystore.
- Tap New Project or Quick Project, then open the AI Workspace and select Claude Code.
- Describe the web app you want, such as a small Vite or Express site, and let the agent inspect files and draft code.
- Ask the agent to start the dev server, then open the web preview to check the result.
Prompt for your agent
In Mobile Harness on an ARM64 Android phone, open a new project in the AI Workspace with Claude Code and ask it to create a small Vite web page. Expected output: project files in the workspace and a running local preview. Verify that the preview loads and the files appear in the project.
Caveat. Mobile Harness uses Claude Code's Anthropic-compatible API protocol, and usage is subject to your account or provider limits.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for techjarves/Mobile-Harness and "Have Claude Code build a web app from 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