> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mobilerun.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Code

> Connect Claude Code to Mobilerun phones using the MCP server or mobile-harness skill.

Claude Code is Anthropic's coding agent. Give it access to Mobilerun to inspect a phone and run mobile tasks alongside your development work.

## Setup

1. [Set up a phone](https://docs.mobilerun.ai/devices.md) and install Claude Code.

2. Register the remote MCP server in your terminal:

   ```bash theme={null}
   claude mcp add --transport http mobilerun https://cloud.mobilerun.ai/api/mcp
   ```

3. Start Claude Code, open `/mcp`, select Mobilerun, and authenticate in your browser.

Alternatively, use the [mobile-harness skill](https://docs.mobilerun.ai/skills/mobile-harness.md) to control local and cloud devices through Python.

## First task

> List my Mobilerun devices and take a screenshot of the ready device.

Review tool permissions before approving actions. See [MCP Server](https://docs.mobilerun.ai/mcp-server.md) for available tools and authentication.

See the [Claude Code MCP documentation](https://code.claude.com/docs/en/mcp).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.