safari-mcp 2.13.0 → 2.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/index.js +155 -81
- package/injected-escape.js +18 -0
- package/injected-validators.js +126 -0
- package/package.json +19 -5
- package/response.js +30 -0
- package/safari-helper +0 -0
- package/safari-helper.swift +32 -0
- package/safari.js +170 -17
- package/scripts/postinstall.cjs +33 -6
- package/index.d.ts +0 -218
package/README.md
CHANGED
|
@@ -478,6 +478,14 @@ The recommended pattern for AI agents using Safari MCP:
|
|
|
478
478
|
|------|-------------|
|
|
479
479
|
| `safari_run_script` | Run multiple actions in a single call (batch) |
|
|
480
480
|
|
|
481
|
+
### iOS & WebKit Validation (4)
|
|
482
|
+
| Tool | Description |
|
|
483
|
+
|------|-------------|
|
|
484
|
+
| `safari_inspect_viewport` | Validate the `<meta name=viewport>` tag for iOS Safari (device-width, zoom/WCAG, viewport-fit) |
|
|
485
|
+
| `safari_safe_area_insets` | Read live safe-area-inset values + viewport-fit / `env()` usage (notch / Dynamic Island) |
|
|
486
|
+
| `safari_check_pwa` | Audit iOS "Add to Home Screen" / PWA readiness (apple-touch-icon, manifest, theme-color, splash) |
|
|
487
|
+
| `safari_webkit_compat` | Check page CSS against this Safari via `CSS.supports()` — unsupported props, missing `-webkit-` prefixes, known quirks |
|
|
488
|
+
|
|
481
489
|
</details>
|
|
482
490
|
|
|
483
491
|
---
|