Skip to content
Zed

macos mcp server for Zed

io.github.cyanheads/macos-mcp-server

Control macOS system settings, apps, windows, audio, displays, screenshots, and Focus mode via MCP.

client:Zed transport:stdio runtime:npm

Install macos mcp server in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

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

{
  "context_servers": {
    "macos-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/macos-mcp-server"
      ],
      "env": {
        "MACOS_SCREENSHOT_DIR": "<MACOS_SCREENSHOT_DIR>",
        "MACOS_DISPLAY_LAYOUTS": "<MACOS_DISPLAY_LAYOUTS>",
        "MCP_LOG_LEVEL": "<MCP_LOG_LEVEL>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

macos mcp server in other clients