Is the iOS Simulator MCP server safe? What it can reach
What the iOS Simulator MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.
ios-simulator-mcp is a community server by Joshua Yoes that runs locally on your Mac and drives the iOS Simulator through Facebook’s IDB tool. It needs no sign-in. It can tap, type, swipe, install and launch apps, open URLs and record the screen. The control that matters most is IOS_SIMULATOR_MCP_FILTERED_TOOLS, which removes tools you don’t want registered.
Who maintains it
| Implementation | Kind | Status |
|---|---|---|
| ios-simulator-mcp (community, joshuayoes) | Community | active |
It runs as a local process on your machine.
How it signs in
There is no sign-in. The server runs as your macOS user, calls idb and Xcode’s simctl, and acts on whichever simulator is booted or the one named by udid or the IDB_UDID variable.
What its tools can do
| Kind | Tools |
|---|---|
| Read | get_booted_sim_id, ui_describe_all, ui_describe_point, ui_find_element, ui_view, list_apps |
| Write | open_simulator, ui_tap, ui_type, ui_swipe, screenshot, record_video, stop_recording, install_app, launch_app, terminate_app, open_url |
| Can’t be undone | none documented |
The README lists no delete or erase tool. screenshot and record_video write files to the output_path you give, or to ~/Downloads by default. launch_app can pass environment variables to the app.
Built-in limits
| Option | What it does |
|---|---|
IOS_SIMULATOR_MCP_FILTERED_TOOLS | A comma-separated list of tool names that are not registered, for example screenshot,record_video,stop_recording. |
IOS_SIMULATOR_MCP_DEFAULT_OUTPUT_DIR | Sets the folder for screenshots and recordings instead of ~/Downloads. The README suggests this when your agent has limited file access. |
IDB_UDID or the udid parameter | Pins calls to one simulator by UDID. |
Version 1.3.3 or later | The project’s SECURITY.md says versions before 1.3.3 had command injection flaws in several UI tools, fixed in 1.3.3. |
The risks
- ui_tap, ui_type and ui_swipe act on whatever app is on screen, so an injected instruction could tap through purchase screens or type into any field, including a logged-in test account.
- install_app and launch_app put a .app bundle from any path you or the agent name onto the simulator and start it, and launch_app can set its environment variables.
- ui_view, ui_describe_all and screenshot return what the app shows, so anything in a test account’s data lands in the agent’s context.
- Versions before 1.3.3 had command injection in several tools, so pinning an old version exposes your Mac to shell commands from crafted tool input.
Limit it in Claude Code
Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:
claude mcp add --env IOS_SIMULATOR_MCP_FILTERED_TOOLS=... --env IOS_SIMULATOR_MCP_DEFAULT_OUTPUT_DIR=... --env IOS_SIMULATOR_MCP_IDB_PATH=... ios-simulator -- npx -y ios-simulator-mcpClaude Code names MCP tools mcp__ios-simulator__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:
{
"permissions": {
"ask": [
"mcp__ios-simulator__install_app",
"mcp__ios-simulator__launch_app",
"mcp__ios-simulator__open_url",
"mcp__ios-simulator__ui_type",
"mcp__ios-simulator__record_video"
]
}
}Limit it in Codex
Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:
[mcp_servers.ios-simulator]
command = "npx"
args = ["-y", "ios-simulator-mcp"]
env_vars = ["IOS_SIMULATOR_MCP_FILTERED_TOOLS", "IOS_SIMULATOR_MCP_DEFAULT_OUTPUT_DIR", "IOS_SIMULATOR_MCP_IDB_PATH"]Checklist
- Run only a simulator with test accounts and no real data.
- Use version 1.3.3 or later.
- Set IOS_SIMULATOR_MCP_FILTERED_TOOLS to drop tools you don’t need, such as record_video.
- Set IOS_SIMULATOR_MCP_DEFAULT_OUTPUT_DIR to a project folder.
- Approve install_app and launch_app calls by hand.
Checked against the vendor documentation on November 25, 2026. ios-simulator-mcp README · ios-simulator-mcp SECURITY.md
What Excellent covers
Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server
Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing