io.github.cyanheads
macos-mcp-server
Control macOS system settings, apps, windows, audio, displays, screenshots, and Focus mode via MCP.
communityapplication
Package Details
@cyanheads/macos-mcp-server
Transportstdio
Runtimenode
Package Arguments
Positional
Position 0
runPosition 1
start:stdioEnvironment Variables
MACOS_SCREENSHOT_DIR(str)
Default directory for screenshot files. Defaults to ~/Desktop when empty.
MACOS_DISPLAY_LAYOUTS(str)
Default:
{}JSON object mapping layout names to displayplacer argument strings for apply_layout.
MCP_LOG_LEVEL(str)
Default:
infoMinimum log level for output: debug, info, notice, warning, error.
@cyanheads/macos-mcp-server
TransportStreamable HTTP
Runtimenode
Package Arguments
Positional
Position 0
runPosition 1
start:httpEnvironment Variables
MACOS_SCREENSHOT_DIR(str)
Default directory for screenshot files. Defaults to ~/Desktop when empty.
MACOS_DISPLAY_LAYOUTS(str)
Default:
{}JSON object mapping layout names to displayplacer argument strings for apply_layout.
MCP_HTTP_HOST(str)
Default:
127.0.0.1The hostname for the HTTP server.
MCP_HTTP_PORT(str)
Default:
3010The port to run the HTTP server on.
MCP_HTTP_ENDPOINT_PATH(str)
Default:
/mcpThe endpoint path for the MCP server.
MCP_AUTH_MODE(str)
Default:
noneAuthentication mode: none, jwt, or oauth.
MCP_LOG_LEVEL(str)
Default:
infoMinimum log level for output: debug, info, notice, warning, error.