< Back to all clusters
[TECHNOLOGY] · United States · 6 sources

Apple adds MCP server to Safari for AI‑agent web debugging

Apple has integrated a Model Context Protocol (MCP) server into Safari Technology Preview 247. The server lets AI coding agents such as Claude or Codex connect to a live Safari window and access the page’s DOM, network requests, console logs, screenshots, and execute JavaScript. It operates locally via a terminal command and communicates through JSON‑RPC 2.0, with no data sent to Apple.

WebKit lists seventeen distinct tools the MCP server provides, covering tasks such as creating and closing tabs, navigating URLs, extracting page content, listing network requests, capturing screenshots, and performing DOM interactions like clicks and typing. Any client that implements the MCP can use these functions, enabling agents to perform both passive inspection and active manipulation of a page during debugging. The feature is aimed at eliminating the “debugging dance” where developers must manually describe browser state to an AI before the agent can act, thereby streamlining testing, performance analysis, and accessibility checks.

Apple’s move signals browsers’ adoption of the MCP standard, joining earlier integrations such as WordPress. The server is available now in the Safari Technology Preview for developers who enable the option in the preview’s settings.