Safari

v2.11.3Browser Automationstable

📇 🏠 🍎 - Native Safari browser automation for AI agents with 80+ tools. No Chrome depende

ai-agentsai-toolsapple-siliconapplescriptautomation
Share:
72
Stars
0
Downloads
0
Weekly
0/5

What is Safari?

Safari is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to 📇 🏠 🍎 - native safari browser automation for ai agents with 80+ tools. no chrome depende

📇 🏠 🍎 - Native Safari browser automation for AI agents with 80+ tools. No Chrome depende

This server falls under the Browser Automation category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • MCP protocol support

Use Cases

Native Safari browser automation with 80+ tools
Apple Silicon optimized with AppleScript integration
LicenseMIT
Languagejavascript
Versionv2.11.3
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y safari-mcp

Manual Installation

npx -y safari-mcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Safari

Safari MCP Server is a native macOS browser automation tool that exposes over 80 tools to MCP-compatible AI agents, enabling them to navigate web pages, interact with forms, take screenshots, manage tabs, intercept network requests, control cookies and local storage, and execute JavaScript — all through Apple's Safari browser via AppleScript without any Chrome or Playwright dependency. Because it integrates natively with macOS, it works seamlessly on Apple Silicon, preserves existing login sessions, and can run in the background while you use your Mac. It is the go-to choice for macOS developers and AI agents that need real-browser automation on Apple hardware.

Prerequisites

  • macOS with Safari browser installed (Apple Silicon or Intel)
  • Node.js 18 or later
  • Safari's 'Allow Remote Automation' enabled under Safari > Develop > Allow Remote Automation
  • An MCP-compatible client such as Claude Desktop, Claude Code, Cursor, or VS Code with MCP support
  • The Develop menu must be enabled in Safari (Safari > Settings > Advanced > Show features for web developers)
1

Enable Safari remote automation

Open Safari, go to Safari > Settings > Advanced and enable 'Show features for web developers'. Then open the Develop menu and enable 'Allow Remote Automation'. This is required for the MCP server to control the browser.

2

Install the safari-mcp package

Install the package globally via npm, or use npx to run it on demand without a global install.

npm install -g safari-mcp
3

Add the server to your MCP client configuration

Edit your Claude Desktop config at ~/Library/Application Support/Claude/claude_desktop_config.json and add the safari block. No API keys or environment variables are required.

{
  "mcpServers": {
    "safari": {
      "command": "npx",
      "args": ["safari-mcp"]
    }
  }
}
4

Restart your MCP client

Restart Claude Desktop (or your chosen MCP client) to load the Safari MCP server. All 80+ tools will be available to the AI on the next conversation.

5

Test with a simple navigation command

Ask Claude to navigate to a URL and read the page content to verify the server is connected and Safari automation is working.

Safari Examples

Client configuration

Minimal Claude Desktop config for Safari MCP — no environment variables needed.

{
  "mcpServers": {
    "safari": {
      "command": "npx",
      "args": ["safari-mcp"]
    }
  }
}

Prompts to try

Example tasks you can ask Claude once Safari MCP is connected.

- "Navigate to https://news.ycombinator.com and extract the top 10 story titles and URLs"
- "Open a new tab, go to https://example.com/login, fill the username and password fields, and click Sign In"
- "Take a screenshot of the current Safari tab"
- "Get all cookies from the current session on github.com"
- "Start network capture, navigate to https://api.example.com/data, and show me all XHR requests made"
- "Emulate an iPhone 15 screen size and take a screenshot of the current page"

Troubleshooting Safari

Safari automation fails with 'Not authorized to send Apple events'

Go to System Settings > Privacy & Security > Automation and ensure your terminal application (Terminal, iTerm2, or whichever app runs npx) has permission to control Safari.

The Develop menu does not appear in Safari

Open Safari > Settings > Advanced and check 'Show features for web developers'. This must be enabled before 'Allow Remote Automation' appears in the Develop menu.

safari_fill does not update React or Vue form fields correctly

Use the safari_evaluate tool to trigger native React/Vue input event setters manually, or use safari_type_text which fires keyboard events that framework listeners detect.

Frequently Asked Questions about Safari

What is Safari?

Safari is a Model Context Protocol (MCP) server that 📇 🏠 🍎 - native safari browser automation for ai agents with 80+ tools. no chrome depende It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Safari?

Install via npm with the command: npx -y safari-mcp. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with Safari?

Safari works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Safari free to use?

Yes, Safari is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Browser Automation MCP Servers

Explore all browser automation servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "safari-mcp-server": { "command": "npx", "args": ["-y", "safari-mcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Safari?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides