macos-mcp-server
A community-driven MCP server that allows AI agents to control local macOS system settings, manage applications and windows, control audio and Music playback, capture screenshots, and toggle Focus mode via stdio or Streamable HTTP transport.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Launch, quit, and arrange applications and windows
- Control system audio volume and switch input/output devices
- Capture screenshots of displays or specific windows
- Toggle Focus mode and send notifications
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@cyanheads/macos-mcp-server 0.4.0
{
"version": "0.4.0",
"transport": "stdio",
"identifier": "@cyanheads/macos-mcp-server",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "MACOS_SCREENSHOT_DIR",
"format": "string",
"description": "Default directory for screenshot files. Defaults to ~/Desktop when empty."
},
{
"name": "MACOS_DISPLAY_LAYOUTS",
"format": "string",
"default": "{}",
"description": "JSON object mapping layout names to displayplacer argument strings for apply_layout."
},
{
"name": "MCP_LOG_LEVEL",
"format": "string",
"default": "info",
"description": "Minimum log level for output: debug, info, notice, warning, error."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"macos-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/macos-mcp-server@0.4.0"
],
"env": {
"MACOS_SCREENSHOT_DIR": "<YOUR_MACOS_SCREENSHOT_DIR>",
"MACOS_DISPLAY_LAYOUTS": "<YOUR_MACOS_DISPLAY_LAYOUTS>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
}
}
}
}Cline
{
"mcpServers": {
"macos-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/macos-mcp-server@0.4.0"
],
"env": {
"MACOS_SCREENSHOT_DIR": "<YOUR_MACOS_SCREENSHOT_DIR>",
"MACOS_DISPLAY_LAYOUTS": "<YOUR_MACOS_DISPLAY_LAYOUTS>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
}
}
}
}VS Code
{
"servers": {
"macos-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/macos-mcp-server@0.4.0"
],
"env": {
"MACOS_SCREENSHOT_DIR": "<YOUR_MACOS_SCREENSHOT_DIR>",
"MACOS_DISPLAY_LAYOUTS": "<YOUR_MACOS_DISPLAY_LAYOUTS>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"macos-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/macos-mcp-server@0.4.0"
],
"env": {
"MACOS_SCREENSHOT_DIR": "<YOUR_MACOS_SCREENSHOT_DIR>",
"MACOS_DISPLAY_LAYOUTS": "<YOUR_MACOS_DISPLAY_LAYOUTS>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
}
}
}
}Let your agent find its tools
Find servers like macos-mcp-server from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.