Next upHack for Humanity: San Francisco (powered by Google Gemini)
News

Apple's WebKit adds a local Safari MCP server for AI coding agents to debug live pages

Apple's WebKit team added a Safari MCP server to Safari Technology Preview 247, letting AI coding agents inspect and debug a live browser locally with no network calls.

Dmytro Spodarets
Jul 3, 2026 · 1 min read

Apple’s WebKit team introduced a Safari MCP server in Safari Technology Preview 247, released July 1, 2026, letting AI coding agents connect directly to a live Safari window to inspect and debug web pages. MCP, or Model Context Protocol, is an open standard for wiring AI assistants into external tools and data.

The server gives coding agents something they have mostly lacked: hands-on access to a real, running browser rather than a scraped copy of a page. That closes a gap for developers who use agents to hunt down layout, network or JavaScript bugs, and it puts Apple’s browser engine on the same protocol that rivals have been racing to support.

The server exposes about 15 tools, including ones to run JavaScript, capture screenshots, drive page interactions, read network requests and pull browser console messages. That gives an agent visibility into the DOM, network traffic and console output for debugging and compatibility checks. It works with MCP-compatible clients including Anthropic’s Claude and OpenAI’s Codex, and is turned on from the command line via Safari’s safaridriver tool using the --mcp flag.

WebKit says the server runs entirely on the local machine, makes no network calls of its own, and has no access to Safari’s personal data such as saved AutoFill entries. The work is credited to WebKit’s Saron Yitbarek.

Those privacy claims are Apple’s own and describe a preview build, not a shipping Safari release; behavior could change before the feature reaches the stable browser, if it does. An agent granted this access can still execute JavaScript and read page content in whatever site a developer has open, so the local-only design limits network exposure but not what the connected agent can see on-screen.


Dmytro Spodarets
Dmytro Spodarets
Founder & Editor-in-Chief

Founder and Chief Editor of Data Phoenix — a San Francisco Bay Area media and education platform focused on AI and Data.

More news