io.github.chrischall/skylight-mcp

Official registry Productivity

Skylight Calendar for Claude — family events, chores, and rewards.

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

NPM package skylight-mcp
Claude Code
claude mcp add skylight-mcp -e 'SKYLIGHT_REFRESH_TOKEN=<your skylight_refresh_token>' -e 'SKYLIGHT_EMAIL=<SKYLIGHT_EMAIL>' -e 'SKYLIGHT_PASSWORD=<your skylight_password>' -e 'SKYLIGHT_FRAME_ID=<SKYLIGHT_FRAME_ID>' -e 'SKYLIGHT_NAME=<SKYLIGHT_NAME>' -e 'SKYLIGHT_TOKEN_CACHE=<SKYLIGHT_TOKEN_CACHE>' -e 'SKYLIGHT_TOKEN_FILE=<SKYLIGHT_TOKEN_FILE>' -e 'SKYLIGHT_BASE_URL=<SKYLIGHT_BASE_URL>' -e 'SKYLIGHT_APPLE_APP_PASSWORD=<your skylight_apple_app_password>' -e 'SKYLIGHT_APPLE_ID=<SKYLIGHT_APPLE_ID>' -e 'SKYLIGHT_UPLOAD_DIR=<SKYLIGHT_UPLOAD_DIR>' -- npx -y skylight-mcp@1.4.7
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "skylight-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "skylight-mcp@1.4.7"
            ],
            "env": {
                "SKYLIGHT_REFRESH_TOKEN": "<your skylight_refresh_token>",
                "SKYLIGHT_EMAIL": "<SKYLIGHT_EMAIL>",
                "SKYLIGHT_PASSWORD": "<your skylight_password>",
                "SKYLIGHT_FRAME_ID": "<SKYLIGHT_FRAME_ID>",
                "SKYLIGHT_NAME": "<SKYLIGHT_NAME>",
                "SKYLIGHT_TOKEN_CACHE": "<SKYLIGHT_TOKEN_CACHE>",
                "SKYLIGHT_TOKEN_FILE": "<SKYLIGHT_TOKEN_FILE>",
                "SKYLIGHT_BASE_URL": "<SKYLIGHT_BASE_URL>",
                "SKYLIGHT_APPLE_APP_PASSWORD": "<your skylight_apple_app_password>",
                "SKYLIGHT_APPLE_ID": "<SKYLIGHT_APPLE_ID>",
                "SKYLIGHT_UPLOAD_DIR": "<SKYLIGHT_UPLOAD_DIR>"
            }
        }
    }
}

