CodexGuild
io.github.cyanheads/macos-mcp-server·Productivity

macos-mcp-server

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

Stars
—
Version
0.5.0
License
—
Review
Passed
Registry update
Nov 21, 2026

Connect

npm
Terminal
$claude mcp add macos \  -e MACOS_SCREENSHOT_DIR=<macos-screenshot-dir> \  -e MACOS_DISPLAY_LAYOUTS=<macos-display-layouts> \  -e MCP_LOG_LEVEL=<mcp-log-level> \  -- 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.

  • 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.

Security review

Review passed

Reviewed 3d ago.

readme
scanned
metadata
scanned
packages
2 checked

No findings.

Tools

This server runs on your machine, so its tool list is not fetched before install — the README below describes what it offers.

More in Productivity

Listing from the official MCP Registry.