r/iOSProgramming • u/semstr • Oct 23 '26
Tutorial I built an open-source MCP server so AI agents can control a real iPhone
I wanted to see if an AI agent could use my actual iPhone, not a simulator and not a mirrored screen. Nothing existed for it, so I built it.
Open iPhone Use is a free, open-source Mac app + MCP server. The iPhone shares its screen from Safari over local Wi-Fi (you don't even install an app on the phone, Safari does the sharing). The Mac pairs as a Bluetooth keyboard and mouse, and the agent gets screenshot and input tools over MCP, checking a fresh screenshot after every action.
It works with any AI agent: ChatGPT/Codex, Claude Code, any harness. Any model with strong computer-use skills is fine, GPT-6 Luna and Claude Haiku 5.5+ are good starting points. And since your client brings the model, your existing subscription is enough, no extra cost.
Demo (full video in the website): an agent searched Instagram, watched a Reel, scrolled the feed and liked one, all on my physical phone.
You only need an iPhone + an Apple Silicon Mac.
Download for Mac: https://github.com/semsturgut/open-iphone-use/releases
GitHub: https://github.com/semsturgut/open-iphone-use
Site: https://semsturgut.github.io/open-iphone-use/
Windows/Linux: coming soon
Multi device support: coming soon
Let me know what you think! And if you find this useful, a star on GitHub would help a lot.
1
u/Miserable-Carpet7928 Oct 25 '26
i'd make sending a message, buying something or deleting data require a separate confirmation, even if ordinary taps are allowed. a visible pause button on the mac would also give someone a way to stop the agent without fighting it for control of the phone.
1
7d ago
[removed] — view removed comment
1
u/AutoModerator 7d ago
Hey /u/Cappybearz, your content has been removed because Reddit has marked your account as having a low Contributor Quality Score. This may result from, but is not limited to, activities such as spamming the same links across multiple subreddits, submitting posts or comments that receive a high number of downvotes, a lack of recent account activity, or having an unverified account.
Please be assured that this action is not a reflection of your participation in our subreddit. This is simply an automated filter in place to reduce spam.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Fishanz Oct 23 '26
This only automates safari though, or?