Safari (background) for VS Code
io.github.alexzai007/safari-background-mcp
Drives your real Safari (with your logins) in the background: never steals focus, ~15 ms per call.
client:VS Code
transport:stdio
runtime:npm
Install Safari (background) in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "safari-mcp-tools",
"description": "SAFARI_MCP_TOOLS",
"password": true
},
{
"type": "promptString",
"id": "safari-mcp-agent-window",
"description": "SAFARI_MCP_AGENT_WINDOW",
"password": true
},
{
"type": "promptString",
"id": "safari-mcp-state",
"description": "SAFARI_MCP_STATE",
"password": true
}
],
"servers": {
"safari-background-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"safari-background-mcp"
],
"env": {
"SAFARI_MCP_TOOLS": "${input:safari-mcp-tools}",
"SAFARI_MCP_AGENT_WINDOW": "${input:safari-mcp-agent-window}",
"SAFARI_MCP_STATE": "${input:safari-mcp-state}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs