simyard-mcp
OfficialManages a shared pool of iOS simulators for agents, granting time-limited leases, booting and wiping simulators, and enforcing queueing and concurrency/memory limits.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@simyard-mcp request an iPhone simulator for 30 minutes"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
simyard-mcp lets a crowd of coding agents share eight iOS simulators without fighting over them. An agent asks for a simulator for a set number of minutes, and either gets one straight away or is told where it is in the queue and when to check back.
The problem
Run a handful of agents on iOS work and each one wants a simulator. Give them all one and the Mac runs out of memory; on mine, five running simulators were using between 8.6 and 11.3 GB each. Give them a limit with no queue and they either crash into it or quietly boot a ninth.
What they need is a front desk: one place that knows who has which simulator, who's waiting, and when each turn ends.
Related MCP server: lazy-ios
How it works
Every agent follows the same four steps, and the server tells it each one as it goes.
Ask for a time.
request_simulator(agent, minutes, device)asks for an iPhone, an iPad, or an exact device type such as an iPhone Duo, for that many minutes. If one is free, the answer comes back granted, with the simulator booted and its ID ready to pass toxcodebuild, the Xcode MCP server or RocketSim.Or wait your turn. If none is free, the answer is queued, with the agent's position, an estimate of the wait, a time to check back, and the time the request expires.
wait_for_simulatorholds the call open for up to 45 seconds and returns the moment it's the agent's turn. An agent that stops checking in is dropped from the queue when its time runs out, so a crashed agent doesn't hold up the line.Extend, or finish on time. The turn lasts the minutes the agent asked for.
extend_leaseadds more. When the time is up and someone else is waiting, the turn ends: the simulator is wiped and handed on, and the agent's next call says its turn is over and who has the simulator now.Hand it back early.
release_simulatoruninstalls the agent's apps, resets the keychain, shuts the simulator down and gives it to the next agent. Agents are told to do this as soon as they're done for now.
Three rules hold underneath, and the database enforces them rather than trusting the agents:
One simulator per agent. Asking again returns the request it already has.
One agent per simulator. Two agents can't hold the same simulator, even with several copies of the server sharing one queue file.
No more than eight running, counting any simulator booted outside the pool, and none booted when less than 25% of the Mac's memory is free.
Note: when a turn runs out and nobody is waiting, the agent keeps the simulator in overtime rather than being cut off for nothing. The overtime ends the moment someone queues for that kind of device, or after 15 minutes.
Tool | What it does |
| Ask for a simulator for N minutes; granted now or queued |
| Hold the call open until it's your turn, up to 45 s by default |
| Check in on a queued request, or claim one being held for you |
| Leave the queue |
| Add minutes to your turn |
| Hand the simulator back, wiped |
| Time left, or why your turn ended |
| Every simulator, every holder, the whole queue |
| Make the pool of eight, once |
Install
It runs with uvx, so there's nothing to install beyond uv.
claude mcp add --transport stdio simyard -- uvx --from git+https://github.com/fledgeling-co/simyard-mcp@v0.1.0 simyard-mcp
codex mcp add simyard -- uvx --from git+https://github.com/fledgeling-co/simyard-mcp@v0.1.0 simyard-mcpThen have any agent call init_pool once. It makes six iPhones and two iPads on the newest iOS that supports each, or the mix you pass, e.g. "iphone:5,ipad:2,iPhone Duo:1".
The queue lives in ~/.config/simyard/queue.db, beside the pool file the simyard skill uses. The two share their leases, so an agent using the skill's script and an agent using this server never get the same simulator.
Does it actually work?
The queue is well tested; how agents behave with it hasn't been measured yet.
14 tests of the queue's rules pass against a fake clock: immediate grants, one simulator per agent, twenty agents on six iPhones getting positions 1 to 14 with rising wait estimates, dropping a request that stops checking in, cancelling, a turn ending and passing to the next agent, overtime, extending, an unclaimed offer moving on, and the memory and running limits.
Twenty agents at once. Twenty threads with their own connections to one queue file took 60 turns on eight simulators. No simulator ever had two holders, and no more than eight ran.
The real server over MCP. A test starts the server as a real MCP process and drives all nine tools through the official client.
A real simulator. On my Mac, a throwaway simulator was granted and booted in 24.5 seconds; a second agent was queued and told to check back in 47 seconds; releasing took 11.6 seconds and the second agent got it straight away.
The rules can fail. I broke five of them in copies of the code, one at a time, and a test caught each.
What hasn't been tested: agents actually following the server's instructions, and whether a client shows the progress updates during a wait. EVALS.md has the detail.
Credit
The pool, the preflight and the wipe on release come from sim-guard by An Nayal (MIT), by way of the simyard skill. The queue, the leases and the turn timing are new here.
Available Tools
9 toolscancel_requestB
Leave the queue, or decline a simulator that is being held for you.
Inputs: request_id (required).
check_requestB
Check in on a request. With still_needed=true it confirms you are still waiting (resetting its expiry), claims a simulator that is being held for you, and returns the current status and the next check-in time. With still_needed=false it cancels the request.
Inputs: request_id (required), boot, still_needed.
extend_leaseA
Add minutes (1-240) to your turn. Call it before lease_expires_at; after that, the simulator goes to the next waiting agent.
Inputs: minutes (required), lease_id (required).
init_poolA
Create the pool if it does not exist: devices named "Simyard ", 8 at most, each on the newest installed iOS runtime that supports its type. Running it again adopts existing pool devices rather than making new ones. Example spec: "iphone:5,ipad:2,iPhone Duo:1".
Inputs: spec.
lease_statusB
How long your turn has left, or, if it is over, why and who has the simulator now.
Inputs: lease_id (required).
queue_statusA
Every pool simulator with its holder and time left, and the queue with positions, waits and expiries. Read-only.
Inputs: no named parameters.
release_simulatorA
Hand your simulator back as soon as you are done for now. Uninstalls the apps you installed, resets the keychain, shuts it down and clears its wallpaper cache, then offers it to the next agent. keep_apps=true skips the uninstall and keychain reset.
Inputs: lease_id (required), keep_apps.
request_simulatorA
Ask for one simulator for minutes minutes (1-240). Granted now (status "granted", with udid,
lease_id and lease_expires_at) or queued (status "queued", with position, estimated_wait_s,
check_after_s and expires_at). device is "iphone", "ipad", an exact device type such as
"iPhone Duo", or a list of acceptable ones. One simulator per agent: asking again returns the
request you already have. Boots the simulator on grant unless boot=false.
Inputs: agent (required), minutes (required), boot, device, +1 more.
wait_for_simulatorB
Hold the call open until it is your turn (returns status "granted" with the udid) or until max_wait_seconds pass (returns status "queued" with fresh check_after_s and expires_at; call it again). Waiting counts as checking in, so your request is not dropped while you wait. Keep max_wait_seconds under your client's tool timeout; 45 is safe for most.
Inputs: request_id (required), boot, max_wait_seconds.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Most tools map cleanly to a distinct lifecycle step (request, wait, check, extend, release, cancel) and the two status tools separate personal lease from pool/queue overview. However, check_request with still_needed=false overlaps with cancel_request, and wait_for_simulator versus check_request both act as 'check-in' operations, so an agent could pick the wrong one in the cancel/keep-waiting case.
Everything is snake_case with predictable verb_noun forms (init_pool, request_simulator, release_simulator, cancel_request, extend_lease). The only deviation is the two status tools using noun_status (lease_status, queue_status), which is a readable, conventional exception rather than an inconsistency.
Nine tools is well matched to a simulator-leasing server, with each tool covering a necessary phase: pool setup, request/queue, waiting, lease extension, release, cancellation, and two read-only status views. Nothing feels redundant or missing from the count perspective.
The full lease lifecycle is covered end to end, from pool initialization through request, wait, extend, release, and cancel, with status inspection for both the lease and the queue. Minor gaps remain: there is no way to tear down or reset the pool, and no tool to inspect a specific granted simulator beyond its udid.
Maintenance
Related MCP Connectors
Build, run, and inspect iOS apps in disposable hosted Simulators from cloud coding agents.
Cloud iPhone Simulators for AI agents: build the Xcode project, read the screen, tap by label, test.
Cloud iOS simulators and Android emulators your agent can create, drive, and throw away.
Cloud iPhones and Macs with Xcode for AI agents: build, run and test iOS apps, use the screen.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables coding agents to build, test, archive, and run iOS apps on a remote Mac fleet from any environment, with XcodeBuildMCP-compatible tools and live simulator access.1163 npmMIT
- FlicenseNot gradedqualityBmaintenanceEnables iOS build, launch, and UI test automation on both simulators and physical devices through a single MCP server, with lease-based device ownership that prevents simulator and helper process leaks.-
- AlicenseNot gradedqualityCmaintenanceEnables coding agents to check setup, manage iOS Simulator devices, build/install/launch iOS apps, capture screenshots, send input, and open a live browser preview. It connects local agent workflows to Apple's simulator without requiring a custom emulator or native pane.MIT
- AlicenseNot gradedqualityBmaintenanceEnables multiple AI agent sessions to share a single Mac's Apple Simulator pool through one shared daemon that tracks leases and auto-dispatches freed simulators to the next waiting caller. It provides simulator UI automation, app lifecycle, profiling, live streaming, crash debugging, and HTTPS interception tools, all gated to the lease holder.33 npmMIT