Add it to Claude Code
claude mcp add iwdp-mcp -- iwdp-mcpMake your agent remember this setup
iwdp-mcp's config, env vars, and the gotchas you hit — recalled in every future Claude Code, Cursor, and Codex session.
npx conare@latestFree · one command · indexes the sessions already on disk. Set up in the browser instead →
What it does
- Full WebKit Inspector Protocol support
- Network interception and httpOnly cookie access
- Real device testing for iOS-specific bug reproduction
- JavaScript evaluation and DOM inspection
- Screenshot capture capabilities
Tools 5
devicesList connected iOS devicespagesList Safari tabs on a specific deviceevalEvaluate JavaScript on a pagescreenshotTake a screenshot of the current pagecookiesShow all cookies including httpOnlyTry it
Original README from nnemirovsky/iwdp-mcp
iOS WebKit Debug Proxy MCP Server + CLI
Debug iOS Safari from your AI agent. No existing tool lets AI assistants interact with Safari on a real iPhone. Chrome DevTools MCP speaks CDP, which is incompatible with WebKit. This project bridges that gap.
<video src="https://github.com/user-attachments/assets/dcc0dc05-3a1f-4454-88a8-51ee28da9fd2" poster="https://github.com/user-attachments/assets/3901f7ff-6531-4866-b49e-cf5d17304327" autoplay loop muted playsinline></video>
100+ tools across all 27 WebKit Inspector Protocol domains — navigation, screenshots, DOM inspection, CSS, network interception, httpOnly cookies, JS debugging, heap snapshots, profiling, and more. Full feature parity between MCP server and CLI.
Why?
- Chrome DevTools MCP exists for desktop Chrome. Nothing existed for iOS Safari — until now.
- httpOnly cookies are invisible to
document.cookie. This tool reads them via the protocol. - Real device testing catches iOS-specific bugs that simulators miss.
- Works with Claude Code, VS Code, Cursor, Windsurf, Codex CLI, Antigravity, JetBrains, and any MCP-compatible client.
Installation
Prerequisites
# Install ios-webkit-debug-proxy (macOS)
brew install ios-webkit-debug-proxy
# Connect an iOS device via USB and enable Web Inspector:
# Settings → Safari → Advanced → Web Inspector → ON
For Linux and other platforms, see the ios-webkit-debug-proxy installation guide.
Claude Code Plugin (recommended)
Inside Claude Code, run:
/plugin marketplace add nnemirovsky/iwdp-mcp
/plugin install iwdp-mcp
Go Install
go install github.com/nnemirovsky/iwdp-mcp/cmd/...@latest
Pre-built Binaries
Download from GitHub Releases.
Build from Source
git clone https://github.com/nnemirovsky/iwdp-mcp.git
cd iwdp-mcp
make build
Quick Start
CLI
# Start the proxy
ios_webkit_debug_proxy --no-frontend &
# List connected devices (port 9221)
iwdp-cli devices
# List Safari tabs on the first device (port 9222)
iwdp-cli pages
# Evaluate JavaScript
iwdp-cli eval "document.title"
# Take a screenshot
iwdp-cli screenshot -o page.png
# Show all cookies (including httpOnly)
iwdp-cli cookies
MCP Server
<details id="claude-code"> <summary><strong>Claude Code</strong></summary>Install as a plugin (recommended):
/plugin marketplace add nnemirovsky/iwdp-mcp
/plugin install iwdp-mcp
Or add to your project's .mcp.json:
{
"mcpServers": {
"iwdp-mcp": {
"command": "iwdp-mcp"
}
}
}
Or via CLI:
claude mcp add iwdp-mcp -- iwdp-mcp
</details>
<details>
<summary><strong>Claude Desktop</strong></summary>
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"iwdp-mcp": {