You ask your AI assistant to check whether the new sign-up screen looks right on an older Android phone. It writes a confident answer, but it has never seen the screen. The phone is on your desk, plugged into your Mac, and the assistant has no way to reach it.
The short version: MobileFarm AI is also an MCP 服务器. Add its address to Claude, ChatGPT, Cursor or another MCP app, sign in once, and that app can list your real phones, take screenshots, tap, type and open apps.
This guide covers what MCP is in plain terms, what an AI app can actually do with your phones through MobileFarm AI, how to choose between the local and public address, and how to connect Cursor, Claude and ChatGPT. It ends with safe habits for letting an assistant drive a real device.
Key Takeaways
- MobileFarm AI runs an MCP server, so MCP apps can see and control the iPhones, iPads and Android phones plugged into your Mac.
- The local address is
http://127.0.0.1:8288/mcp. It is the fastest and only works for apps running on that same Mac. - The public address is
https://api.mobilefarm.ai/mcp. It works from anywhere and needs the Cloud plan. - Sign-in uses OAuth, so there are no tokens to copy and paste.
- Claude custom connectors and ChatGPT reach MCP servers over the internet, so they need the public address.
1. What MCP Means for Real Phones
The Model Context Protocol (MCP) is an open standard that lets an AI app call tools on another system. The AI app is the client. The system that offers the tools is the server. You can read the official introduction at modelcontextprotocol.io.
For phones, the server is the MobileFarm AI Mac app. It already streams every connected phone to your Mac and can tap, type and swipe on each one. MCP exposes those same actions to any AI app that speaks the protocol. If your phones are not connected yet, start with how to connect iPhones, iPads and Android phones to your Mac.
What it is not:
- Not an emulator: The assistant works on the physical phones you plugged in, with their real OS versions, screens and installed apps.
- Not a cloud phone rental: The phones stay on your desk, connected to your own Mac.
- Not a social automation tool: MobileFarm AI is for testing and device management. Fake engagement, spam, fake reviews and mass account creation are against the terms.
2. What an AI App Can Do Through the MobileFarm MCP Server
Once connected, the AI app sees a set of phone tools. Based on the tools the MobileFarm MCP server lists today, an assistant can:
- List phones: See every connected iPhone, iPad and Android phone with its number, model, OS version and battery.
- Take screenshots: Get the current screen of a phone as an image, so it can see what a user would see.
- Read the screen: List buttons, text and input fields with their positions, which is more reliable than guessing from pixels.
- Tap, long press and swipe: Interact with any point on the screen, and scroll by swiping.
- Type and press keys: Type into the focused field and press hardware or navigation keys.
- Open apps and links: Find installed apps by name, launch one, or open a web address on the phone.
- Unlock and sign in safely: Wake and unlock a phone with a PIN saved in the MobileFarm Vault, and type a saved login into a field. Passwords are typed by the app, not shown to the AI.
That is enough for useful QA work: “Open our app on every Android phone and screenshot the home screen”, or “Go through sign-up on phone 3 and tell me where the layout breaks.” For the bigger picture of what an agent can handle on real devices, see what an AI agent can do on real phones.
3. Local vs Public Address: Which One to Use
MobileFarm AI gives you two MCP addresses. The right one depends on where the AI app runs, not where you sit.
| Aspect | Local address | Public address |
|---|---|---|
| Address | http://127.0.0.1:8288/mcp | https://api.mobilefarm.ai/mcp |
| Works from | Apps running on the same Mac as MobileFarm AI | Anywhere with internet access |
| Plan | Any plan, including Lifetime | Cloud plan |
| Speed | The fastest option | Goes through MobileFarm’s server |
| Good for | Cursor and command-line agents on that Mac | Claude, ChatGPT, and tools on other computers |
| Sign-in | OAuth, once | OAuth, once |
A practical rule: if the AI app runs as a program on the Mac your phones are plugged into, try the local address first. If the app runs in a browser or reaches tools through its vendor’s cloud, use the public address.
The public address needs the Cloud plan, which is $9 a month or $86.40 a year and includes access to 1 remote Mac and up to 5 remote phones. Details are in the pricing section, and the remote access section explains how phones on an office Mac stay reachable from elsewhere.
4. How to Connect Cursor, Claude and ChatGPT
Before you start, open MobileFarm AI on your Mac and check that your phones show live screens. The MCP server can only control phones the app can see.
A. Cursor (local address)
Cursor runs on your Mac, so it can use the local address. Cursor lets you manage MCP servers from its settings or in an mcp.json file, and it supports remote servers by URL with OAuth. An entry looks like this:
{
"mcpServers": {
"mobilefarm": {
"url": "http://127.0.0.1:8288/mcp"
}
}
}
Save it, then complete the sign-in when Cursor asks. Cursor’s own guide is at cursor.com/docs/context/mcp. If Cursor runs on a different computer from your phones, use the public address instead.
B. Claude (public address)
Claude connects to remote MCP servers as custom connectors. Anthropic’s documentation says Claude reaches the server from Anthropic’s cloud, not from your device, on every Claude client, including Claude Desktop. A 127.0.0.1 address cannot work there, so use https://api.mobilefarm.ai/mcp on the Cloud plan. Add it as a custom connector and sign in when prompted. See Anthropic’s guide to custom connectors.
C. ChatGPT (public address)
ChatGPT on the web can add a custom MCP server by its server URL, with OAuth sign-in. Use the public address here too. OpenAI’s steps are in Add custom MCP server. Workspace permissions on your ChatGPT account may control whether you can add one.
D. Check that it works
Ask the assistant something read-only first: “List my phones.” You should see the same phones the Mac app shows. Then try “Take a screenshot of phone 1.” If both work, the connection is set up.
5. Safe Habits and Honest Limits
An assistant that can tap on a real phone can also tap the wrong thing. A few habits keep it useful:
- Use test accounts and test devices: Keep personal and production accounts off the phones you hand to an AI app.
- Start read-only: Ask for lists and screenshots before you ask for taps and typing.
- Keep secrets in the Vault: Save PINs and test logins there, so the assistant can type them without seeing the password.
- Review actions: Most MCP apps can ask you to approve tool calls. Leave that on while you learn how the assistant behaves.
Know the limits, too. MCP gives an assistant hands and eyes on the phone, not judgment about your product. For repeatable checks, the built-in agent and schedules may fit better: you can write a test in plain words and run it on every phone, as covered in the QA automation section. And some things, like how a device feels in the hand, still need a person. If you are building out the hardware side, read how to build a phone test lab on your Mac.
Frequently Asked Questions
Yes, if the iPhone is connected to MobileFarm AI on your Mac and you add the public address, https://api.mobilefarm.ai/mcp, as a Claude custom connector. Claude reaches MCP servers from Anthropic’s cloud, so the local address does not work for Claude. The public address needs the Cloud plan.
Not always. The local address, http://127.0.0.1:8288/mcp, works for apps running on the same Mac as MobileFarm AI. You need the Cloud plan for the public address, which apps on other computers and cloud-based assistants such as Claude and ChatGPT use.
Any phone MobileFarm AI can see: iPhones and iPads over USB with Developer Mode on, and Android phones from most brands with USB debugging on, over USB or Wi-Fi. No root is needed. If the phone shows a live screen in the Mac app, MCP can reach it.
No. The MobileFarm MCP server uses OAuth. You add the address in your AI app, sign in once in the window it opens, and the app is connected. There is no token to paste into a config file.
No. The built-in agent runs inside MobileFarm AI, with schedules, bots and reports. MCP lets an outside AI app, such as Claude, ChatGPT or Cursor, use your phones directly. Many teams use both: the agent for scheduled checks, MCP for ad hoc questions from the tools they already work in.
Conclusion
MCP turns your AI assistant from something that guesses about your app into something that can look at a real phone and act on it. The main decision is the address: local for apps on the same Mac, public on the Cloud plan for Claude, ChatGPT and anything running elsewhere.
Start with a read-only “list my phones” request, then build up to real checks. If you do not have the Mac app yet, download MobileFarm AI for Mac and connect your first phone.
