macos-mcp-server
Rank #6,934io.github.cyanheads/macos-mcp-server
Control macOS system settings, apps, windows, audio, displays, screenshots, and Focus mode via MCP.
macos-mcp-server is a Model Context Protocol (MCP) server published by cyanheads. It ranks #6,934 of 132,046 servers tracked on MCP Toplist, and its repository has 3 GitHub stars. macos-mcp-server is listed across 4 registries — Official MCP, PulseMCP, Smithery and Glama, with 5 tracked versions. It was first listed on May 25, 2026 and most recently updated on Sep 20, 2026.
Ranks ahead of 125,112 of 132,046 servers on MCP Toplist.
Use macos-mcp-server
No credentials or required configuration declared — add it to your MCP client and go.
claude mcp add macos-mcp-server -e "MACOS_SCREENSHOT_DIR=<your MACOS_SCREENSHOT_DIR>" -e "MACOS_DISPLAY_LAYOUTS=<your MACOS_DISPLAY_LAYOUTS>" -e "MCP_LOG_LEVEL=<your MCP_LOG_LEVEL>" -- npx -y @cyanheads/macos-mcp-server run start:stdioReplace each placeholder with your own value before saving.
claude mcp add macos-mcp-server -e "MACOS_SCREENSHOT_DIR=<your MACOS_SCREENSHOT_DIR>" -e "MACOS_DISPLAY_LAYOUTS=<your MACOS_DISPLAY_LAYOUTS>" -e "MCP_HTTP_HOST=<your MCP_HTTP_HOST>" -e "MCP_HTTP_PORT=<your MCP_HTTP_PORT>" -e "MCP_HTTP_ENDPOINT_PATH=<your MCP_HTTP_ENDPOINT_PATH>" -e "MCP_AUTH_MODE=<your MCP_AUTH_MODE>" -e "MCP_LOG_LEVEL=<your MCP_LOG_LEVEL>" -- npx -y @cyanheads/macos-mcp-server run start:httpReplace each placeholder with your own value before saving.
[mcp_servers.macos-mcp-server]
command = "npx"
args = ["-y", "@cyanheads/macos-mcp-server", "run", "start:stdio"]
[mcp_servers.macos-mcp-server.env]
MACOS_SCREENSHOT_DIR = "<your MACOS_SCREENSHOT_DIR>"
MACOS_DISPLAY_LAYOUTS = "<your MACOS_DISPLAY_LAYOUTS>"
MCP_LOG_LEVEL = "<your MCP_LOG_LEVEL>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
[mcp_servers.macos-mcp-server]
command = "npx"
args = ["-y", "@cyanheads/macos-mcp-server", "run", "start:http"]
[mcp_servers.macos-mcp-server.env]
MACOS_SCREENSHOT_DIR = "<your MACOS_SCREENSHOT_DIR>"
MACOS_DISPLAY_LAYOUTS = "<your MACOS_DISPLAY_LAYOUTS>"
MCP_HTTP_HOST = "<your MCP_HTTP_HOST>"
MCP_HTTP_PORT = "<your MCP_HTTP_PORT>"
MCP_HTTP_ENDPOINT_PATH = "<your MCP_HTTP_ENDPOINT_PATH>"
MCP_AUTH_MODE = "<your MCP_AUTH_MODE>"
MCP_LOG_LEVEL = "<your MCP_LOG_LEVEL>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"macos-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/macos-mcp-server",
"run",
"start:stdio"
],
"env": {
"MACOS_SCREENSHOT_DIR": "<your MACOS_SCREENSHOT_DIR>",
"MACOS_DISPLAY_LAYOUTS": "<your MACOS_DISPLAY_LAYOUTS>",
"MCP_LOG_LEVEL": "<your MCP_LOG_LEVEL>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"macos-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/macos-mcp-server",
"run",
"start:http"
],
"env": {
"MACOS_SCREENSHOT_DIR": "<your MACOS_SCREENSHOT_DIR>",
"MACOS_DISPLAY_LAYOUTS": "<your MACOS_DISPLAY_LAYOUTS>",
"MCP_HTTP_HOST": "<your MCP_HTTP_HOST>",
"MCP_HTTP_PORT": "<your MCP_HTTP_PORT>",
"MCP_HTTP_ENDPOINT_PATH": "<your MCP_HTTP_ENDPOINT_PATH>",
"MCP_AUTH_MODE": "<your MCP_AUTH_MODE>",
"MCP_LOG_LEVEL": "<your MCP_LOG_LEVEL>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"macos-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/macos-mcp-server",
"run",
"start:stdio"
],
"env": {
"MACOS_SCREENSHOT_DIR": "<your MACOS_SCREENSHOT_DIR>",
"MACOS_DISPLAY_LAYOUTS": "<your MACOS_DISPLAY_LAYOUTS>",
"MCP_LOG_LEVEL": "<your MCP_LOG_LEVEL>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"macos-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/macos-mcp-server",
"run",
"start:http"
],
"env": {
"MACOS_SCREENSHOT_DIR": "<your MACOS_SCREENSHOT_DIR>",
"MACOS_DISPLAY_LAYOUTS": "<your MACOS_DISPLAY_LAYOUTS>",
"MCP_HTTP_HOST": "<your MCP_HTTP_HOST>",
"MCP_HTTP_PORT": "<your MCP_HTTP_PORT>",
"MCP_HTTP_ENDPOINT_PATH": "<your MCP_HTTP_ENDPOINT_PATH>",
"MCP_AUTH_MODE": "<your MCP_AUTH_MODE>",
"MCP_LOG_LEVEL": "<your MCP_LOG_LEVEL>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"servers": {
"macos-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/macos-mcp-server",
"run",
"start:stdio"
],
"env": {
"MACOS_SCREENSHOT_DIR": "<your MACOS_SCREENSHOT_DIR>",
"MACOS_DISPLAY_LAYOUTS": "<your MACOS_DISPLAY_LAYOUTS>",
"MCP_LOG_LEVEL": "<your MCP_LOG_LEVEL>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"servers": {
"macos-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/macos-mcp-server",
"run",
"start:http"
],
"env": {
"MACOS_SCREENSHOT_DIR": "<your MACOS_SCREENSHOT_DIR>",
"MACOS_DISPLAY_LAYOUTS": "<your MACOS_DISPLAY_LAYOUTS>",
"MCP_HTTP_HOST": "<your MCP_HTTP_HOST>",
"MCP_HTTP_PORT": "<your MCP_HTTP_PORT>",
"MCP_HTTP_ENDPOINT_PATH": "<your MCP_HTTP_ENDPOINT_PATH>",
"MCP_AUTH_MODE": "<your MCP_AUTH_MODE>",
"MCP_LOG_LEVEL": "<your MCP_LOG_LEVEL>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"macos-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/macos-mcp-server",
"run",
"start:stdio"
],
"env": {
"MACOS_SCREENSHOT_DIR": "<your MACOS_SCREENSHOT_DIR>",
"MACOS_DISPLAY_LAYOUTS": "<your MACOS_DISPLAY_LAYOUTS>",
"MCP_LOG_LEVEL": "<your MCP_LOG_LEVEL>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"macos-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/macos-mcp-server",
"run",
"start:http"
],
"env": {
"MACOS_SCREENSHOT_DIR": "<your MACOS_SCREENSHOT_DIR>",
"MACOS_DISPLAY_LAYOUTS": "<your MACOS_DISPLAY_LAYOUTS>",
"MCP_HTTP_HOST": "<your MCP_HTTP_HOST>",
"MCP_HTTP_PORT": "<your MCP_HTTP_PORT>",
"MCP_HTTP_ENDPOINT_PATH": "<your MCP_HTTP_ENDPOINT_PATH>",
"MCP_AUTH_MODE": "<your MCP_AUTH_MODE>",
"MCP_LOG_LEVEL": "<your MCP_LOG_LEVEL>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"macos-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/macos-mcp-server",
"run",
"start:stdio"
],
"env": {
"MACOS_SCREENSHOT_DIR": "<your MACOS_SCREENSHOT_DIR>",
"MACOS_DISPLAY_LAYOUTS": "<your MACOS_DISPLAY_LAYOUTS>",
"MCP_LOG_LEVEL": "<your MCP_LOG_LEVEL>"
}
}
}
}Replace each placeholder with your own value before saving.
{
"mcpServers": {
"macos-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/macos-mcp-server",
"run",
"start:http"
],
"env": {
"MACOS_SCREENSHOT_DIR": "<your MACOS_SCREENSHOT_DIR>",
"MACOS_DISPLAY_LAYOUTS": "<your MACOS_DISPLAY_LAYOUTS>",
"MCP_HTTP_HOST": "<your MCP_HTTP_HOST>",
"MCP_HTTP_PORT": "<your MCP_HTTP_PORT>",
"MCP_HTTP_ENDPOINT_PATH": "<your MCP_HTTP_ENDPOINT_PATH>",
"MCP_AUTH_MODE": "<your MCP_AUTH_MODE>",
"MCP_LOG_LEVEL": "<your MCP_LOG_LEVEL>"
}
}
}
}Replace each placeholder with your own value before saving.
Show your rank
Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.
[](https://mcptoplist.com/server/io.github.cyanheads%2Fmacos-mcp-server)<a href="https://mcptoplist.com/server/io.github.cyanheads%2Fmacos-mcp-server"><img src="https://mcptoplist.com/badge/io.github.cyanheads%2Fmacos-mcp-server.svg" alt="MCP Toplist: Top 10% of 132,046" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Listed on 4 registries
cyanheads
Other servers by cyanheads
- MCP Ts Core#59 · 194 vers
- obsidian-mcp-server#153 · 34 vers
- Pubmed MCP Server#203 · 87 vers
- Clinicaltrialsgov MCP Server#372 · 71 vers
- Git MCP Server#429 · 43 vers
- Openalex MCP Server#1,359 · 47 vers
- Secedgar MCP Server#1,466 · 57 vers
- Pubchem MCP Server#1,719 · 37 vers
- @cyanheads/eur-lex-mcp-server#1,826 · 36 vers
- ntfy-mcp-server#1,882 · 12 vers
- @cyanheads/openstreetmap-mcp-server#2,033 · 41 vers
- toolkit-mcp-server#2,133 · 8 vers
Available versions (5)
| Version | Published |
|---|---|
| 0.1.6 | Sep 20, 2026 |
| 0.1.5 | Aug 22, 2026 |
| 0.1.4 | Jun 13, 2026 |
| 0.1.3 | May 26, 2026 |
| 0.1.2 | May 25, 2026 |
Frequently asked questions
- Who maintains macos-mcp-server?
- macos-mcp-server is maintained by cyanheads, which publishes 135 MCP servers (2337 total versions) tracked on MCP Toplist.
- Is macos-mcp-server listed on the Official MCP Registry?
- Yes — macos-mcp-server is listed on the Official MCP Registry, alongside PulseMCP, Smithery and Glama.
- How many versions does macos-mcp-server have?
- MCP Toplist tracks 5 versions of macos-mcp-server, most recently published on Sep 20, 2026.
- Where can I find the source code for macos-mcp-server?
- The source code for macos-mcp-server is hosted at github.com/cyanheads/macos-mcp-server.
Do you run this server?
Community projects list the MCP servers behind real agents and apps. Publish yours and this page will link to it.