Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Warden

MCP server by delacournz Verified · npm:@delacour

Warden leases iOS simulators, Android emulators, ports and native app builds so that AI coding agents and humans sharing one Mac never use the same device. It also provides TypeScript e2e testing for React Native and Expo.

  • Score 82
  • 6 stars
  • 1.2k a week
  • MIT
  • Updated

Install Warden

Built from the published package, never by AI.

claude mcp add warden -- npx -y @delacour/warden

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Warden in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the warden block.

About

Warden manages machine-wide leases on iOS simulators, Android emulators, ports and native app builds. Leases are stored in one sqlite database, and claims run inside a transaction so that two processes cannot take the same device. Each lease records an owner, such as a Claude session, CI run or user shell, along with the repo and worktree. A lease stays alive while its process is running or while its heartbeat is recent. Stale leases are reclaimed automatically.

Warden creates and reuses its own simulators and launches read-only emulators. It does not shut down or erase devices it did not create unless the user passes an adopt flag. Expo builds move through a fingerprint, installed, local cache, EAS and local build order, and all worktrees of a repo share one cache. The project is aimed at developers who run AI coding agents, CI jobs or several worktrees against shared mobile test devices.

Written from the project's README and checked against it.

What you need

  • macOS or Linux (prebuilt binaries for darwin and linux, arm64 and x64)
  • Node.js or Bun for the npm install
  • An iOS runtime installed for iOS simulators
  • Android tooling for emulators

Try asking

  • Claim an iOS simulator for this e2e test run
  • Show which simulators and emulators are leased and by whom
  • Release the devices I leased once the tests finish

Good to know

  • Windows is not supported.
  • Warden does not allocate, shut down or erase devices it did not create unless --adopt is passed.
  • A bare claim by an agent gets a 5 minute lease unless a wrapper or heartbeat holds it longer.
  • The source describes hooks for Claude Code and Codex only.

Security check

B
  • Runs a script automatically when the package is installedIn package.json: "postinstall":

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

What you can do with it

  • Give each AI coding agent its own simulator
  • Share mobile test devices across worktrees
  • Run React Native and Expo e2e tests in CI

Alternatives to Warden

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Warden: common questions

Can two AI agents end up using the same simulator with Warden?

A device or port leased by one owner is never handed to another. Claims run under a database transaction, which serialises them across processes.

What happens if an agent crashes while holding a device?

Its lease goes stale once its process is gone or its heartbeat expires, and stale leases are reclaimed on every claim and by warden gc. Leases from warden run, dev, batch or e2e that died go stale after three missed heartbeats, about 90 seconds.

Why are new iOS simulators fast to start with Warden?

When a new pool device is needed, Warden clones it from a golden image that was booted once and had its data migration finished. The source reports a clone plus boot at about 15 seconds, compared with 146 to 239 seconds for a fresh create and first boot.

How do I install Warden?

In Claude Code run claude mcp add warden -- npx -y @delacour/warden. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Warden the official server?

Warden is published by npm:@delacour from its verified domain in the official MCP Registry.

Is Warden free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Warden safe to use?

It scores 82 of 100. Grades: maintenance A, licence A, quality C. Security check: grade B (runs a script automatically when the package is installed). Review the code before you install. How grades work.

What are alternatives to Warden?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does Warden work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Warden Install

Add to stack

Loading.