<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/safari-s-built-in-mcp-server-for-ai-coding-agents-nhwvplgxw" -->

---
title: Safari's built-in MCP server for AI coding agents
description: Safari 27 on macOS 27 includes a built-in MCP server in /usr/bin/safaridriver, started with the --mcp flag. It needs no npm package or Node runtime. You must...
canonical: https://daily.dev/posts/safari-s-built-in-mcp-server-for-ai-coding-agents-nhwvplgxw
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Safari's built-in MCP server for AI coding agents | daily.dev
og:description: Safari 27 on macOS 27 includes a built-in MCP server in /usr/bin/safaridriver, started with the --mcp flag. It needs no npm package or Node runtime. You must...
og:url: https://daily.dev/posts/safari-s-built-in-mcp-server-for-ai-coding-agents-nhwvplgxw
og:image: https://api.daily.dev/og/posts/NhwvpLgXW.png
og:image:alt: Safari's built-in MCP server for AI coding agents
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Safari's built-in MCP server for AI coding agents

**[Flavio Copes](https://daily.dev/sources/flaviocopes)** · 13 min read · 9 upvotes · 0 comments

## Summary

Safari 27 on macOS 27 includes a built-in MCP server in /usr/bin/safaridriver, started with the --mcp flag. It needs no npm package or Node runtime. You must first tick 'Allow remote automation and external agents' in Safari's Developer settings. Then register it with Claude Code, Codex or Cursor. It exposes 17 tools. Its batched page_interactions call returns diffs, and large outputs spill to a file. In testing, the $uid macro in evaluate_javascript failed. It is macOS-only, so Playwright stays the pick for CI.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://flaviocopes.com/safari-mcp>

## Questions this post answers

### How do I enable Safari's built-in MCP server and connect Claude Code to it?

Check 'Show features for web developers' in Safari Settings > Advanced, then check 'Allow remote automation and external agents' under Developer, or run safaridriver --enable. Next register it with: claude mcp add safari-mcp -- "/usr/bin/safaridriver" --mcp. Without the Developer toggle, the server lists its 17 tools but navigate_to_url fails.

_Developers wiring browsers into coding agents follow MCP tooling changes on daily.dev._

### How does Safari's MCP server differ from Playwright MCP for browser automation?

Safari's server is built into macOS 27 as a 167 KB binary, with no Node.js, and drives real shipping Safari with 17 tools. Playwright MCP runs via npx, offers 24 tools, and works on macOS, Linux and Windows. Safari batches interactions and returns diffs, and its real window supports Touch ID passkey sign-in. It is macOS-only.

_Choosing between browser automation tools is easier when you track their releases on daily.dev._

## Similar posts on daily.dev

- [How to Connect Your AI Coding Agent to a Browser on macOS](https://daily.dev/posts/how-to-connect-your-ai-coding-agent-to-a-browser-on-macos-3reiwuazo) · freeCodeCamp · 2 upvotes · 0 comments
- [Introducing the Safari MCP server for web developers](https://daily.dev/posts/introducing-the-safari-mcp-server-for-web-developers-cxmmljumw) · WebKit · 9 upvotes · 0 comments
- [Apple just turned Safari into something AI agents can control](https://daily.dev/posts/apple-just-turned-safari-into-something-ai-agents-can-control-krh7gtuhy) · The New Stack · 2 upvotes · 0 comments

---

Tags: [#mcp](https://daily.dev/tags/mcp), [#claude-code](https://daily.dev/tags/claude-code), [#safari](https://daily.dev/tags/safari)

[View this post on daily.dev](https://daily.dev/posts/safari-s-built-in-mcp-server-for-ai-coding-agents-nhwvplgxw)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Safari's built-in MCP server for AI coding agents","url":"https://daily.dev/posts/safari-s-built-in-mcp-server-for-ai-coding-agents-nhwvplgxw","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/safari-s-built-in-mcp-server-for-ai-coding-agents-nhwvplgxw"},"datePublished":"2026-11-30T11:03:21.792Z","dateModified":"2026-11-30T11:03:42.362Z","description":"Safari 27 on macOS 27 includes a built-in MCP server in /usr/bin/safaridriver, started with the --mcp flag. It needs no npm package or Node runtime. You must...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/be8d62ddf6bd34f542aa2e39968fb8ca?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/be8d62ddf6bd34f542aa2e39968fb8ca?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Flavio Copes","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Flavio Copes","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/1f2dbd275797411bbd37bfdaaf0951a9","url":"https://daily.dev/sources/flaviocopes"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/safari-s-built-in-mcp-server-for-ai-coding-agents-nhwvplgxw","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":9},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"mcp,claude-code,safari","timeRequired":"PT13M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Flavio Copes","item":"https://daily.dev/sources/flaviocopes"},{"@type":"ListItem","position":3,"name":"Safari's built-in MCP server for AI coding agents"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/safari-s-built-in-mcp-server-for-ai-coding-agents-nhwvplgxw#faq","mainEntity":[{"@type":"Question","name":"How do I enable Safari's built-in MCP server and connect Claude Code to it?","acceptedAnswer":{"@type":"Answer","text":"Check 'Show features for web developers' in Safari Settings \u003e Advanced, then check 'Allow remote automation and external agents' under Developer, or run safaridriver --enable. Next register it with: claude mcp add safari-mcp -- \"/usr/bin/safaridriver\" --mcp. Without the Developer toggle, the server lists its 17 tools but navigate_to_url fails. Developers wiring browsers into coding agents follow MCP tooling changes on daily.dev."}},{"@type":"Question","name":"How does Safari's MCP server differ from Playwright MCP for browser automation?","acceptedAnswer":{"@type":"Answer","text":"Safari's server is built into macOS 27 as a 167 KB binary, with no Node.js, and drives real shipping Safari with 17 tools. Playwright MCP runs via npx, offers 24 tools, and works on macOS, Linux and Windows. Safari batches interactions and returns diffs, and its real window supports Touch ID passkey sign-in. It is macOS-only. Choosing between browser automation tools is easier when you track their releases on daily.dev."}}]}
```