Environment variables

  • SKYLIGHT_REFRESH_TOKEN secret An OAuth refresh token you already hold. Supply this and no password is needed — the login is skipped entirely.
  • SKYLIGHT_EMAIL Skylight account email. Pair with SKYLIGHT_PASSWORD for direct login. Needed only if you are not supplying SKYLIGHT_REFRESH_TOKEN.
  • SKYLIGHT_PASSWORD secret Skylight account password — required iff SKYLIGHT_EMAIL is set. Needed only if you are not supplying SKYLIGHT_REFRESH_TOKEN.
  • SKYLIGHT_FRAME_ID Optional: pick a specific Skylight frame when the account has more than one.
  • SKYLIGHT_NAME Friendly account name used in startup logs.
  • SKYLIGHT_TOKEN_CACHE Set to false to disable the on-disk token cache and re-authenticate on every process start. Defaults to enabled.
  • SKYLIGHT_TOKEN_FILE Absolute path for the token cache file. Defaults to $MCP_DATA_DIR/.skylight-mcp/tokens.json.
  • SKYLIGHT_BASE_URL Override the API base (default https://app.ourskylight.com/api). The auth origin is derived from it, so pointing this elsewhere moves the login flow too — and the new host must be added to the registration’s egress allowlist, or every call is blocked.
  • SKYLIGHT_APPLE_APP_PASSWORD secret Optional: an app-specific password from appleid.apple.com, used only by skylight_link_apple_calendar. Env-only by design — the tool takes no password argument, so the credential never passes through the model or the transcript.
  • SKYLIGHT_APPLE_ID Optional: the Apple ID email skylight_link_apple_calendar links; the tool's email argument overrides it.
  • SKYLIGHT_UPLOAD_DIR Optional: directories that the photo-upload, event-import-from-photo and avatar tools may read files from (several separated by ':', or ';' on Windows; '~' allowed). Any other path is refused. Unset: ~/Pictures and ~/Downloads, or only $MCP_DATA_DIR/uploads in a hosted deployment.

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. skylight-mcp
  2. MCP protocol support
  3. Auth
  4. Frame model
  5. Tools
  6. Configuration
  7. Local dev

skylight-mcp

MCP server for Skylight Calendar — 114 tools across calendar events (read+write), shared lists (read+write), chores and rewards (read+write), task-box items (read+write), meals (read+write), AI auto-creation (meal-plan + activity-idea generators with draft review/approve), messages and albums (read+write), photo/video upload, and frame/device/account settings + calendar + member management (read+write, incl. preset and custom-photo avatars).

Every API request carries the skylight-api-version: 2026-05-01 header (matching the official mobile app); without it some features 422 with "API version does not support …".

MCP protocol support

The server uses the official TypeScript SDK v2 and supports the stateless 2026-07-28 protocol revision over stdio. Clients can discover and call tools without an initialization handshake. Existing clients can still use the 2025-11-25 handshake.

The transport remains stdio. A host can expose it over authenticated HTTP. This package does not open a network listener.

Auth

The server uses a headless email+password OAuth2 authorization-code flow — no SSO, no 2FA, no browser extension required. Configure it with SKYLIGHT_REFRESH_TOKEN if you already hold a token, or SKYLIGHT_EMAIL + SKYLIGHT_PASSWORD to log in for one.

On first tool call, the server performs four steps against https://app.ourskylight.com:

  1. GET /auth/session/new — fetch the Rails CSRF token and session cookie.
  2. POST /auth/session — log in with email + password (must happen before OAuth authorize).
  3. GET /oauth/authorize — send an S256 PKCE code_challenge (the server requires it) and receive the one-time authorization code via redirect.
  4. POST /oauth/token — exchange the code plus the matching code_verifier for a bearer access_token + refresh_token (currently a 24-hour expiry; the client reads the returned expires_in rather than assuming).

OAuth redirects stay on the authentication origin. Relative redirects resolve against the current URL. The configured callback supplies the authorization code without receiving a request or session cookie. Unexpected destinations fail without including the redirect URL in the error.

The client then refreshes the token proactively (~60 s before expiry) and reactively on any 401. No bot wall has been observed — the headless flow works directly from Node.

No env vars → clean start: if credentials are not set, the server still starts without error. Auth is deferred to the first tool call, so MCP hosts can complete install-time tool listing before credentials are configured.

Using the auth helpers from your own code

The package also exports Skylight's session login and refresh, so a separate program can authenticate without copying src/:

import { login, refresh } from 'skylight-mcp/auth';

const tokens = await login({
  authBaseUrl: 'https://app.ourskylight.com',
  email: process.env.SKYLIGHT_EMAIL!,
  password: process.env.SKYLIGHT_PASSWORD!,
});
// Skylight rotates refresh tokens: store the one each call returns.
const next = await refresh({ authBaseUrl: 'https://app.ourskylight.com', refreshToken: tokens.refreshToken });

This is the only library entry point; everything else in the package is the MCP server. It is ESM-only and ships type declarations.

Frame model

All data in Skylight is scoped to a frame (the family hub device). On first use the client auto-discovers the single frame on the account. If the account has more than one frame, set SKYLIGHT_FRAME_ID to the frame ID you want. Every tool that reads frame-scoped data accepts an optional frameId arg to override the default.

Tools

ModuleToolR/WDescription
framesskylight_list_framesRList all frames on the account
framesskylight_get_frameRGet details for a specific frame
framesskylight_list_frame_membersRList members associated with a frame
framesskylight_list_devicesRList physical devices linked to a frame
framesskylight_get_plus_accessRGet Skylight Plus subscription / entitlement status
framesskylight_get_reward_pointsRGet reward-point balances per family member
framesskylight_get_household_configRGet household configuration for the frame
framesskylight_list_calendarsRList the frame's calendar accounts and active calendars
framesskylight_get_event_notification_settingsRGet the frame's calendar-event notification settings
framesskylight_resolve_memberRResolve a family-member name to its category id
framesskylight_get_calendarRGet one calendar account
framesskylight_list_nudgesRList nudges (reminders) in a date range
framesskylight_update_frameWUpdate frame display/sleep settings
framesskylight_rename_frameWRename a frame
framesskylight_update_profileWUpdate the frame profile (name, birthday)
framesskylight_update_household_configWUpdate household configuration
framesskylight_set_reminder_profileWSet the global reminder cadence (interval_weeks)
framesskylight_add_webcalWSubscribe the frame to a webcal/ICS calendar URL
framesskylight_update_calendarWSet which sub-calendars of a connected account are active
framesskylight_delete_source_calendarWRemove a connected source calendar (incl. webcal subscriptions)
framesskylight_set_default_calendarWSet the default source calendar for new events
framesskylight_link_apple_calendarWLink an Apple/iCloud calendar; the app-specific password comes from SKYLIGHT_APPLE_APP_PASSWORD, never a tool argument (confirm-gated)
framesskylight_categorize_source_calendarWAttribute a source calendar's events to one or more family members
framesskylight_create_source_calendarWCreate a source calendar from raw provider attributes (advanced)
framesskylight_invite_userWInvite a user to the frame by email (confirm-gated)
framesskylight_approve_userWApprove a pending frame user (confirm-gated)
framesskylight_remove_userWRemove a user from the frame (confirm-gated; the preview names the member)
framesskylight_delete_categoryWDelete a category / family member (optional reassign_to_category_id, inferred; confirm-gated, the preview names the member)
framesskylight_update_family_memberWUpdate a family member's profile — birthday, dietary preferences (the name is the category label; set via skylight_update_category)
framesskylight_update_categoryWUpdate a category — rename/recolor, or convert a label into a family-member profile (linked_to_profile)
framesskylight_create_categoryWCreate a category / family member (optional linked_to_profile, avatar_id)
framesskylight_list_avatarsRList the preset avatar library (emoji/icon images)
framesskylight_set_member_avatarWSet a family member's avatar to a custom photo (confirm-gated)
framesskylight_set_device_albumWSet which photo album a device displays (inferred)
framesskylight_rename_deviceWRename a Skylight device
eventsskylight_list_eventsRList calendar events within a date range
eventsskylight_get_eventRGet details for a specific event
eventsskylight_create_eventWCreate a new calendar event (optional category_ids assigns members; confirm-gated when invited_emails is set, the preview names every recipient)
eventsskylight_update_eventWUpdate an existing calendar event (optional category_ids assigns members; confirm-gated when invited_emails is set)
eventsskylight_delete_eventWDelete a calendar event
eventsskylight_list_categoriesRList event categories for a frame
eventsskylight_list_source_calendarsRList external source calendars linked to a frame
eventsskylight_list_recent_invited_emailsRList recently-invited email addresses
eventsskylight_update_event_notification_settingsWUpdate calendar-event notification settings
listsskylight_list_listsRList all shared lists on a frame
listsskylight_get_list_itemsRGet items in a specific shared list
listsskylight_create_listWCreate a new shared list (label + color + kind)
listsskylight_update_listWUpdate a list's name, color, or type
listsskylight_delete_listWDelete a shared list and its items (confirm-gated when the list has items; the preview lists them)
listsskylight_add_list_itemWAdd an item to a shared list
listsskylight_update_list_itemWRename a list item, check/uncheck it, or set its section
listsskylight_delete_list_itemWDelete an item from a shared list
listsskylight_delete_list_itemsWBulk-delete specific list items
listsskylight_move_list_itemWReorder a list item
listsskylight_clear_listWRemove all items from a list (single bulk delete; confirm-gated, the preview lists the items)
listsskylight_set_list_item_sectionWMove list items into a named section (or clear it)
choresskylight_list_choresRList chores within a date range
choresskylight_search_choresRSearch chores (incl. unscheduled/template chores)
choresskylight_create_choreWCreate a new chore (summary + category)
choresskylight_create_recurring_choreWCreate a recurring chore or routine (RRULE)
choresskylight_complete_choreWMark a chore complete
choresskylight_uncomplete_choreWReopen (un-complete) a chore
choresskylight_update_choreWUpdate a chore (supports recurrence + apply_to)
choresskylight_complete_chore_instanceWMark a specific recurring-chore occurrence complete
choresskylight_delete_choreWDelete a chore (occurrence or whole series via apply_to)
choresskylight_list_rewardsRList rewards configured for a frame
rewardsskylight_get_rewardRGet one reward
rewardsskylight_create_rewardWCreate a reward (name + description + point_value + respawn_on_redemption + category_ids)
rewardsskylight_update_rewardWUpdate a reward
rewardsskylight_delete_rewardWDelete a reward
rewardsskylight_redeem_rewardWRedeem a reward
rewardsskylight_unredeem_rewardWReverse a reward redemption
rewardsskylight_add_reward_pointsWGrant or deduct reward points to members
mealsskylight_list_mealsRList planned meals in a date range (date_min + date_max both required)
mealsskylight_list_recipesRList meal recipes for the frame
mealsskylight_list_meal_categoriesRList meal categories for the frame
mealsskylight_get_recipeRGet one meal recipe
mealsskylight_create_recipeWCreate a meal recipe (meal_category_id + summary)
mealsskylight_update_recipeWUpdate a meal recipe
mealsskylight_delete_recipeWDelete a meal recipe
mealsskylight_add_recipe_to_grocery_listWAdd a recipe's ingredients to a grocery list
mealsskylight_plan_mealWPlan a meal on a date (optionally repeating, link a recipe, add to grocery list)
mealsskylight_update_mealWUpdate a planned meal (name, recipe, slot, notes, date, repeat rule) at a chosen recurrence scope
mealsskylight_delete_mealWRemove a planned meal — one occurrence, this-and-future, or the whole series (confirm-gated)
messagesskylight_list_messagesRList messages posted to the frame (reads the paged feed, up to 20 pages)
messagesskylight_list_albumsRList photo albums on the frame
messagesskylight_get_messageRGet one frame message
messagesskylight_create_albumWCreate a photo album
messagesskylight_update_albumWUpdate a photo album (rename, hide from slideshow)
messagesskylight_delete_albumWDelete a photo album
messagesskylight_add_to_albumWAdd messages/photos to albums
messagesskylight_remove_from_albumWRemove messages/photos from albums
messagesskylight_copy_messages_to_framesWCopy messages/photos to other frames on the account (inferred)
messagesskylight_add_message_commentWComment on a frame message/photo
messagesskylight_set_message_captionWSet a message/photo caption
messagesskylight_like_messageWLike a frame message/photo
messagesskylight_unlike_messageWRemove a like from a message/photo
messagesskylight_delete_messageWDelete a frame message/photo
messagesskylight_delete_messagesWBulk-delete messages/photos from the frame (confirm-gated, the preview lists each id with its caption)
tasksskylight_list_tasksRList task-box items
tasksskylight_create_taskWCreate a task-box item
tasksskylight_update_taskWUpdate a task-box item
tasksskylight_delete_taskWDelete a task-box item
aiskylight_generate_meal_planWGenerate an AI meal plan for given dates (draft meal sittings — async)
aiskylight_generate_activity_ideasWGenerate AI activity/event ideas for a location + time range (draft events — async)
aiskylight_get_auto_creation_intentRGet an AI auto-creation intent (status + draft results)
aiskylight_list_auto_creation_draftsRList the events an AI intent drafted (review before approving)
aiskylight_list_auto_creation_intentsRList all AI auto-creation intents on the frame
aiskylight_list_auto_creation_itemsRList every draft item an AI intent created (meals, activities, list items)
aiskylight_approve_auto_creationWApprove AI-drafted events into real calendar events
aiskylight_undo_auto_creationWUndo/discard an AI auto-creation intent and its drafts
photosskylight_upload_photoWUpload a photo/video from a local file to the frame (confirm-gated)
photosskylight_import_events_from_photoWImport calendar events from a photo of a flyer/invite using Skylight's AI (best-effort; confirm-gated)
healthskylight_healthcheckRReport whether the connector is working: which credential resolved, whether Skylight accepted it, and what to fix

Configuration

Required — one of these two

A refresh token you already hold (preferred: scoped, revocable, and it never touches the rate-limited login endpoint):

SKYLIGHT_REFRESH_TOKEN=your-refresh-token

Or the login pair, which mints one for you:

SKYLIGHT_EMAIL=you@example.com
SKYLIGHT_PASSWORD=your-password

Setting both is also valid, and is the most robust configuration: the token is used first, and if it has expired the login quietly mints a replacement. With a token alone, an expired token is reported as expired — the server says so plainly rather than claiming it is unconfigured.

A supplied refresh token is single-use. Skylight rotates the refresh token every time it is spent, so the server's first start uses up SKYLIGHT_REFRESH_TOKEN and keeps working on the rotated one — which lives only in the token cache. With a token alone, keep that cache enabled and writable, and never share one token between two hosts: a start that finds the env token already spent cannot recover without the login pair.

Optional
Env varDefaultPurpose
SKYLIGHT_FRAME_IDauto-discoveredForce a specific frame when the account has multiple
SKYLIGHT_NAME(none)Friendly label used in startup logs
SKYLIGHT_BASE_URLhttps://app.ourskylight.com/apiOverride the API base URL
SKYLIGHT_APPLE_APP_PASSWORD(none)App-specific password (from appleid.apple.com) that skylight_link_apple_calendar sends to Skylight. Env-only by design: it is never a tool argument, so it never passes through the model, the transcript or the host's tool-call log
SKYLIGHT_APPLE_ID(none)Apple ID email for skylight_link_apple_calendar; the tool's email argument overrides it
SKYLIGHT_UPLOAD_DIR~/Pictures and ~/Downloads (hosted: only $MCP_DATA_DIR/uploads)Directories that skylight_upload_photo, skylight_import_events_from_photo and skylight_set_member_avatar may upload from (several separated by :, or ; on Windows; ~ allowed). Any other path is refused before the confirmation preview, and the confirmed read re-checks it when the file is opened. Confinement is always on: unset means the default directories, not "anywhere" (the type, hidden-file, symlink, size and content checks always apply too)

Treat .env like a password file — it is gitignored, do not commit it.

Confirmations

Some writes ask you to confirm before anything happens: uploading a local photo or avatar; inviting, approving or removing a user; deleting a family member; linking an Apple calendar; opening the frame to the public; creating or updating an event with invited_emails (Skylight e-mails each address, and the preview names them); the bulk deletes (skylight_delete_messages, skylight_clear_list, and skylight_delete_list of a non-empty list), whose preview lists every item that would go; and meal/chore edits or deletes whose apply_to reaches past the one occurrence named. A client that can show a confirmation prompt (Claude Code) shows one, unless MCP_CONFIRM_ELICITATION=off. Elsewhere the first call makes no change and returns a preview of exactly what would be sent plus a confirmToken; only a repeat call with that token, and the same arguments, performs it — once.

variabledefault
MCP_CONFIRM_MODEask-userWhat a write does on a client that cannot show a confirmation prompt (claude.ai, Claude Desktop). ask-user: two steps — the first call does nothing and returns a preview plus a token, and the model must get your approval in chat before calling again with it. auto: the same two steps, but the model may use the token after reviewing the preview itself. refuse: writes are refused on such clients. A client that can show prompts (Claude Code) always gets the real prompt, unless MCP_CONFIRM_ELICITATION=off. An unrecognised value is treated as refuse.
MCP_CONFIRM_ELICITATIONonoff never shows a confirmation prompt, so every client gets the MCP_CONFIRM_MODE path. Set it for a client that claims to support prompts but never shows one (the write hangs — opencode 2.0.x). Any other value stays on, with a warning on stderr.
MCP_CONFIRM_TTL_SECONDS600How long a token stays valid.
MCP_CONFIRM_SECRETrandom per processSigning key; set it only if tokens must survive a server restart.
Token cache

After the first login the OAuth token pair is cached at $MCP_DATA_DIR/.skylight-mcp/tokens.json (falling back to $HOME), written 0600. A later start reuses it instead of re-running the four-step login — which matters because Skylight's login endpoint rate-limits, and a hosted server that scales to zero cold-starts constantly.

Only the tokens are written; your email and password stay in the environment. A cached token that has expired is refreshed rather than re-logged-in, and a refresh token the server rejects falls back to a fresh login, so a stale file cannot lock you out.

The cache is bound to whichever credential minted it — the password pair, or the supplied SKYLIGHT_REFRESH_TOKEN. Rotate that credential, or point the server at a different account, and the cached token is discarded rather than kept in play. Only a salted digest is stored; no email, password or supplied token reaches the file.

Set SKYLIGHT_TOKEN_CACHE=false to turn it off and log in on every start, or SKYLIGHT_TOKEN_FILE to put the cache somewhere specific.

If a write fails (read-only or full data dir) the server logs to stderr and keeps working on the in-memory token — only the next start pays for it. With the login pair that cost is one login. With only SKYLIGHT_REFRESH_TOKEN it would be a lockout, because Skylight rotates that token on first use and the rotated one would never be saved. So a token-only deployment refuses to spend it: SKYLIGHT_TOKEN_CACHE=false without a login pair is a configuration error, and the server checks the cache is writable before the first refresh, failing the call (token unspent) if it is not. A write that fails after that check is reported loudly on stderr.

Local dev

npm install
npm run build
npm test
npm run dev   # requires .env with credentials

Tests: vitest, 100% line/branch/function/statement coverage enforced. All tests are mocked — no network calls in CI.

Developed and maintained by AI (Claude). Use at your own discretion.

Frequently asked questions

What is io.github.chrischall/skylight-mcp?

Skylight Calendar for Claude — family events, chores, and rewards.

How do I install io.github.chrischall/skylight-mcp?

It runs on your machine. In Claude Code: claude mcp add skylight-mcp -e 'SKYLIGHT_REFRESH_TOKEN=<your skylight_refresh_token>' -e 'SKYLIGHT_EMAIL=<SKYLIGHT_EMAIL>' -e 'SKYLIGHT_PASSWORD=<your skylight_password>' -e 'SKYLIGHT_FRAME_ID=<SKYLIGHT_FRAME_ID>' -e 'SKYLIGHT_NAME=<SKYLIGHT_NAME>' -e 'SKYLIGHT_TOKEN_CACHE=<SKYLIGHT_TOKEN_CACHE>' -e 'SKYLIGHT_TOKEN_FILE=<SKYLIGHT_TOKEN_FILE>' -e 'SKYLIGHT_BASE_URL=<SKYLIGHT_BASE_URL>' -e 'SKYLIGHT_APPLE_APP_PASSWORD=<your skylight_apple_app_password>' -e 'SKYLIGHT_APPLE_ID=<SKYLIGHT_APPLE_ID>' -e 'SKYLIGHT_UPLOAD_DIR=<SKYLIGHT_UPLOAD_DIR>' -- npx -y skylight-mcp@1.4.7. For other clients, paste the JSON configuration from this page into their MCP settings.

Does io.github.chrischall/skylight-mcp need an API key?

Yes. It expects SKYLIGHT_REFRESH_TOKEN, SKYLIGHT_PASSWORD, SKYLIGHT_APPLE_APP_PASSWORD, which you set in its configuration.

Is io.github.chrischall/skylight-mcp open source?

Yes. Its code is on GitHub under the MIT license.

Who maintains io.github.chrischall/skylight-mcp?

It is published by chrischall. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.