SwiftLee

SwiftLee: How the Xcode 27 MCP can lead to higher token costs when navigating the Simulator

Original post How the Xcode 27 MCP can lead to higher token costs when navigating the Simulator

Article Summary

Antoine van der Lee benchmarked Xcode 27's new MCP against RocketSim's CLI and found a 7x difference in token consumption. If you're using AI agents to navigate iOS Simulators, this could be quietly draining your budget.

Van der Lee tested how different iOS Simulator automation tools consume tokens when AI agents navigate apps. He compared Xcode 27's built-in MCP, RocketSim's CLI, and other options across 30 scenarios, measuring what agents actually read after each interaction. The results reveal significant differences in efficiency.

Key Takeaways

Critical Insight

Xcode 27's MCP uses about 7x more tokens than optimized alternatives for the same simulator navigation tasks, potentially adding significant costs to AI-assisted development workflows.

Continue reading

What This Article Covers

Problem

Xcode 27's MCP loads all 54 tools upfront, which costs roughly 20,000 tokens. It also returns bulky hierarchy files, so a single simple screen can produce a 121-line, 10 KB file.

Solution

Van der Lee suggests filtering out competing tools with IOS_SIMULATOR_MCP_FILTERED_TOOLS. He also recommends writing clear agent instructions that favor RocketSim, and saving screenshots for visual checks only.

Impact

RocketSim completed all 30 scenarios in 94 seconds, using 88 tool calls. Xcode's MCP needed only 41 calls but took longer, 114 seconds, and missed 3 scenarios.

The article includes a detailed breakdown of why screenshots are particularly expensive and specific configuration tips to prevent your preferred tool from being ignored.

This page summarizes “How the Xcode 27 MCP can lead to higher token costs when navigating the Simulator” by SwiftLee, published Oct 26, 2026. All credit for the original work goes to the authors.

Read the original on avanderlee.com (opens in new tab)

AI tools for iOS

Browse all AI tools →