{
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "name": "io.github.cyanheads/macos-mcp-server",
  "description": "Control macOS system settings, apps, windows, audio, displays, screenshots, and Focus mode via MCP.",
  "repository": {
    "url": "https://github.com/cyanheads/macos-mcp-server",
    "source": "github"
  },
  "version": "0.1.6",
  "packages": [
    {
      "registryType": "npm",
      "registryBaseUrl": "https://registry.npmjs.org",
      "identifier": "@cyanheads/macos-mcp-server",
      "runtimeHint": "node",
      "version": "0.1.6",
      "packageArguments": [
        {
          "type": "positional",
          "value": "run"
        },
        {
          "type": "positional",
          "value": "start:stdio"
        }
      ],
      "environmentVariables": [
        {
          "name": "MACOS_SCREENSHOT_DIR",
          "description": "Default directory for screenshot files. Defaults to ~/Desktop when empty.",
          "format": "string",
          "isRequired": false,
          "default": ""
        },
        {
          "name": "MACOS_DISPLAY_LAYOUTS",
          "description": "JSON object mapping layout names to displayplacer argument strings for apply_layout.",
          "format": "string",
          "isRequired": false,
          "default": "{}"
        },
        {
          "name": "MCP_LOG_LEVEL",
          "description": "Minimum log level for output: debug, info, notice, warning, error.",
          "format": "string",
          "isRequired": false,
          "default": "info"
        }
      ],
      "transport": {
        "type": "stdio"
      }
    },
    {
      "registryType": "npm",
      "registryBaseUrl": "https://registry.npmjs.org",
      "identifier": "@cyanheads/macos-mcp-server",
      "runtimeHint": "node",
      "version": "0.1.6",
      "packageArguments": [
        {
          "type": "positional",
          "value": "run"
        },
        {
          "type": "positional",
          "value": "start:http"
        }
      ],
      "environmentVariables": [
        {
          "name": "MACOS_SCREENSHOT_DIR",
          "description": "Default directory for screenshot files. Defaults to ~/Desktop when empty.",
          "format": "string",
          "isRequired": false,
          "default": ""
        },
        {
          "name": "MACOS_DISPLAY_LAYOUTS",
          "description": "JSON object mapping layout names to displayplacer argument strings for apply_layout.",
          "format": "string",
          "isRequired": false,
          "default": "{}"
        },
        {
          "name": "MCP_HTTP_HOST",
          "description": "The hostname for the HTTP server.",
          "format": "string",
          "isRequired": false,
          "default": "127.0.0.1"
        },
        {
          "name": "MCP_HTTP_PORT",
          "description": "The port to run the HTTP server on.",
          "format": "string",
          "isRequired": false,
          "default": "3010"
        },
        {
          "name": "MCP_HTTP_ENDPOINT_PATH",
          "description": "The endpoint path for the MCP server.",
          "format": "string",
          "isRequired": false,
          "default": "/mcp"
        },
        {
          "name": "MCP_AUTH_MODE",
          "description": "Authentication mode: none, jwt, or oauth.",
          "format": "string",
          "isRequired": false,
          "default": "none"
        },
        {
          "name": "MCP_LOG_LEVEL",
          "description": "Minimum log level for output: debug, info, notice, warning, error.",
          "format": "string",
          "isRequired": false,
          "default": "info"
        }
      ],
      "transport": {
        "type": "streamable-http",
        "url": "http://localhost:3010/mcp"
      }
    }
  ]
}
