mySoftwareGuide

Safe & trusted downloads

The best software, verified by experts

Icon of program: safari-mcp

safari-mcp for MCP

Safari MCP: macOS Browser Automation for AI Agents

  • Free
  • 4.5
  • V v2.20.0

Safari MCP: macOS Browser Automation for AI Agents

Safari MCP by Achiya Automation is a specialized MCP server tool for automating native Safari browser instances on macOS. It enables AI agents to interact with Safari's state and functionality through AppleScript and a Swift daemon. Built primarily with Node.js, requiring version 18+ or 20+, it distributes as an npm package. This tool connects directly to a running Safari browser, offering a powerful way to control web interactions for various development and testing needs.

What does Safari MCP connect to?

Safari MCP connects directly to a real, running Safari browser instance on macOS. It functions as an MCP server, providing browser automation capabilities. The tool uses AppleScript and a Swift daemon to establish control over Safari, allowing AI agents to access the browser's current state and execute various functions. This direct connection ensures interactions occur within the user's existing Safari environment, including all active sessions and open tabs.

Core features and tools

Safari MCP exposes a collection of callable tools for browser automation, with sources indicating 80, 96, or 97 distinct tools. These tools cover essential functionalities such as navigation, clicking elements, form filling, capturing screenshots, network capture, managing cookies/storage, generating accessibility snapshots, and device emulation. The tool provides AI agents with granular control over Safari, enabling complex web interaction sequences.

Who is it for?

Safari MCP is designed for AI coding agents and Mac developers. It supports workflows like debugging authenticated web pages by retaining session state and testing for authentic Safari browser behavior, including extensions or WebKit quirks. Developers can also use it for personal browsing automation directly from an IDE. This tool is ideal for those requiring direct control over a live Safari session. Skip this if you do not operate on macOS or require automation for a different browser.

How to get started

The authentication model relies on driving the user's existing Safari session, meaning no separate credentials are required for the MCP server itself. It supports the stdio transport protocol, operating as a persistent stdio session.

Use cases

  • Debugging authenticated web pages, retaining existing session state and logins across restarts.
  • Testing for authentic Safari browser behavior, including extensions, WebKit quirks, or personal browsing automation from an IDE.
  • Automating browser interactions with pages where the user is already logged in, such as Gmail, GitHub, Slack, or banking sites.

Safari MCP offers a direct and powerful method for AI agents and Mac developers to automate Safari. Its ability to connect to an existing browser session, access cookies and logins, and provide a variety of tools makes it valuable for specific web automation tasks. Compatible with various AI clients, it integrates well into developer workflows.

  • Pros

    • Connects to real Safari browser.
    • Retains existing user session and logins.
    • Supports many automation tools.
    • Compatible with multiple AI clients.
  • Cons

    • Requires macOS operating system.
    • Needs specific Safari developer settings enabled.
    • Requires Node.js 18+ or 20+ to run.
Icon of program: safari-mcp

safari-mcp for MCP

  • Free
  • 4.5
  • V v2.20.0