Apple Safari MCP Server
by mgcreaio.github.mgcrea/mcp-apple-safariv1.26.0
Read and act on Safari — history, tabs and reading list, writes off by default
context tax
queued
security
queued
cold start
queued
freshness
Active4d ago
Install Apple Safari MCP server
Install in Claude Code
claude mcp add safari-mgcrea -- npx -y @mgcrea/mcp-apple-safariInstall in Cursor
{
"mcpServers": {
"safari-mgcrea": {
"command": "npx",
"args": [
"-y",
"@mgcrea/mcp-apple-safari"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"safari-mgcrea": {
"command": "npx",
"args": [
"-y",
"@mgcrea/mcp-apple-safari"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"safari-mgcrea": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mgcrea/mcp-apple-safari"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"safari-mgcrea": {
"command": "npx",
"args": [
"-y",
"@mgcrea/mcp-apple-safari"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| APPLE_SAFARI_ALLOW_WRITES | — | — | Register the mutating tools. Off by default, and the gate decides whether the write tools exist at all rather than merely refusing — an agent with writes off cannot see them. |
| APPLE_SAFARI_ALLOW_CODES | — | — | Return one-time codes: a one-time-code field in apple_safari_page_elements, and apple_safari_find_codes for a code a page shows as text. Its own gate rather than allowWrites, because it is a read. Credential fields stay redacted whatever this says. |
Freshness
Active — last maintenance signal 4d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-06 · 4d ago · GitHub
Latest release
2026-10-06 · 4d ago · GitHub · app-v1.26.0
Package published
no data · npm/PyPI
Registry entry updated
2026-10-06 · 4d ago · official registry · v1.26.0
FAQ
›How do I install the Apple Safari MCP server in Claude Code?
Run: claude mcp add safari-mgcrea -- npx -y @mgcrea/mcp-apple-safari. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Apple Safari require an API key?
No required environment variables are declared in its published metadata.
›Can I use Apple Safari as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Apple Safari in the official MCP registry?
Yes, as io.github.mgcrea/mcp-apple-safari.