---
title: "Introducing the Safari MCP server for web developers"
description: "Safari 27 and Safari Technology Preview 247 ship a Model Context Protocol server, exposed via safaridriver --mcp, that lets any MCP-compatible coding agent drive a local Safari window."
url: "https://swe.quest/articles/introducing-the-safari-mcp-server-for-web-developers-5cebd79747a867c7"
canonical: "https://webkit.org/blog/18136/introducing-the-safari-mcp-server-for-web-developers/"
source: "WebKit"
published: "2026-07-01"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 7
tags: ["ai-agents","browsers","debugging","developer-tools","ai-coding"]
---

# Introducing the Safari MCP server for web developers

A post on [WebKit](https://swe.quest/sources/webkit.md), published 2026-07-01, 7 min read, Announcement. Original: [https://webkit.org/blog/18136/introducing-the-safari-mcp-server-for-web-developers/](https://webkit.org/blog/18136/introducing-the-safari-mcp-server-for-web-developers/)

## Summary

Safari 27 and Safari Technology Preview 247 ship a Model Context Protocol server, exposed via safaridriver --mcp, that lets any MCP-compatible coding agent drive a local Safari window. Its 17 tools cover tabs, navigation, DOM interactions, JavaScript evaluation, console logs, network request details, screenshots, viewport sizing and media emulation. Agents can use these to debug rendering, cross-browser compatibility, performance and accessibility issues without the developer relaying screenshots and descriptions. Setup requires enabling developer features and remote automation in Safari settings, then registering the server with Claude, Codex or an mcp.json entry. The server runs locally, makes no network calls of its own, and has no access to AutoFill or browsing history.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Browsers](https://swe.quest/tags/browsers.md) (Web & mobile)
- [Debugging](https://swe.quest/tags/debugging.md) (Engineering practices)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)
- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)

## Prerequisites

- Model Context Protocol basics
- browser developer tools ([easy posts on Developer tools](https://swe.quest/tags/developer-tools.md?difficulty=easy))

## Keywords

Safari MCP server, Model Context Protocol, safaridriver, Safari 27, Safari Technology Preview, Claude Code, Codex

## Related posts

- [WebKit Features for Safari 27.0](https://swe.quest/articles/webkit-features-for-safari-27-0-c0a6911acf8a84f2.md): WebKit · 2026-09-17 · Medium · 87 min read · Browsers, CSS, Frontend, AI agents
  Safari 27.0 ships 80 new WebKit features and 844 fixes, including a local Safari MCP server (via safaridriver --mcp) that lets coding agents like Claude Code or Codex inspect DOM, network, console and screenshots.
- [MCP UI: Breaking the text wall with interactive components](https://swe.quest/articles/mcp-ui-breaking-the-text-wall-with-interactive-components-5c6a56be154e7a75.md): Shopify Engineering · 2025-08-05 · Easy · 4 min read · AI agents, Frontend, E-commerce, API design
  MCP UI extends the Model Context Protocol so servers can return interactive UI components, such as product selectors, galleries and cart flows, as embedded ui:// resources alongside JSON data.
- [How to add MCP Servers to Claude Desktop with Docker MCP Toolkit](https://swe.quest/articles/how-to-add-mcp-servers-to-claude-desktop-with-docker-mcp-toolkit-2bef3464ab3fe16c.md): Docker · 2025-10-27 · Medium · 18 min read · AI agents, Containers, AI for coding, Developer tools
  Docker Desktop's MCP Toolkit connects Claude Desktop to containerized MCP servers through a single claude\_desktop\_config.json entry that runs \`docker mcp gateway run\`, a gateway that routes tool calls from Claude to whichever servers are enabled.
- [Try out your website in the spatial web](https://swe.quest/articles/try-out-your-website-in-the-spatial-web-5164ff9af4fcad84.md): WebKit · 2024-06-12 · Medium · 6 min read · Browsers, Developer tools, Debugging
  Websites generally need no special changes to work in Safari on visionOS, which runs the same WebKit engine.
- [MCP Horror Stories: The Drive-By Localhost Breach](https://swe.quest/articles/mcp-horror-stories-the-drive-by-localhost-breach-5adbe194ac2f44eb.md): Docker · 2025-09-23 · Medium · 16 min read · Vulnerability research, Application security, AI agents, Browsers
  CVE-2025-49596 (CVSS 9.4) let any website achieve remote code execution on developer machines running MCP Inspector below 0.14.1.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
