vphone-mcp
claude mcp add vphone -- uvx vphone-mcp
One MCP tool that lets an agent install IPAs and tweaks, read app containers, and filter app logs inside a jailbroken vphone iOS VM.
- One tool, 25 actions. About 530 tokens of context in total.
- Built for jailbreak work. Installs
.debtweaks with dpkg and lists what is injected. - Lean replies. Logs are filtered by regex in the server, and screenshots come back at screen-point size.
Quick start (about 40 minutes, mostly downloads)
You need an Apple silicon Mac set up for vphone. Steps 1 to 6 happen once.
- Create a VM (25 to 40 minutes): install vphone-launchpad, finish Host Setup, then run
vphone-launchpad-cli vm create vphone. - Install Irisin (1 minute): in the VM window, choose Apps > Install Bootstrap… and select roothide.
- Add repos in Irisin (2 minutes):
https://apt.owngoal.devhttps://roothide.github.io/- Procursus, through Add Advanced Source: URL
https://roothide.github.io/procursus, suiteiphoneos-arm64e/1900, componentmain
- Install the base system (about 3 minutes): queue OwnGoal Bootstrap for vphone, tap Execute, then tap Bootstrap Install. This brings in apt, dpkg, sudo and openssh.
- Install ElleKit (1 minute): install ElleKit in Irisin. Without it, tweaks install but never load.
- Set up ssh (10 seconds):
uvx vphone-mcp setup-ssh - Add the server to your agent: run the command at the top of this README.
Check that it works: ask your agent to "list user apps on the vphone".
Actions
Every call has the form vphone(action, args).
Apps
| Action | Args | Does |
|---|---|---|
install_ipa |
path |
Installs an IPA from the host. vphoned re-signs it and keeps its entitlements |
list_apps |
system=false, query? |
Name, bundle id, bundle path, data path |
app_info |
bundle_id |
Adds documents_path, the executable and entitlements |
launch / terminate / uninstall |
bundle_id |
launch unlocks the screen first and also accepts url |
prefs |
bundle_id |
The app's preferences plist |
Tweaks
| Action | Args | Does |
|---|---|---|
install_tweak |
path, respring=true |
Runs dpkg -i on a .deb from the host |
remove_tweak |
package, respring=true |
Runs dpkg -r |
tweaks |
none | Packages that ship a tweak dylib |
Files and logs
| Action | Args | Does |
|---|---|---|
ls |
path |
Lists a guest directory |
pull / push |
path, to |
Copies a file between host and guest over scp, at any size |
logs |
bundle_id? or process?, seconds, include?, exclude? |
Live capture with regex filters |
crashes |
bundle_id? or path? |
Lists crash reports, or reads one |
Screen
| Action | Args | Does |
|---|---|---|
ui |
none | The screen as text. Cheaper than a screenshot |
tap_text / wait |
text, match, timeout |
Taps or waits by label instead of coordinates |
screenshot / tap / swipe |
screen points (430x932) | Coordinates match ui |
key / type |
name / text |
home, power, return, cmd+v, … |
Escape hatches
| Action | Args | Does |
|---|---|---|
shell |
command, root=false |
Runs a command over ssh in the bootstrap shell |
rpc |
method, params? |
Calls any of vphoned's ~150 methods |
Example: did my tweak load?
vphone("install_tweak", {"path": "~/Downloads/MyTweak.deb"})
vphone("launch", {"bundle_id": "com.apple.Preferences"})
vphone("logs", {"bundle_id": "com.apple.Preferences", "seconds": 10, "include": "MyTweak"})
Each log line looks like HH:MM:SS process[pid] level subsystem:category message, so include and exclude can match any of those fields.
Paths to know
- Action args take real-root paths, for example
/private/var/mobile/Containers/Data/Application/<UUID>/Documents. - In
shell, the real root is under/rootfs. roothide puts the bootstrap's own/somewhere else. app_inforeturns the container paths, so you never have to guess a UUID.
Configuration
All settings are optional environment variables.
| Variable | Default | What it sets |
|---|---|---|
VPHONE_MACHINE |
vphone |
Machine name |
VPHONE_LIBRARY |
~/.vphone/machines |
Folder that holds the machines |
VPHONE_SSH_KEY |
~/.ssh/vphone |
Key that setup-ssh creates and that ssh uses |
VPHONE_SSH_PORT |
22 |
Guest sshd port |
VPHONE_TIMEOUT_S |
300 |
Timeout for each call |
When something fails
| Error | Cause | Fix |
|---|---|---|
vphone is not running |
No vphone.sock |
vphone-launchpad-cli vm start vphone |
frontmost application could not be verified |
ui, tap_text and wait need an app in front |
launch an app first, or use screenshot and tap |
device is locked or screen is off |
The guest auto-locked | Call launch (it unlocks), or rpc screen.unlock |
Permission denied (publickey…) |
No key in the bootstrap | uvx vphone-mcp setup-ssh |
| A tweak installs but nothing happens | ElleKit is missing | Quick start, step 3 |
How it works
agent ──MCP──▶ vphone-mcp ──▶ vphone.sock ──▶ vphoned (in the guest) apps, files, logs, UI
└──▶ ssh / scp ────▶ bootstrap sshd dpkg, file transfer
vphone.sock refuses requests over 1 MiB, so files travel over scp.
src/vphone_mcp/
├── server.py the `vphone` tool and the setup-ssh command
├── machine.py vphone.sock client
├── shell.py ssh, scp, key setup
└── actions/
├── apps.py install_ipa, list_apps, app_info, launch, terminate, uninstall, prefs
├── tweaks.py install_tweak, remove_tweak, tweaks
├── files.py ls, pull, push
├── logs.py logs, crashes
├── ui.py screenshot, tap, swipe, key, type, ui, tap_text, wait
└── raw.py shell, rpc
Develop
git clone https://github.com/marioparaschiv/vphone-mcp && cd vphone-mcp
uv sync
claude mcp add vphone -- uv --directory "$PWD" run vphone-mcp
Licensed under GPL-3.0-or-later. See LICENSE.
Metadata
Release files for vphone-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vphone_mcp-0.1.0.tar.gz | 62.0 kB | Without provenance | Details for vphone_mcp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vphone_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for vphone_mcp-0.1.0-py3-none-any.whl |
Total release size: 87.2 kB
Release files / vphone_mcp-0.1.0.tar.gz
| Download URL | vphone_mcp-0.1.0.tar.gz |
|---|---|
| Size | 62.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
20b9b625f996adf0fa90ce6ad12b2a6dd04d04179166b26081957ab18578a10e
|
|
BLAKE2b-256 checksum How to use checksums |
0f0f9de2e2651c1c7b0f8c285cfbb16faab288bd0fed711803fb5bdb50c228bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / vphone_mcp-0.1.0-py3-none-any.whl
| Download URL | vphone_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 25.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e93461198add2a7904aae5f4f61317d9d63a49524172cc5d46c0372c9dacebe
|
|
BLAKE2b-256 checksum How to use checksums |
0cd34c4c590d64309a5959255069847d0c38e2f0521df440ae30c66577751b43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for vphone-mcp 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.