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.
Install Warden
Built from the published package, never by AI.
claude mcp add warden -- npx -y @delacour/wardenRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"warden": {
"args": [
"-y",
"@delacour/warden"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"warden": {
"args": [
"-y",
"@delacour/warden"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"warden": {
"args": [
"-y",
"@delacour/warden"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add warden -- npx -y @delacour/warden{
"mcpServers": {
"warden": {
"args": [
"-y",
"@delacour/warden"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add warden npx -y @delacour/wardenGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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 →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
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.
