skylight-mcp
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 …".
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:
GET /auth/session/new— fetch the Rails CSRF token and session cookie.POST /auth/session— log in with email + password (must happen before OAuth authorize).GET /oauth/authorize— send an S256 PKCEcode_challenge(the server requires it) and receive the one-time authorization code via redirect.POST /oauth/token— exchange the code plus the matchingcode_verifierfor a beareraccess_token+refresh_token(currently a 24-hour expiry; the client reads the returnedexpires_inrather than assuming).
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.
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
Module | Tool | R/W | Description |
frames |
| R | List all frames on the account |
frames |
| R | Get details for a specific frame |
frames |
| R | List members associated with a frame |
frames |
| R | List physical devices linked to a frame |
frames |
| R | Get Skylight Plus subscription / entitlement status |
frames |
| R | Get reward-point balances per family member |
frames |
| R | Get household configuration for the frame |
frames |
| R | List the frame's calendar accounts and active calendars |
frames |
| R | Get the frame's calendar-event notification settings |
frames |
| R | Resolve a family-member name to its category id |
frames |
| R | Get one calendar account |
frames |
| R | List nudges (reminders) in a date range |
frames |
| W | Update frame display/sleep settings |
frames |
| W | Rename a frame |
frames |
| W | Update the frame profile (name, birthday) |
frames |
| W | Update household configuration |
frames |
| W | Set the global reminder cadence (interval_weeks) |
frames |
| W | Subscribe the frame to a webcal/ICS calendar URL |
frames |
| W | Set which sub-calendars of a connected account are active |
frames |
| W | Remove a connected source calendar (incl. webcal subscriptions) |
frames |
| W | Set the default source calendar for new events |
frames |
| W | Link an Apple/iCloud calendar using an app-specific password |
frames |
| W | Attribute a source calendar's events to one or more family members |
frames |
| W | Create a source calendar from raw provider attributes (advanced) |
frames |
| W | Invite a user to the frame by email |
frames |
| W | Approve a pending frame user |
frames |
| W | Remove a user from the frame |
frames |
| W | Delete a category / family member (optional |
frames |
| W | Update a family member's profile — birthday, dietary preferences (the name is the category label; set via |
frames |
| W | Update a category — rename/recolor, or convert a label into a family-member profile ( |
frames |
| W | Create a category / family member (optional |
frames |
| R | List the preset avatar library (emoji/icon images) |
frames |
| W | Set a family member's avatar to a custom photo (dry-run unless |
frames |
| W | Set which photo album a device displays (inferred) |
frames |
| W | Rename a Skylight device |
events |
| R | List calendar events within a date range |
events |
| R | Get details for a specific event |
events |
| W | Create a new calendar event (optional |
events |
| W | Update an existing calendar event (optional |
events |
| W | Delete a calendar event |
events |
| R | List event categories for a frame |
events |
| R | List external source calendars linked to a frame |
events |
| R | List recently-invited email addresses |
events |
| W | Update calendar-event notification settings |
lists |
| R | List all shared lists on a frame |
lists |
| R | Get items in a specific shared list |
lists |
| W | Create a new shared list (label + color + kind) |
lists |
| W | Update a list's name, color, or type |
lists |
| W | Delete a shared list |
lists |
| W | Add an item to a shared list |
lists |
| W | Rename a list item, check/uncheck it, or set its section |
lists |
| W | Delete an item from a shared list |
lists |
| W | Bulk-delete specific list items |
lists |
| W | Reorder a list item |
lists |
| W | Remove all items from a list (single bulk delete) |
lists |
| W | Move list items into a named section (or clear it) |
chores |
| R | List chores within a date range |
chores |
| R | Search chores (incl. unscheduled/template chores) |
chores |
| W | Create a new chore (summary + category) |
chores |
| W | Create a recurring chore or routine (RRULE) |
chores |
| W | Mark a chore complete |
chores |
| W | Reopen (un-complete) a chore |
chores |
| W | Update a chore (supports recurrence + |
chores |
| W | Mark a specific recurring-chore occurrence complete |
chores |
| W | Delete a chore (occurrence or whole series via |
chores |
| R | List rewards configured for a frame |
rewards |
| R | Get one reward |
rewards |
| W | Create a reward (name + description + point_value + respawn_on_redemption + category_ids) |
rewards |
| W | Update a reward |
rewards |
| W | Delete a reward |
rewards |
| W | Redeem a reward |
rewards |
| W | Reverse a reward redemption |
rewards |
| W | Grant or deduct reward points to members |
meals |
| R | List planned meals in a date range (date_min + date_max both required) |
meals |
| R | List meal recipes for the frame |
meals |
| R | List meal categories for the frame |
meals |
| R | Get one meal recipe |
meals |
| W | Create a meal recipe (meal_category_id + summary) |
meals |
| W | Update a meal recipe |
meals |
| W | Delete a meal recipe |
meals |
| W | Add a recipe's ingredients to a grocery list |
meals |
| W | Plan a meal on a date (optionally repeating, link a recipe, add to grocery list) |
meals |
| W | Update a planned meal (name, recipe, slot, notes, date, repeat rule) at a chosen recurrence scope |
meals |
| W | Remove a planned meal — one occurrence, this-and-future, or the whole series (confirm-gated) |
messages |
| R | List messages posted to the frame |
messages |
| R | List photo albums on the frame |
messages |
| R | Get one frame message |
messages |
| W | Create a photo album |
messages |
| W | Update a photo album (rename, hide from slideshow) |
messages |
| W | Delete a photo album |
messages |
| W | Add messages/photos to albums |
messages |
| W | Remove messages/photos from albums |
messages |
| W | Copy messages/photos to other frames on the account (inferred) |
messages |
| W | Comment on a frame message/photo |
messages |
| W | Set a message/photo caption |
messages |
| W | Like a frame message/photo |
messages |
| W | Remove a like from a message/photo |
messages |
| W | Delete a frame message/photo |
messages |
| W | Bulk-delete messages/photos from the frame |
tasks |
| R | List task-box items |
tasks |
| W | Create a task-box item |
tasks |
| W | Update a task-box item |
tasks |
| W | Delete a task-box item |
ai |
| W | Generate an AI meal plan for given dates (draft meal sittings — async) |
ai |
| W | Generate AI activity/event ideas for a location + time range (draft events — async) |
ai |
| R | Get an AI auto-creation intent (status + draft results) |
ai |
| R | List the events an AI intent drafted (review before approving) |
ai |
| R | List all AI auto-creation intents on the frame |
ai |
| R | List every draft item an AI intent created (meals, activities, list items) |
ai |
| W | Approve AI-drafted events into real calendar events |
ai |
| W | Undo/discard an AI auto-creation intent and its drafts |
photos |
| W | Upload a photo/video from a local file to the frame (dry-run unless |
photos |
| W | Import calendar events from a photo of a flyer/invite using Skylight's AI (best-effort) |
health |
| R | Report 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-tokenOr the login pair, which mints one for you:
SKYLIGHT_EMAIL=you@example.com
SKYLIGHT_PASSWORD=your-passwordSetting 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.
Optional
Env var | Default | Purpose |
| auto-discovered | Force a specific frame when the account has multiple |
| (none) | Friendly label used in startup logs |
|
| Override the API base URL |
Treat .env like a password file — it is gitignored, do not commit it.
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.
Local dev
npm install
npm run build
npm test
npm run dev # requires .env with credentialsTests: 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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/chrischall/skylight-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server