Skip to content
Gemini CLI

macOS (osascript) for Gemini CLI

io.github.zaosoula/mcp-osx

Control 19 macOS apps with safe actions, approved AppleScript/JXA, and reusable workflows.

client:Gemini CLI transport:stdio runtime:npm

Install macOS (osascript) in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp-osx": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-osx"
      ],
      "env": {
        "MCP_OSX_MODE": "<MCP_OSX_MODE>",
        "MCP_OSX_APPS": "<MCP_OSX_APPS>",
        "MCP_OSX_HOME": "<MCP_OSX_HOME>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

macOS (osascript) in other clients