macOS MCP Server
by cyanheadsio.github.cyanheads/macos-mcp-serverv0.2.0
Control macOS system settings, apps, windows, audio, displays, screenshots, and Focus mode via MCP.
context tax
queued
security
queued
cold start
queued
freshness
Active15d ago
Install macOS MCP server
Install in Claude Code
claude mcp add macos-cyanheads -- npx -y @cyanheads/macos-mcp-server run start:stdioInstall in Cursor
{
"mcpServers": {
"macos-cyanheads": {
"command": "npx",
"args": [
"-y",
"@cyanheads/macos-mcp-server",
"run",
"start:stdio"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"macos-cyanheads": {
"command": "npx",
"args": [
"-y",
"@cyanheads/macos-mcp-server",
"run",
"start:stdio"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"macos-cyanheads": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/macos-mcp-server",
"run",
"start:stdio"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"macos-cyanheads": {
"command": "npx",
"args": [
"-y",
"@cyanheads/macos-mcp-server",
"run",
"start:stdio"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| MACOS_SCREENSHOT_DIR | — | — | Default directory for screenshot files. 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_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. |
Freshness
Active — last maintenance signal 15d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-24 · 15d ago · GitHub
Latest release
2026-09-24 · 15d ago · GitHub · v0.2.0
Package published
no data · npm/PyPI
Registry entry updated
2026-09-24 · 15d ago · official registry · v0.2.0
FAQ
›How do I install the macOS MCP server in Claude Code?
Run: claude mcp add macos-cyanheads -- npx -y @cyanheads/macos-mcp-server run start:stdio. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does macOS require an API key?
No required environment variables are declared in its published metadata.
›Can I use macOS as a remote (hosted) MCP server?
Yes — it offers both a hosted endpoint and a local stdio package.
›Is macOS in the official MCP registry?
Yes, as io.github.cyanheads/macos-mcp-server.
Alternatives to macOS
Other images, video & audio MCP servers.