MCP directory
MM

Macos Mcp Server

by github.com/cyanheads · v0.5.0 · updated Nov 21, 2026

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

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @cyanheads/[email protected]

Environment variables

  • MACOS_SCREENSHOT_DIR

    Default directory for screenshot files, and a directory a custom screenshot path may be written into besides /tmp and the home directory. Defaults to ~/Desktop when empty.

  • MACOS_DISPLAY_LAYOUTS

    JSON object mapping layout names to displayplacer argument strings for apply_layout.

  • MCP_LOG_LEVEL

    Minimum log level for output: debug, info, notice, warning, error.

npm

npx -y @cyanheads/[email protected]

Environment variables

  • MCP_TRANSPORT_TYPE

    Selects the HTTP transport.

  • MACOS_SCREENSHOT_DIR

    Default directory for screenshot files, and a directory a custom screenshot path may be written into besides /tmp and the home directory. Defaults to ~/Desktop when empty.

  • MACOS_DISPLAY_LAYOUTS

    JSON object mapping layout names to displayplacer argument strings for apply_layout.

  • MCP_HTTP_HOST

    The hostname for the HTTP server.

  • MCP_HTTP_PORT

    The port to run the HTTP server on.

  • MCP_HTTP_ENDPOINT_PATH

    The endpoint path for the MCP server.

  • MCP_AUTH_MODE

    Authentication mode: none, jwt, or oauth.

  • MCP_LOG_LEVEL

    Minimum log level for output: debug, info, notice, warning, error.

More from github.com/cyanheads

More MCP servers