Safari DevTools MCP server
io.github.HayoDev/safari-devtools-mcp·v1.8.1·2 starsMCP server for Safari DevTools — browser debugging and automation for AI coding agents
2 stars66 downloads/wk
Reviews
Write oneNobody has reviewed Safari DevTools MCP yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Safari DevTools MCP tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan57 source files scanned13/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 168 days ago8/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year9/10
Findings (1)
- highShell command built from a string (injection risk)
exec.shell-concatbuild/src/SafariDriver.js: …ell `; const result = execSync(`osascript -e '${script.replace(/'/g, "'\\''")}'`, { …
How Safari DevTools MCP compares
Against every graded Scraping and browsing MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 65/100
- higher than 20% of 866 Scraping and browsing servers
- GitHub stars
- 2
- more than 65% of 583 Scraping and browsing servers
- Downloads a week
- 66
- more than 46% of 309 Scraping and browsing servers with a package
Install Safari DevTools MCP in Claude Code, Cursor or VS Code
Runs npx -y safari-devtools-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add safari-devtools-mcp -- npx -y safari-devtools-mcp
What the publisher says
From the Safari DevTools MCP repository's README, as published. We do not edit it. Read it on GitHub
Safari DevTools MCP
safari-devtools-mcp lets your coding agent (such as Claude, Cursor, Copilot or Gemini) control and inspect a live Safari browser on macOS. It acts as a Model-Context-Protocol (MCP) server, giving your AI coding assistant access to Safari DevTools for debugging, automation, and testing.
Chrome developers get powerful AI debugging through chrome-devtools-mcp by Google. Safari developers should have something equivalent — this project brings that same experience to Safari, with matching tool names and parameter schemas so you can swap between browsers with minimal friction.
Changelog | Contributing
Note: This server exposes browser content (page data, console logs, network traffic) to MCP clients. Avoid browsing sensitive websites or entering credentials while a session is active.
Why safari-devtools-mcp?
This project uses WebDriver for capabilities that scripting alone cannot provide:
- Network request/response body capture — intercepts fetch and XHR calls with full headers, payloads, and timing
- DOM snapshots via accessibility tree — stable element UIDs that survive page re-renders, not brittle CSS selectors
- CSS computed style inspection — read any computed property from any element
- Cookie and storage management — read, write, and delete cookies, localStorage, and sessionStorage
- Element-level screenshots — capture individual elements, not just the full viewport
- Session auto-recovery — detects dead SafariDriver sessions and reconnects transparently
Key features
- Browser debugging: Capture console logs, inspect network requests, and evaluate JavaScript — with stack traces and full request/response details.
- Reliable automation: Click, type, fill forms, drag and drop, and press keyboard shortcuts using accessibility-tree snapshots with stable UIDs.
- Native macOS integration: Tab management via AppleScript for listing, switching, and controlling Safari tabs across windows
Requirements
- macOS (Safari and SafariDriver are Apple-exclusive)
- Node.js 18+ (22+ recommended)
- Safari with remote automation enabled
Safari setup
- Open Safari > Settings > Advanced > check "Show features for web developers"
- Develop menu > check "Allow Remote Automation"
- Authorize SafariDriver:
sudo safaridriver --enableGetting started
Standard MCP config:
{
"mcpServers": {
"safari-devtools": {
"command": "npx",
"args": ["-y", "safari-devtools-mcp@latest"]
}
}
}Claude Code
claude mcp add safari-devtools -- npx -y safari-devtools-mcp@latestOr add to your project's .mcp.json using the standard config above.
Claude Desktop
Add the standard config to ~/Library/Application Support/Claude/claudedesktopconfig.json.
Cursor
Add the standard config to your Cursor MCP settings.
VS Code
Add the standard config to .vscode/mcp.json.
Copilot CLI
copilot mcp add safari-devtools -- npx -y safari-devtools-mcp@latestGemini CLI
gemini mcp add safari-devtools -- npx -y safari-devtools-mcp@latestShortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Safari DevTools MCP: common questions
- Is Safari DevTools MCP server safe?
- With care: it is graded C, so read the findings first (65/100). Read the Safari DevTools MCP safety report
- How do I install Safari DevTools MCP?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Safari DevTools MCP need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Safari DevTools MCP maintained?
- The last commit was 205 days ago (2026-04-13). The latest release is v1.8.1.
- What can I use instead of Safari DevTools MCP?
- Servers from other publishers that do the same job: Safari MCP server, Native DevTools MCP server and Browser MCP server.
- How does Safari DevTools MCP compare with other Scraping and browsing MCP servers?
- safety score 65/100 (higher than 20% of 866 Scraping and browsing servers); github stars 2 (more than 65% of 583 Scraping and browsing servers); downloads a week 66 (more than 46% of 309 Scraping and browsing servers with a package). Full comparison.
Alternatives to Safari DevTools MCP
Same job from other publishers: the closest match first, then the best rated.
- SafariNative Safari browser automation for AI agents — 98 tools, zero Chrome overhead.not reviewedEstablishedC
- Native DevToolsMCP server for desktop, browser (CDP), and Android automation. Screenshot, OCR, click, type.not reviewedEstablishedA
- BrowserMCP server for loading authenticated web pages using Chrome DevTools Protocolnot reviewedGrowingA
- HwatuVerification browser for coding agents: headless WebKit, DOM eval, screenshots, pixel-diff.not reviewedGrowingA
gamedev.plBuild browser games on gamedev.pl from your coding agent.not reviewedGrowingA