ios-simulator-mcp
CLAUDE.md2.2k starsChanged 10 months agoMITView on GitHub
This is the iOS Simulator MCP (Model Context Protocol) server - a tool that enables AI assistants to interact with iOS simulators through MCP. The project follows an intentionally simple single-file architecture where all logic is contained in src/index.ts. npm is the default; pnpm is also supported (a pnpm-lock.yaml, derived from package-lock.json via pnpm import, is committed). Substitute pnpm for npm in any command below. The entire server implementation is in src/index.ts (single file by design). The server: - Uses…
- Installs packages
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 76
Real use cases only: Don't add hypothetical features
- Very specific: line 77
Security first: Always use -- separator for user inputs, validate with Zod
≈ “Common” is an estimate: at least 1 in 5 of the 25,680 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
This is the iOS Simulator MCP (Model Context Protocol) server - a tool that enables AI assistants to interact with iOS simulators through MCP. The project follows an intentionally simple single-file architecture where all logic is contained in src/index.ts.
Build and Development Commands
npm is the default; pnpm is also supported (a pnpm-lock.yaml, derived from package-lock.json via pnpm import, is committed). Substitute pnpm for npm in any command below.
# Install dependencies
npm install
# Build the TypeScript project (compiles to build/)
npm run build
# Development with automatic rebuild on changes
npm run watch
# Run the MCP inspector for testing
npm run dev
# Start the compiled server
npm startArchitecture
The entire server implementation is in src/index.ts (single file by design). The server:
- Uses the MCP SDK to expose tools for iOS simulator interaction
- Wraps
xcrun simctland Facebook'sidbcommands - Validates all inputs with Zod schemas
- Implements security best practices with
--argument separation - Supports environment-based tool filtering via
IOS_SIMULATOR_MCP_FILTERED_TOOLS - Handles output paths with
IOS_SIMULATOR_MCP_DEFAULT_OUTPUT_DIRenvironment variable
Available MCP Tools
The server provides these tools (can be filtered via environment variables):
get_booted_sim_id- Get the currently booted simulator IDopen_simulator- Open the iOS Simulator applicationui_describe_all- Get accessibility info for the entire screenui_tap- Tap at coordinatesui_type- Input textui_swipe- Swipe gestureui_describe_point- Get element at specific coordinatesui_find_element- Search accessibility tree for elements by label, identifier, or typeui_view- Get compressed screenshot as base64 JPEGscreenshot- Save screenshot to filerecord_video- Start video recordingstop_recording- Stop video recordinginstall_app- Install an app bundle (.app or .ipa) on the simulatorlaunch_app- Launch an app by bundle identifierterminate_app- Terminate a running app by bundle identifieropen_url- Open a URL or deep link in the simulatorlist_apps- List all installed apps with their bundle IDs and display names
Testing
This project requires manual testing on macOS with:
- Xcode and iOS simulators installed
- Facebook IDB tool installed
- An MCP client (like Cursor) configured to use the server
Test changes by:
- Building with
npm run build - Configuring your MCP client to point to
build/index.js - Running through the test cases in
QA.md
Important Design Principles
- Keep it simple: Single file, minimal dependencies, standard tooling (npm/tsc)
- Real use cases only: Don't add hypothetical features
- Security first: Always use
--separator for user inputs, validate with Zod - No architecture changes without discussion - the single-file design is intentional
Additional Documentation
For more detailed information, refer to these documentation files:
- README.md - Complete project documentation including installation instructions, available tools, configuration options, and usage examples
- CONTRIBUTING.md - Contribution guidelines, development setup, dependency management, and the project's philosophy of intentional simplicity
- QA.md - Manual quality assurance test cases for validating functionality
- TROUBLESHOOTING.md - Common issues and their solutions, including IDB installation help
- SECURITY.md - Security policy and information about fixed vulnerabilities
- CONTEXT.md - Reference links for MCP documentation, iOS simulator commands, IDB commands, and security best practices
Trending
Quiet since June.thin dataabout the whole repository
Who's talking about joshuayoes/ios-simulator-mcp
- @joshuayoes.com“An iOS QA agent is coming to a Cursor near you 🍎🤖👷 Announcing ios-simulator-mcp, a Model Context …”Bluesky · Mar 21, 2025 · 12 likes
- @joshuayoes.com“Hey 👋 I maintain a mildly popular MCP server and I have experimented with consuming them a lot for client …”Bluesky · Sep 12, 2025 · 1 likes
- A Hacker News story“MCP Server for Interacting with the iOS Simulator”Hacker News · Aug 4, 2025 · 1 points
- @iamkonstantin.eu“Folks have wrapped the iOS simulator in a MCP server github.com/joshuayoes/i...”Bluesky · Jul 8, 2025 · 1 likes
- JSONbored/awesome-claude“content(mcp): add iOS Simulator MCP Server”GitHub · Jun 6, 2026
The biggest 5 of 10 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 10
Talked about on GitHub, Bluesky and Hacker News (10 times).
On GitHub · 6
- Jun 6, 2026content(mcp): add iOS Simulator MCP Server — JSONbored/awesome-claude0 reactions · 4 comments
- Apr 25, 2026chore(deps): Bump ios-simulator-mcp from 1.5.2 to 1.6.0 in /ios — mmmaxwwwell/nix-mcp-debugkit0 reactions
- Mar 1, 2026Feature: External MCP server support in config — openclaw/openclaw0 reactions · 4 comments
- Feb 22, 2026B1: iOS simulator MCP tooling setup and validation — johnpooch/diplicity-react0 reactions · 2 comments
- Feb 1, 2026Implement iOS Simulator MCP server with FastMCP 3.0 — earchibald/ios-dev-mcp0 reactions
1 more on GitHub
- Jun 30, 2025Claude Code: 에이전트 코딩을 위한 모범 사례 — eatingbug/papers0 reactions
On Bluesky · 3
- Mar 21, 2025An iOS QA agent is coming to a Cursor near you 🍎🤖👷 Announcing ios-simulator-mcp, a Model Context Protocol server for interacting with… — @joshuayoes.com12 likes and reposts · 1 reply
- Sep 12, 2025Hey 👋 I maintain a mildly popular MCP server and I have experimented with consuming them a lot for client work and personal projects. I… — @joshuayoes.com1 likes and repost
- Jul 8, 2025Folks have wrapped the iOS simulator in a MCP server github.com/joshuayoes/i... — @iamkonstantin.eu1 likes and repost
On Hacker News · 1
- Aug 4, 2025MCP Server for Interacting with the iOS Simulator1 point
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

