A

Apple Icloud MCP

by chrischall · io.github.chrischall/apple-icloud-mcp

Enables natural-language access to OurFamilyWizard co-parenting data, including messages, calendar, expenses, and journal entries.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-chrischall-apple-icloud-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "apple-icloud-mcp"
      ],
      "env": {
        "APPLE_TEAM_ID": "<VALUE>",
        "APPLE_KEY_ID": "<VALUE>",
        "APPLE_PRIVATE_KEY": "<YOUR_VALUE>",
        "APPLE_PRIVATE_KEY_PATH": "<VALUE>",
        "APPLE_MUSIC_KEY_ID": "<VALUE>",
        "APPLE_MUSIC_PRIVATE_KEY": "<YOUR_VALUE>",
        "APPLE_MAPS_KEY_ID": "<VALUE>",
        "APPLE_MAPS_PRIVATE_KEY": "<YOUR_VALUE>",
        "APPLE_WEATHERKIT_KEY_ID": "<VALUE>",
        "APPLE_WEATHERKIT_PRIVATE_KEY": "<YOUR_VALUE>",
        "APPLE_WEATHERKIT_SERVICE_ID": "<VALUE>",
        "APPLE_MUSIC_DEVELOPER_TOKEN": "<YOUR_VALUE>",
        "APPLE_MUSIC_USER_TOKEN": "<YOUR_VALUE>",
        "APPLE_MUSIC_WEB_USER_TOKEN": "<YOUR_VALUE>",
        "APPLE_MUSIC_WEB_DEVELOPER_TOKEN": "<YOUR_VALUE>",
        "APPLE_MUSIC_STOREFRONT": "<VALUE>",
        "ICLOUD_USERNAME": "<VALUE>",
        "ICLOUD_APP_PASSWORD": "<YOUR_VALUE>",
        "ICLOUD_MAIL_ADDRESS": "<VALUE>",
        "ICLOUD_DEFAULT_CALENDAR": "<VALUE>",
        "APPLE_WRITE_MODE": "<VALUE>",
        "APPLE_SERVICES": "<VALUE>",
        "DISPLAY_TZ": "<VALUE>",
        "APPLE_UNITS": "<VALUE>",
        "APPLE_STATE_CACHE": "<VALUE>",
        "APPLE_REQUEST_TIMEOUT_MS": "<VALUE>",
        "APPLE_DEBUG_LOG": "<VALUE>",
        "MCP_CONFIRM_MODE": "ask-user",
        "MCP_CONFIRM_ELICITATION": "<VALUE>",
        "MCP_CONFIRM_TTL_SECONDS": "600",
        "MCP_CONFIRM_SECRET": "<YOUR_VALUE>",
        "OFW_PASSWORD": "<VALUE>",
        "OFW_USERNAME": "<VALUE>",
        "OFW_CACHE_DIR": "~/.cache/ofw-mcp",
        "OFW_UPLOAD_DIR": "~/Downloads/ofw-mcp",
        "OFW_WRITE_MODE": "all",
        "OFW_AUTO_REFRESH": "false",
        "OFW_SESSION_FILE": "~/.ofw-mcp/session.json",
        "OFW_CACHE_IDENTITY": "",
        "OFW_ALLOW_MARK_READ": "true",
        "OFW_ATTACHMENTS_DIR": "~/Downloads/ofw-mcp",
        "OFW_CALENDAR_WRITES": "false",
        "OFW_DISABLE_FETCHPROXY": "false",
        "OFW_FETCH_UNREAD_BODIES": "false",
        "OFW_FRESHNESS_TTL_SECONDS": "300"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-chrischall-apple-icloud-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "apple-icloud-mcp"
      ],
      "env": {
        "APPLE_TEAM_ID": "<VALUE>",
        "APPLE_KEY_ID": "<VALUE>",
        "APPLE_PRIVATE_KEY": "<YOUR_VALUE>",
        "APPLE_PRIVATE_KEY_PATH": "<VALUE>",
        "APPLE_MUSIC_KEY_ID": "<VALUE>",
        "APPLE_MUSIC_PRIVATE_KEY": "<YOUR_VALUE>",
        "APPLE_MAPS_KEY_ID": "<VALUE>",
        "APPLE_MAPS_PRIVATE_KEY": "<YOUR_VALUE>",
        "APPLE_WEATHERKIT_KEY_ID": "<VALUE>",
        "APPLE_WEATHERKIT_PRIVATE_KEY": "<YOUR_VALUE>",
        "APPLE_WEATHERKIT_SERVICE_ID": "<VALUE>",
        "APPLE_MUSIC_DEVELOPER_TOKEN": "<YOUR_VALUE>",
        "APPLE_MUSIC_USER_TOKEN": "<YOUR_VALUE>",
        "APPLE_MUSIC_WEB_USER_TOKEN": "<YOUR_VALUE>",
        "APPLE_MUSIC_WEB_DEVELOPER_TOKEN": "<YOUR_VALUE>",
        "APPLE_MUSIC_STOREFRONT": "<VALUE>",
        "ICLOUD_USERNAME": "<VALUE>",
        "ICLOUD_APP_PASSWORD": "<YOUR_VALUE>",
        "ICLOUD_MAIL_ADDRESS": "<VALUE>",
        "ICLOUD_DEFAULT_CALENDAR": "<VALUE>",
        "APPLE_WRITE_MODE": "<VALUE>",
        "APPLE_SERVICES": "<VALUE>",
        "DISPLAY_TZ": "<VALUE>",
        "APPLE_UNITS": "<VALUE>",
        "APPLE_STATE_CACHE": "<VALUE>",
        "APPLE_REQUEST_TIMEOUT_MS": "<VALUE>",
        "APPLE_DEBUG_LOG": "<VALUE>",
        "MCP_CONFIRM_MODE": "ask-user",
        "MCP_CONFIRM_ELICITATION": "<VALUE>",
        "MCP_CONFIRM_TTL_SECONDS": "600",
        "MCP_CONFIRM_SECRET": "<YOUR_VALUE>",
        "OFW_PASSWORD": "<VALUE>",
        "OFW_USERNAME": "<VALUE>",
        "OFW_CACHE_DIR": "~/.cache/ofw-mcp",
        "OFW_UPLOAD_DIR": "~/Downloads/ofw-mcp",
        "OFW_WRITE_MODE": "all",
        "OFW_AUTO_REFRESH": "false",
        "OFW_SESSION_FILE": "~/.ofw-mcp/session.json",
        "OFW_CACHE_IDENTITY": "",
        "OFW_ALLOW_MARK_READ": "true",
        "OFW_ATTACHMENTS_DIR": "~/Downloads/ofw-mcp",
        "OFW_CALENDAR_WRITES": "false",
        "OFW_DISABLE_FETCHPROXY": "false",
        "OFW_FETCH_UNREAD_BODIES": "false",
        "OFW_FRESHNESS_TTL_SECONDS": "300"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-chrischall-apple-icloud-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "apple-icloud-mcp"
      ],
      "env": {
        "APPLE_TEAM_ID": "<VALUE>",
        "APPLE_KEY_ID": "<VALUE>",
        "APPLE_PRIVATE_KEY": "<YOUR_VALUE>",
        "APPLE_PRIVATE_KEY_PATH": "<VALUE>",
        "APPLE_MUSIC_KEY_ID": "<VALUE>",
        "APPLE_MUSIC_PRIVATE_KEY": "<YOUR_VALUE>",
        "APPLE_MAPS_KEY_ID": "<VALUE>",
        "APPLE_MAPS_PRIVATE_KEY": "<YOUR_VALUE>",
        "APPLE_WEATHERKIT_KEY_ID": "<VALUE>",
        "APPLE_WEATHERKIT_PRIVATE_KEY": "<YOUR_VALUE>",
        "APPLE_WEATHERKIT_SERVICE_ID": "<VALUE>",
        "APPLE_MUSIC_DEVELOPER_TOKEN": "<YOUR_VALUE>",
        "APPLE_MUSIC_USER_TOKEN": "<YOUR_VALUE>",
        "APPLE_MUSIC_WEB_USER_TOKEN": "<YOUR_VALUE>",
        "APPLE_MUSIC_WEB_DEVELOPER_TOKEN": "<YOUR_VALUE>",
        "APPLE_MUSIC_STOREFRONT": "<VALUE>",
        "ICLOUD_USERNAME": "<VALUE>",
        "ICLOUD_APP_PASSWORD": "<YOUR_VALUE>",
        "ICLOUD_MAIL_ADDRESS": "<VALUE>",
        "ICLOUD_DEFAULT_CALENDAR": "<VALUE>",
        "APPLE_WRITE_MODE": "<VALUE>",
        "APPLE_SERVICES": "<VALUE>",
        "DISPLAY_TZ": "<VALUE>",
        "APPLE_UNITS": "<VALUE>",
        "APPLE_STATE_CACHE": "<VALUE>",
        "APPLE_REQUEST_TIMEOUT_MS": "<VALUE>",
        "APPLE_DEBUG_LOG": "<VALUE>",
        "MCP_CONFIRM_MODE": "ask-user",
        "MCP_CONFIRM_ELICITATION": "<VALUE>",
        "MCP_CONFIRM_TTL_SECONDS": "600",
        "MCP_CONFIRM_SECRET": "<YOUR_VALUE>",
        "OFW_PASSWORD": "<VALUE>",
        "OFW_USERNAME": "<VALUE>",
        "OFW_CACHE_DIR": "~/.cache/ofw-mcp",
        "OFW_UPLOAD_DIR": "~/Downloads/ofw-mcp",
        "OFW_WRITE_MODE": "all",
        "OFW_AUTO_REFRESH": "false",
        "OFW_SESSION_FILE": "~/.ofw-mcp/session.json",
        "OFW_CACHE_IDENTITY": "",
        "OFW_ALLOW_MARK_READ": "true",
        "OFW_ATTACHMENTS_DIR": "~/Downloads/ofw-mcp",
        "OFW_CALENDAR_WRITES": "false",
        "OFW_DISABLE_FETCHPROXY": "false",
        "OFW_FETCH_UNREAD_BODIES": "false",
        "OFW_FRESHNESS_TTL_SECONDS": "300"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-chrischall-apple-icloud-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "apple-icloud-mcp"
      ],
      "env": {
        "APPLE_TEAM_ID": "<VALUE>",
        "APPLE_KEY_ID": "<VALUE>",
        "APPLE_PRIVATE_KEY": "<YOUR_VALUE>",
        "APPLE_PRIVATE_KEY_PATH": "<VALUE>",
        "APPLE_MUSIC_KEY_ID": "<VALUE>",
        "APPLE_MUSIC_PRIVATE_KEY": "<YOUR_VALUE>",
        "APPLE_MAPS_KEY_ID": "<VALUE>",
        "APPLE_MAPS_PRIVATE_KEY": "<YOUR_VALUE>",
        "APPLE_WEATHERKIT_KEY_ID": "<VALUE>",
        "APPLE_WEATHERKIT_PRIVATE_KEY": "<YOUR_VALUE>",
        "APPLE_WEATHERKIT_SERVICE_ID": "<VALUE>",
        "APPLE_MUSIC_DEVELOPER_TOKEN": "<YOUR_VALUE>",
        "APPLE_MUSIC_USER_TOKEN": "<YOUR_VALUE>",
        "APPLE_MUSIC_WEB_USER_TOKEN": "<YOUR_VALUE>",
        "APPLE_MUSIC_WEB_DEVELOPER_TOKEN": "<YOUR_VALUE>",
        "APPLE_MUSIC_STOREFRONT": "<VALUE>",
        "ICLOUD_USERNAME": "<VALUE>",
        "ICLOUD_APP_PASSWORD": "<YOUR_VALUE>",
        "ICLOUD_MAIL_ADDRESS": "<VALUE>",
        "ICLOUD_DEFAULT_CALENDAR": "<VALUE>",
        "APPLE_WRITE_MODE": "<VALUE>",
        "APPLE_SERVICES": "<VALUE>",
        "DISPLAY_TZ": "<VALUE>",
        "APPLE_UNITS": "<VALUE>",
        "APPLE_STATE_CACHE": "<VALUE>",
        "APPLE_REQUEST_TIMEOUT_MS": "<VALUE>",
        "APPLE_DEBUG_LOG": "<VALUE>",
        "MCP_CONFIRM_MODE": "ask-user",
        "MCP_CONFIRM_ELICITATION": "<VALUE>",
        "MCP_CONFIRM_TTL_SECONDS": "600",
        "MCP_CONFIRM_SECRET": "<YOUR_VALUE>",
        "OFW_PASSWORD": "<VALUE>",
        "OFW_USERNAME": "<VALUE>",
        "OFW_CACHE_DIR": "~/.cache/ofw-mcp",
        "OFW_UPLOAD_DIR": "~/Downloads/ofw-mcp",
        "OFW_WRITE_MODE": "all",
        "OFW_AUTO_REFRESH": "false",
        "OFW_SESSION_FILE": "~/.ofw-mcp/session.json",
        "OFW_CACHE_IDENTITY": "",
        "OFW_ALLOW_MARK_READ": "true",
        "OFW_ATTACHMENTS_DIR": "~/Downloads/ofw-mcp",
        "OFW_CALENDAR_WRITES": "false",
        "OFW_DISABLE_FETCHPROXY": "false",
        "OFW_FETCH_UNREAD_BODIES": "false",
        "OFW_FRESHNESS_TTL_SECONDS": "300"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-chrischall-apple-icloud-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "apple-icloud-mcp"
      ],
      "env": {
        "APPLE_TEAM_ID": "<VALUE>",
        "APPLE_KEY_ID": "<VALUE>",
        "APPLE_PRIVATE_KEY": "<YOUR_VALUE>",
        "APPLE_PRIVATE_KEY_PATH": "<VALUE>",
        "APPLE_MUSIC_KEY_ID": "<VALUE>",
        "APPLE_MUSIC_PRIVATE_KEY": "<YOUR_VALUE>",
        "APPLE_MAPS_KEY_ID": "<VALUE>",
        "APPLE_MAPS_PRIVATE_KEY": "<YOUR_VALUE>",
        "APPLE_WEATHERKIT_KEY_ID": "<VALUE>",
        "APPLE_WEATHERKIT_PRIVATE_KEY": "<YOUR_VALUE>",
        "APPLE_WEATHERKIT_SERVICE_ID": "<VALUE>",
        "APPLE_MUSIC_DEVELOPER_TOKEN": "<YOUR_VALUE>",
        "APPLE_MUSIC_USER_TOKEN": "<YOUR_VALUE>",
        "APPLE_MUSIC_WEB_USER_TOKEN": "<YOUR_VALUE>",
        "APPLE_MUSIC_WEB_DEVELOPER_TOKEN": "<YOUR_VALUE>",
        "APPLE_MUSIC_STOREFRONT": "<VALUE>",
        "ICLOUD_USERNAME": "<VALUE>",
        "ICLOUD_APP_PASSWORD": "<YOUR_VALUE>",
        "ICLOUD_MAIL_ADDRESS": "<VALUE>",
        "ICLOUD_DEFAULT_CALENDAR": "<VALUE>",
        "APPLE_WRITE_MODE": "<VALUE>",
        "APPLE_SERVICES": "<VALUE>",
        "DISPLAY_TZ": "<VALUE>",
        "APPLE_UNITS": "<VALUE>",
        "APPLE_STATE_CACHE": "<VALUE>",
        "APPLE_REQUEST_TIMEOUT_MS": "<VALUE>",
        "APPLE_DEBUG_LOG": "<VALUE>",
        "MCP_CONFIRM_MODE": "ask-user",
        "MCP_CONFIRM_ELICITATION": "<VALUE>",
        "MCP_CONFIRM_TTL_SECONDS": "600",
        "MCP_CONFIRM_SECRET": "<YOUR_VALUE>",
        "OFW_PASSWORD": "<VALUE>",
        "OFW_USERNAME": "<VALUE>",
        "OFW_CACHE_DIR": "~/.cache/ofw-mcp",
        "OFW_UPLOAD_DIR": "~/Downloads/ofw-mcp",
        "OFW_WRITE_MODE": "all",
        "OFW_AUTO_REFRESH": "false",
        "OFW_SESSION_FILE": "~/.ofw-mcp/session.json",
        "OFW_CACHE_IDENTITY": "",
        "OFW_ALLOW_MARK_READ": "true",
        "OFW_ATTACHMENTS_DIR": "~/Downloads/ofw-mcp",
        "OFW_CALENDAR_WRITES": "false",
        "OFW_DISABLE_FETCHPROXY": "false",
        "OFW_FETCH_UNREAD_BODIES": "false",
        "OFW_FRESHNESS_TTL_SECONDS": "300"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-chrischall-apple-icloud-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "apple-icloud-mcp"
      ],
      "env": {
        "APPLE_TEAM_ID": "<VALUE>",
        "APPLE_KEY_ID": "<VALUE>",
        "APPLE_PRIVATE_KEY": "<YOUR_VALUE>",
        "APPLE_PRIVATE_KEY_PATH": "<VALUE>",
        "APPLE_MUSIC_KEY_ID": "<VALUE>",
        "APPLE_MUSIC_PRIVATE_KEY": "<YOUR_VALUE>",
        "APPLE_MAPS_KEY_ID": "<VALUE>",
        "APPLE_MAPS_PRIVATE_KEY": "<YOUR_VALUE>",
        "APPLE_WEATHERKIT_KEY_ID": "<VALUE>",
        "APPLE_WEATHERKIT_PRIVATE_KEY": "<YOUR_VALUE>",
        "APPLE_WEATHERKIT_SERVICE_ID": "<VALUE>",
        "APPLE_MUSIC_DEVELOPER_TOKEN": "<YOUR_VALUE>",
        "APPLE_MUSIC_USER_TOKEN": "<YOUR_VALUE>",
        "APPLE_MUSIC_WEB_USER_TOKEN": "<YOUR_VALUE>",
        "APPLE_MUSIC_WEB_DEVELOPER_TOKEN": "<YOUR_VALUE>",
        "APPLE_MUSIC_STOREFRONT": "<VALUE>",
        "ICLOUD_USERNAME": "<VALUE>",
        "ICLOUD_APP_PASSWORD": "<YOUR_VALUE>",
        "ICLOUD_MAIL_ADDRESS": "<VALUE>",
        "ICLOUD_DEFAULT_CALENDAR": "<VALUE>",
        "APPLE_WRITE_MODE": "<VALUE>",
        "APPLE_SERVICES": "<VALUE>",
        "DISPLAY_TZ": "<VALUE>",
        "APPLE_UNITS": "<VALUE>",
        "APPLE_STATE_CACHE": "<VALUE>",
        "APPLE_REQUEST_TIMEOUT_MS": "<VALUE>",
        "APPLE_DEBUG_LOG": "<VALUE>",
        "MCP_CONFIRM_MODE": "ask-user",
        "MCP_CONFIRM_ELICITATION": "<VALUE>",
        "MCP_CONFIRM_TTL_SECONDS": "600",
        "MCP_CONFIRM_SECRET": "<YOUR_VALUE>",
        "OFW_PASSWORD": "<VALUE>",
        "OFW_USERNAME": "<VALUE>",
        "OFW_CACHE_DIR": "~/.cache/ofw-mcp",
        "OFW_UPLOAD_DIR": "~/Downloads/ofw-mcp",
        "OFW_WRITE_MODE": "all",
        "OFW_AUTO_REFRESH": "false",
        "OFW_SESSION_FILE": "~/.ofw-mcp/session.json",
        "OFW_CACHE_IDENTITY": "",
        "OFW_ALLOW_MARK_READ": "true",
        "OFW_ATTACHMENTS_DIR": "~/Downloads/ofw-mcp",
        "OFW_CALENDAR_WRITES": "false",
        "OFW_DISABLE_FETCHPROXY": "false",
        "OFW_FETCH_UNREAD_BODIES": "false",
        "OFW_FRESHNESS_TTL_SECONDS": "300"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
APPLE_TEAM_ID No Your Apple Developer Team ID (10 characters). Needed for Apple Music (official API), Apple Maps and WeatherKit.
APPLE_KEY_ID No Key ID of a private key created in Certificates, Identifiers & Profiles → Keys with Media Services (MusicKit), MapKit JS and/or WeatherKit enabled.
APPLE_PRIVATE_KEY secret No Contents of that key's .p8 file (PEM; one-line values with \n escapes and base64 are accepted).
APPLE_PRIVATE_KEY_PATH No Local installs only: a path to the .p8 file instead of APPLE_PRIVATE_KEY.
APPLE_MUSIC_KEY_ID No Optional per-service override of APPLE_KEY_ID for Apple Music (pair with APPLE_MUSIC_PRIVATE_KEY).
APPLE_MUSIC_PRIVATE_KEY secret No Optional per-service override of APPLE_PRIVATE_KEY for Apple Music.
APPLE_MAPS_KEY_ID No Optional per-service override of APPLE_KEY_ID for Apple Maps.
APPLE_MAPS_PRIVATE_KEY secret No Optional per-service override of APPLE_PRIVATE_KEY for Apple Maps.
APPLE_WEATHERKIT_KEY_ID No Optional per-service override of APPLE_KEY_ID for WeatherKit.
APPLE_WEATHERKIT_PRIVATE_KEY secret No Optional per-service override of APPLE_PRIVATE_KEY for WeatherKit.
APPLE_WEATHERKIT_SERVICE_ID No WeatherKit only: the Services ID registered for WeatherKit (e.g. com.example.weather).
APPLE_MUSIC_DEVELOPER_TOKEN secret No Optional: a pre-minted Apple Music developer token (JWT) instead of signing one from the key above.
APPLE_MUSIC_USER_TOKEN secret No Music User Token for your library (official API), from a one-time MusicKit sign-in: `npx apple-icloud-mcp music-auth`. Without the Apple Developer key, ask the owner for a developer token (music-auth --print-developer-token) and run it with APPLE_MUSIC_DEVELOPER_TOKEN set. Lasts ~6 months.
APPLE_MUSIC_WEB_USER_TOKEN secret No Opt-in web-player mode (no developer account needed; unlocks rename/delete/remove/reorder): the media-user-token cookie from a signed-in music.apple.com tab.
APPLE_MUSIC_WEB_DEVELOPER_TOKEN secret No Optional override for the web-player developer token (normally read automatically from music.apple.com).
APPLE_MUSIC_STOREFRONT No Two-letter Apple Music storefront (e.g. us, gb). Default: your account's storefront, else us.
ICLOUD_USERNAME No Your Apple ID email, for iCloud Calendar, Contacts and Mail.
ICLOUD_APP_PASSWORD secret No An app-specific password from appleid.apple.com → Sign-In and Security → App-Specific Passwords (NOT your Apple ID password).
ICLOUD_MAIL_ADDRESS No Your @icloud.com address, only if your Apple ID email is not an iCloud address (needed for Mail).
ICLOUD_DEFAULT_CALENDAR No Calendar new events go to when none is named (default: the first writable event calendar).
APPLE_WRITE_MODE No "none" = read-only tools; "additive" = also create/append, never modify, delete or send; "all" = everything (default). Unrecognized values fail closed to "none".
APPLE_SERVICES No Comma-separated services to enable (music, calendar, contacts, mail, maps, weather, itunes). Default: all.
DISPLAY_TZ No IANA time zone (e.g. America/New_York) for displayed times and for dates you give without an offset. Set this on a hosted server, which runs in UTC.
APPLE_UNITS No "metric" (default) or "imperial" units for weather (Maps distances always show both).
APPLE_STATE_CACHE No Set to false to write nothing under $MCP_DATA_DIR/.apple-icloud-mcp: no web-player token or iCloud discovery cache, and the rejected-password latch and spent confirmation tokens then last only as long as the process.
APPLE_REQUEST_TIMEOUT_MS No Per-request timeout in milliseconds (default 30000).
APPLE_DEBUG_LOG No Set to 1 to log every upstream request line to stderr (credentials redacted).
MCP_CONFIRM_MODE No Controls server-side confirmation behavior for gated writes when the client cannot show a prompt. Values: 'ask-user', 'auto', 'refuse'. Default: ask-user
MCP_CONFIRM_ELICITATION No "off" never shows a confirmation prompt, so every client gets the MCP_CONFIRM_MODE flow. Set it for a client that says it can prompt but never does (the gated call hangs, e.g. opencode 2.0.x). Any other value stays "on" (with a stderr warning).
MCP_CONFIRM_TTL_SECONDS No How long a server-side confirmation token stays valid. Default: 600
MCP_CONFIRM_SECRET secret No Signing key for confirmation tokens; set only if tokens must survive a server restart. Default: random per process
OFW_PASSWORD No Your OurFamilyWizard account password (part of the legacy env-var authentication path).
OFW_USERNAME No Your OurFamilyWizard account email address (part of the legacy env-var authentication path).
OFW_CACHE_DIR No Directory for the SQLite message cache. Default: ~/.cache/ofw-mcp
OFW_UPLOAD_DIR No Directory for files uploaded via ofw_upload_attachment. Default: ~/Downloads/ofw-mcp
OFW_WRITE_MODE No Structural write protection. Valid values: 'none', 'drafts', 'all'. Tools above this level are never registered. Default: all
OFW_AUTO_REFRESH No Set to 'true' to have read tools automatically sync and answer instead of refusing when the cache is not fresh. Default: false
OFW_SESSION_FILE No Path to the session token file. Default: ~/.ofw-mcp/session.json
OFW_CACHE_IDENTITY No Optional label to use a separate cache per account/profile.
OFW_ALLOW_MARK_READ No Set to 'false' to globally disable marking unread messages as read (deployment-wide ceiling). Default: true
OFW_ATTACHMENTS_DIR No Directory where downloaded message attachments are stored. Default: ~/Downloads/ofw-mcp
OFW_CALENDAR_WRITES No Set to 'true' to additionally enable calendar write tools when OFW_WRITE_MODE is 'drafts'. Default: false
OFW_DISABLE_FETCHPROXY No Set to '1' to skip the fetchproxy fallback entirely (turns missing credentials into a hard error). Default: false
OFW_FETCH_UNREAD_BODIES No Set to 'true' to make ofw_sync_messages fetch unread message bodies by default. Default: false
OFW_FRESHNESS_TTL_SECONDS No Cache freshness threshold in seconds for read tools. Unusable values fall back to the default. Default: 300

Similar servers