Opensafari
未认领Smart. Fast. Parallel. iOS Safari automation MCP server via Xcode Simulator.
安装
npm install -g opensafari-mcp工具(37 个)
app_activate
Bring app to foreground (launches if not running)
app_context
Report the current mobile context and optionally guard on an expected bundle
app_launch
Launch app by bundle ID with optional args and env vars
app_list_running
List running foreground apps with PIDs
app_notes_paste_and_tap_url
Reviewer-equivalent Universal Link tap: launches Notes.app, paste-injects the URL, waits for iOS Data Detector to produce an AXLink, and taps it — see docs/recipes/universal-link-channels.md
app_reset
Reset app state: terminate, clear permissions, uninstall
app_terminate
Terminate a running app by bundle ID
appearance_toggle
Switch light/dark mode via simctl ui
auth_list
List saved auth profiles
auth_restore
Restore saved auth state into a simulator
auth_save
Capture cookies + localStorage from current session
batch_execute
Run JS across all simulators in parallel
batch_navigate
Open same URL on all devices simultaneously
batch_screenshot
Capture same URL across all active devices
click
Tap element by CSS selector or coordinates
cookies
Get/set/clear real Safari cookies via Network domain
cross_viewport_compare
Side-by-side visual comparison across devices
device_boot
Boot a specific device (iPhone SE, 16, iPad, etc.)
device_list
List available simulator device types
device_network_get
Read the current simulated network state set by devicenetworkset
device_network_set
Toggle host-level network state (online / offline / airplane) so native apps see real SocketException / NSURLErrorNotConnectedToInternet — see docs/tools/device-network.md
device_rotate
Toggle portrait/landscape
device_shutdown
Shutdown simulator
inspect
Element CSS, accessibility, and layout inspection
javascript
Execute JavaScript in page context via Runtime.evaluate
navigate
Open URL in real Safari
qa_auto_zoom
Detect inputs triggering iOS auto-zoom
qa_dark_mode
Compare light vs dark mode rendering
qa_full_audit
Run all QA checks and generate report
qa_keyboard_overlap
Detect fixed elements hidden by real keyboard
qa_safe_area
Check content behind notch/home indicator
qa_touch_targets
Find elements below 44×44px minimum
query_dom
CSS selector queries with element details
read_page
Extract visible text content
screenshot
Capture real Safari screen via WebKit Protocol
scroll
Scroll page in any direction
type
Type text into form elements