MCPSafari
by Epistates·★ 23·Score 45
Native Safari MCP server providing 23 tools for AI agents to control Safari on macOS.
Overview
MCPSafari is a comprehensive MCP server that bridges AI agents with Apple's Safari browser on macOS. It offers tab management, navigation, page reading, form interaction, JavaScript execution, and debugging capabilities. The server communicates via stdio with MCP clients and bridges to a Safari Extension over WebSocket, enabling secure browser automation without Chrome overhead.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose MCPSafari when you need Safari-specific automation on macOS, especially if you require native accessibility features and want to avoid Chrome's resource overhead.
When NOT to choose this
Don't choose MCPSafari if you need cross-platform browser automation or require Chrome-specific browser extensions and APIs.
Tools this server exposes
12 tools extracted from the READMEtabs_contextList all open tabs with IDs, URLs, and titles
tabs_createOpen a new tab, optionally with a URL
navigateGo to a URL, or use back/forward/reload actions
read_pageGet page content as text, html, or snapshot
snapshotAccessibility tree with element UIDs for interaction
clickClick by UID, CSS selector, text, or coordinates
type_textType into an element with optional clearFirst and submitKey
screenshotCapture the visible tab area as a PNG image
javascript_toolExecute arbitrary JS in the page context and return results
read_consoleRead console messages with level and regex filtering
read_networkRead captured XHR/fetch requests with type filtering
waitWait for a duration, CSS selector, or text to appear
Comparable tools
Installation
Homebrew (recommended)
brew install --cask epistates/tap/mcp-safariClaude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"mcp-safari": {
"command": "mcp-safari"
}
}
}After installation, enable the extension in Safari > Settings > Extensions > MCPSafari Extension.
FAQ
- Which macOS versions are supported?
- macOS 14.0 (Sonoma) or later with Safari 17+.
- How does MCPSafari compare to Chrome-based automation?
- It uses 40-60% less CPU/heat on Apple Silicon, maintains Safari logins/cookies, and provides better accessibility tree for complex UIs.
Compare MCPSafari with
Last updated · Auto-generated from public README + GitHub signals.