Skip to content
VS Code

mcp macos for VS Code

io.github.dockndevai/mcp-macos

Observe & operate a Mac — files, processes, apps, shell, AppleScript, GUI — safe by default.

client:VS Code transport:stdio runtime:npm

Install mcp macos in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "macos-mode",
      "description": "MACOS_MODE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "macos-allow-exec",
      "description": "MACOS_ALLOW_EXEC",
      "password": true
    },
    {
      "type": "promptString",
      "id": "macos-allow-delete",
      "description": "MACOS_ALLOW_DELETE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "macos-allow-input",
      "description": "MACOS_ALLOW_INPUT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "macos-path-allowlist",
      "description": "MACOS_PATH_ALLOWLIST",
      "password": true
    }
  ],
  "servers": {
    "mcp-macos": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-macos"
      ],
      "env": {
        "MACOS_MODE": "${input:macos-mode}",
        "MACOS_ALLOW_EXEC": "${input:macos-allow-exec}",
        "MACOS_ALLOW_DELETE": "${input:macos-allow-delete}",
        "MACOS_ALLOW_INPUT": "${input:macos-allow-input}",
        "MACOS_PATH_ALLOWLIST": "${input:macos-path-allowlist}"
      }
    }
  }
}

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

mcp macos in other clients