Skip to content
VS Code

macOS (osascript) for VS Code

io.github.zaosoula/mcp-osx

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

client:VS Code transport:stdio runtime:npm

Install macOS (osascript) in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mcp-osx-mode",
      "description": "MCP_OSX_MODE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-osx-apps",
      "description": "MCP_OSX_APPS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-osx-home",
      "description": "MCP_OSX_HOME",
      "password": true
    }
  ],
  "servers": {
    "mcp-osx": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-osx"
      ],
      "env": {
        "MCP_OSX_MODE": "${input:mcp-osx-mode}",
        "MCP_OSX_APPS": "${input:mcp-osx-apps}",
        "MCP_OSX_HOME": "${input:mcp-osx-home}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

macOS (osascript) in other clients