@davidwoods/skylight-mcp 1.8.4 → 1.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +22 -22
- package/README.md +637 -637
- package/THIRD_PARTY_NOTICES.md +38 -38
- package/dist/api/endpoints/meals.d.ts +20 -3
- package/dist/api/endpoints/meals.d.ts.map +1 -1
- package/dist/api/endpoints/meals.js +68 -10
- package/dist/api/endpoints/meals.js.map +1 -1
- package/dist/cli.js +5 -5
- package/dist/config.js +23 -23
- package/dist/tools/calendar.js +56 -56
- package/dist/tools/chores.js +66 -66
- package/dist/tools/family.js +17 -17
- package/dist/tools/lists.js +87 -87
- package/dist/tools/meals.d.ts.map +1 -1
- package/dist/tools/meals.js +135 -110
- package/dist/tools/meals.js.map +1 -1
- package/dist/tools/messages.js +32 -32
- package/dist/tools/misc.js +14 -14
- package/dist/tools/photos.js +6 -6
- package/dist/tools/planning.js +18 -18
- package/dist/tools/rewards.js +70 -70
- package/dist/tools/tasks.js +13 -13
- package/dist/utils/errors.js +16 -16
- package/package.json +78 -78
package/dist/tools/planning.js
CHANGED
|
@@ -59,13 +59,13 @@ function describeSitting(s) {
|
|
|
59
59
|
return summary || (recipe ? `recipe ${recipe}` : "(empty)");
|
|
60
60
|
}
|
|
61
61
|
export function registerPlanningTools(server) {
|
|
62
|
-
server.tool("get_week_overview", `One compact view of the family's week: calendar events, chores and tasks (with status and assignee), planned meals, and list summaries, day by day, plus any scheduling conflicts.
|
|
63
|
-
|
|
64
|
-
Use this first when planning anything (dinners, errands, who drives). It replaces separate calls to get_calendar_events, get_chores, get_meal_sittings and get_lists for the same range.
|
|
65
|
-
|
|
66
|
-
Parameters:
|
|
67
|
-
- date: first day (YYYY-MM-DD, 'today', 'monday'...). Default today.
|
|
68
|
-
- days: how many days (1–31). Default 7. Or give dateEnd instead.
|
|
62
|
+
server.tool("get_week_overview", `One compact view of the family's week: calendar events, chores and tasks (with status and assignee), planned meals, and list summaries, day by day, plus any scheduling conflicts.
|
|
63
|
+
|
|
64
|
+
Use this first when planning anything (dinners, errands, who drives). It replaces separate calls to get_calendar_events, get_chores, get_meal_sittings and get_lists for the same range.
|
|
65
|
+
|
|
66
|
+
Parameters:
|
|
67
|
+
- date: first day (YYYY-MM-DD, 'today', 'monday'...). Default today.
|
|
68
|
+
- days: how many days (1–31). Default 7. Or give dateEnd instead.
|
|
69
69
|
- includeLists: include grocery/to-do list summaries. Default true.`, {
|
|
70
70
|
date: z.string().optional().describe("First day. Default today."),
|
|
71
71
|
dateEnd: z.string().optional().describe("Last day (YYYY-MM-DD). Overrides days."),
|
|
@@ -146,8 +146,8 @@ Parameters:
|
|
|
146
146
|
return text(formatErrorForMcp(error), true);
|
|
147
147
|
}
|
|
148
148
|
});
|
|
149
|
-
server.tool("find_conflicts", `Find calendar events that overlap in time within a date range. All-day events never count as conflicts.
|
|
150
|
-
|
|
149
|
+
server.tool("find_conflicts", `Find calendar events that overlap in time within a date range. All-day events never count as conflicts.
|
|
150
|
+
|
|
151
151
|
Returns each overlapping pair with the overlap window, or "none".`, {
|
|
152
152
|
date: z.string().optional().describe("First day. Default today."),
|
|
153
153
|
dateEnd: z.string().optional().describe("Last day. Default 7 days."),
|
|
@@ -168,8 +168,8 @@ Returns each overlapping pair with the overlap window, or "none".`, {
|
|
|
168
168
|
return text(formatErrorForMcp(error), true);
|
|
169
169
|
}
|
|
170
170
|
});
|
|
171
|
-
server.tool("find_free_slots", `Find free time of at least a given length on each day, between an earliest and latest time, around the calendar's timed events. All-day events are not treated as busy.
|
|
172
|
-
|
|
171
|
+
server.tool("find_free_slots", `Find free time of at least a given length on each day, between an earliest and latest time, around the calendar's timed events. All-day events are not treated as busy.
|
|
172
|
+
|
|
173
173
|
Use for "when could we do X this week?" questions.`, {
|
|
174
174
|
date: z.string().optional().describe("First day. Default today."),
|
|
175
175
|
dateEnd: z.string().optional().describe("Last day. Default 7 days."),
|
|
@@ -204,13 +204,13 @@ Use for "when could we do X this week?" questions.`, {
|
|
|
204
204
|
return text(formatErrorForMcp(error), true);
|
|
205
205
|
}
|
|
206
206
|
});
|
|
207
|
-
server.tool("plan_week_meals", `Schedule several meals in one call - Plus subscription required.
|
|
208
|
-
|
|
209
|
-
Each entry names a date, a meal (category name like "Dinner", default Dinner), and either a free-text summary ("Thai green curry") or a saved recipeId. A slot that already has a meal is skipped and reported, never overwritten. Use dryRun first to see what would change.
|
|
210
|
-
|
|
211
|
-
Parameters:
|
|
212
|
-
- meals: list of { date, meal?, summary?, recipeId? }
|
|
213
|
-
- dryRun: report the plan without writing. Default false.
|
|
207
|
+
server.tool("plan_week_meals", `Schedule several meals in one call - Plus subscription required.
|
|
208
|
+
|
|
209
|
+
Each entry names a date, a meal (category name like "Dinner", default Dinner), and either a free-text summary ("Thai green curry") or a saved recipeId. A slot that already has a meal is skipped and reported, never overwritten. Use dryRun first to see what would change.
|
|
210
|
+
|
|
211
|
+
Parameters:
|
|
212
|
+
- meals: list of { date, meal?, summary?, recipeId? }
|
|
213
|
+
- dryRun: report the plan without writing. Default false.
|
|
214
214
|
- addRecipesToGroceryList: for entries with a recipeId, also push that recipe's ingredients to the grocery list. Default false.`, {
|
|
215
215
|
meals: z
|
|
216
216
|
.array(z.object({
|
package/dist/tools/rewards.js
CHANGED
|
@@ -5,13 +5,13 @@ import { resolveProfile, getCategories } from "../api/endpoints/categories.js";
|
|
|
5
5
|
import { formatErrorForMcp } from "../utils/errors.js";
|
|
6
6
|
export function registerRewardTools(server) {
|
|
7
7
|
// get_rewards tool
|
|
8
|
-
server.tool("get_rewards", `Get available rewards that can be redeemed with reward points.
|
|
9
|
-
|
|
10
|
-
For family gamification - shows rewards that family members can earn.
|
|
11
|
-
|
|
12
|
-
Use this to answer:
|
|
13
|
-
- "What rewards can we redeem?"
|
|
14
|
-
- "What can the kids earn?"
|
|
8
|
+
server.tool("get_rewards", `Get available rewards that can be redeemed with reward points.
|
|
9
|
+
|
|
10
|
+
For family gamification - shows rewards that family members can earn.
|
|
11
|
+
|
|
12
|
+
Use this to answer:
|
|
13
|
+
- "What rewards can we redeem?"
|
|
14
|
+
- "What can the kids earn?"
|
|
15
15
|
- "Show available rewards"`, {
|
|
16
16
|
redeemedSince: z
|
|
17
17
|
.string()
|
|
@@ -66,13 +66,13 @@ Use this to answer:
|
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
68
|
// get_reward_points tool
|
|
69
|
-
server.tool("get_reward_points", `Get reward points balance for family members.
|
|
70
|
-
|
|
71
|
-
Shows how many reward points each family member has earned.
|
|
72
|
-
|
|
73
|
-
Use this to answer:
|
|
74
|
-
- "How many points does [name] have?"
|
|
75
|
-
- "Show reward points balance"
|
|
69
|
+
server.tool("get_reward_points", `Get reward points balance for family members.
|
|
70
|
+
|
|
71
|
+
Shows how many reward points each family member has earned.
|
|
72
|
+
|
|
73
|
+
Use this to answer:
|
|
74
|
+
- "How many points does [name] have?"
|
|
75
|
+
- "Show reward points balance"
|
|
76
76
|
- "Who has the most points?"`, {}, async () => {
|
|
77
77
|
try {
|
|
78
78
|
const points = await getRewardPoints();
|
|
@@ -130,20 +130,20 @@ Use this to answer:
|
|
|
130
130
|
}
|
|
131
131
|
});
|
|
132
132
|
// create_reward tool
|
|
133
|
-
server.tool("create_reward", `Create a new reward that can be redeemed with points (Plus subscription required).
|
|
134
|
-
|
|
135
|
-
Use this when:
|
|
136
|
-
- Adding a new reward: "Create a reward for 30 minutes of screen time"
|
|
137
|
-
- Setting up family incentives: "Add a pizza night reward worth 100 points"
|
|
138
|
-
|
|
139
|
-
Parameters:
|
|
140
|
-
- name (required): Reward name (e.g., "30 min Screen Time")
|
|
141
|
-
- pointValue (required): Points needed to redeem this reward
|
|
142
|
-
- description: Additional details about the reward
|
|
143
|
-
- emojiIcon: Emoji to display with the reward
|
|
144
|
-
- assignee: Family member name to assign this reward to
|
|
145
|
-
- respawnOnRedemption: If true, reward can be redeemed multiple times
|
|
146
|
-
|
|
133
|
+
server.tool("create_reward", `Create a new reward that can be redeemed with points (Plus subscription required).
|
|
134
|
+
|
|
135
|
+
Use this when:
|
|
136
|
+
- Adding a new reward: "Create a reward for 30 minutes of screen time"
|
|
137
|
+
- Setting up family incentives: "Add a pizza night reward worth 100 points"
|
|
138
|
+
|
|
139
|
+
Parameters:
|
|
140
|
+
- name (required): Reward name (e.g., "30 min Screen Time")
|
|
141
|
+
- pointValue (required): Points needed to redeem this reward
|
|
142
|
+
- description: Additional details about the reward
|
|
143
|
+
- emojiIcon: Emoji to display with the reward
|
|
144
|
+
- assignee: Family member name to assign this reward to
|
|
145
|
+
- respawnOnRedemption: If true, reward can be redeemed multiple times
|
|
146
|
+
|
|
147
147
|
Returns: The created reward details.`, {
|
|
148
148
|
name: z.string().describe("Reward name (e.g., '30 min Screen Time')"),
|
|
149
149
|
pointValue: z.number().describe("Points needed to redeem this reward"),
|
|
@@ -181,19 +181,19 @@ Returns: The created reward details.`, {
|
|
|
181
181
|
}
|
|
182
182
|
});
|
|
183
183
|
// update_reward tool
|
|
184
|
-
server.tool("update_reward", `Update an existing reward (Plus subscription required).
|
|
185
|
-
|
|
186
|
-
Use this when:
|
|
187
|
-
- Changing point value: "Make the screen time reward cost 50 points"
|
|
188
|
-
- Updating reward details: "Add a description to the pizza reward"
|
|
189
|
-
|
|
190
|
-
Parameters:
|
|
191
|
-
- rewardId (required): ID of the reward (from get_rewards)
|
|
192
|
-
- name: New reward name
|
|
193
|
-
- pointValue: New point cost
|
|
194
|
-
- description: Updated description
|
|
195
|
-
- emojiIcon: Updated emoji
|
|
196
|
-
|
|
184
|
+
server.tool("update_reward", `Update an existing reward (Plus subscription required).
|
|
185
|
+
|
|
186
|
+
Use this when:
|
|
187
|
+
- Changing point value: "Make the screen time reward cost 50 points"
|
|
188
|
+
- Updating reward details: "Add a description to the pizza reward"
|
|
189
|
+
|
|
190
|
+
Parameters:
|
|
191
|
+
- rewardId (required): ID of the reward (from get_rewards)
|
|
192
|
+
- name: New reward name
|
|
193
|
+
- pointValue: New point cost
|
|
194
|
+
- description: Updated description
|
|
195
|
+
- emojiIcon: Updated emoji
|
|
196
|
+
|
|
197
197
|
Returns: The updated reward details.`, {
|
|
198
198
|
rewardId: z.string().describe("ID of the reward to update"),
|
|
199
199
|
name: z.string().optional().describe("New reward name"),
|
|
@@ -232,16 +232,16 @@ Returns: The updated reward details.`, {
|
|
|
232
232
|
}
|
|
233
233
|
});
|
|
234
234
|
// delete_reward tool
|
|
235
|
-
server.tool("delete_reward", `Delete a reward (Plus subscription required).
|
|
236
|
-
|
|
237
|
-
Use this when:
|
|
238
|
-
- Removing an old reward
|
|
239
|
-
- Cleaning up unused rewards
|
|
240
|
-
|
|
241
|
-
Parameters:
|
|
242
|
-
- rewardId (required): ID of the reward to delete (from get_rewards)
|
|
243
|
-
- confirm: must be true to delete; without it nothing is deleted and a preview is returned.
|
|
244
|
-
|
|
235
|
+
server.tool("delete_reward", `Delete a reward (Plus subscription required).
|
|
236
|
+
|
|
237
|
+
Use this when:
|
|
238
|
+
- Removing an old reward
|
|
239
|
+
- Cleaning up unused rewards
|
|
240
|
+
|
|
241
|
+
Parameters:
|
|
242
|
+
- rewardId (required): ID of the reward to delete (from get_rewards)
|
|
243
|
+
- confirm: must be true to delete; without it nothing is deleted and a preview is returned.
|
|
244
|
+
|
|
245
245
|
Note: This permanently removes the reward.`, {
|
|
246
246
|
rewardId: z.string().describe("ID of the reward to delete"),
|
|
247
247
|
confirm: z.boolean().optional().default(false).describe("Must be true to delete; otherwise only a preview is returned"),
|
|
@@ -270,16 +270,16 @@ Note: This permanently removes the reward.`, {
|
|
|
270
270
|
}
|
|
271
271
|
});
|
|
272
272
|
// redeem_reward tool
|
|
273
|
-
server.tool("redeem_reward", `Redeem a reward using points (Plus subscription required).
|
|
274
|
-
|
|
275
|
-
Use this when:
|
|
276
|
-
- A family member wants to cash in points: "Redeem the screen time reward for Johnny"
|
|
277
|
-
- Claiming an earned reward
|
|
278
|
-
|
|
279
|
-
Parameters:
|
|
280
|
-
- rewardId (required): ID of the reward to redeem (from get_rewards)
|
|
281
|
-
- assignee: Family member redeeming the reward (uses their points)
|
|
282
|
-
|
|
273
|
+
server.tool("redeem_reward", `Redeem a reward using points (Plus subscription required).
|
|
274
|
+
|
|
275
|
+
Use this when:
|
|
276
|
+
- A family member wants to cash in points: "Redeem the screen time reward for Johnny"
|
|
277
|
+
- Claiming an earned reward
|
|
278
|
+
|
|
279
|
+
Parameters:
|
|
280
|
+
- rewardId (required): ID of the reward to redeem (from get_rewards)
|
|
281
|
+
- assignee: Family member redeeming the reward (uses their points)
|
|
282
|
+
|
|
283
283
|
Returns: The redeemed reward details.`, {
|
|
284
284
|
rewardId: z.string().describe("ID of the reward to redeem"),
|
|
285
285
|
assignee: z.string().optional().describe("Family member redeeming the reward"),
|
|
@@ -306,15 +306,15 @@ Returns: The redeemed reward details.`, {
|
|
|
306
306
|
}
|
|
307
307
|
});
|
|
308
308
|
// unredeem_reward tool
|
|
309
|
-
server.tool("unredeem_reward", `Cancel a reward redemption (Plus subscription required).
|
|
310
|
-
|
|
311
|
-
Use this when:
|
|
312
|
-
- A redemption was made by mistake
|
|
313
|
-
- Undoing a reward claim
|
|
314
|
-
|
|
315
|
-
Parameters:
|
|
316
|
-
- rewardId (required): ID of the reward to unredeem
|
|
317
|
-
|
|
309
|
+
server.tool("unredeem_reward", `Cancel a reward redemption (Plus subscription required).
|
|
310
|
+
|
|
311
|
+
Use this when:
|
|
312
|
+
- A redemption was made by mistake
|
|
313
|
+
- Undoing a reward claim
|
|
314
|
+
|
|
315
|
+
Parameters:
|
|
316
|
+
- rewardId (required): ID of the reward to unredeem
|
|
317
|
+
|
|
318
318
|
Returns: The unredeemed reward details.`, {
|
|
319
319
|
rewardId: z.string().describe("ID of the reward to unredeem"),
|
|
320
320
|
}, async ({ rewardId }) => {
|
package/dist/tools/tasks.js
CHANGED
|
@@ -3,10 +3,10 @@ import { createTaskBoxItem, listTaskBoxItems } from "../api/endpoints/taskbox.js
|
|
|
3
3
|
import { formatErrorForMcp } from "../utils/errors.js";
|
|
4
4
|
export function registerTaskTools(server) {
|
|
5
5
|
// get_task_box tool
|
|
6
|
-
server.tool("get_task_box", `List the Skylight task box.
|
|
7
|
-
|
|
8
|
-
The task box is a library of reusable chore and routine templates (for example "Take out trash" or "Brush teeth"), not scheduled work. Items have no assignee and no date; scheduling one creates a chore, which get_chores and get_week_overview show.
|
|
9
|
-
|
|
6
|
+
server.tool("get_task_box", `List the Skylight task box.
|
|
7
|
+
|
|
8
|
+
The task box is a library of reusable chore and routine templates (for example "Take out trash" or "Brush teeth"), not scheduled work. Items have no assignee and no date; scheduling one creates a chore, which get_chores and get_week_overview show.
|
|
9
|
+
|
|
10
10
|
Use this when the user asks what is in the task box, or before adding a task to avoid a duplicate.`, {}, async () => {
|
|
11
11
|
try {
|
|
12
12
|
const items = await listTaskBoxItems();
|
|
@@ -38,15 +38,15 @@ Use this when the user asks what is in the task box, or before adding a task to
|
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
40
|
// create_task tool
|
|
41
|
-
server.tool("create_task", `Add a task to the Skylight task box.
|
|
42
|
-
|
|
43
|
-
The task box holds unscheduled tasks that can later be assigned to specific dates.
|
|
44
|
-
|
|
45
|
-
Use this when the user says:
|
|
46
|
-
- "Add XYZ to my task list"
|
|
47
|
-
- "Remind me to do ABC" (without a specific date)
|
|
48
|
-
- "Put 'clean garage' on the task box"
|
|
49
|
-
|
|
41
|
+
server.tool("create_task", `Add a task to the Skylight task box.
|
|
42
|
+
|
|
43
|
+
The task box holds unscheduled tasks that can later be assigned to specific dates.
|
|
44
|
+
|
|
45
|
+
Use this when the user says:
|
|
46
|
+
- "Add XYZ to my task list"
|
|
47
|
+
- "Remind me to do ABC" (without a specific date)
|
|
48
|
+
- "Put 'clean garage' on the task box"
|
|
49
|
+
|
|
50
50
|
The task will appear on the Skylight display in the task box.`, {
|
|
51
51
|
summary: z.string().describe("Task description"),
|
|
52
52
|
emoji: z
|
package/dist/utils/errors.js
CHANGED
|
@@ -64,31 +64,31 @@ export class ParseError extends SkylightError {
|
|
|
64
64
|
*/
|
|
65
65
|
export function formatErrorForMcp(error) {
|
|
66
66
|
if (error instanceof AuthenticationError) {
|
|
67
|
-
return `Authentication Error: ${error.message}
|
|
68
|
-
|
|
69
|
-
Your Skylight token may have expired. To fix this:
|
|
70
|
-
1. If using email/password auth, retry with valid SKYLIGHT_EMAIL and SKYLIGHT_PASSWORD
|
|
71
|
-
2. If using a manual token, capture fresh API traffic using a proxy tool
|
|
72
|
-
3. Update your SKYLIGHT_TOKEN environment variable if you are using manual token auth
|
|
73
|
-
|
|
67
|
+
return `Authentication Error: ${error.message}
|
|
68
|
+
|
|
69
|
+
Your Skylight token may have expired. To fix this:
|
|
70
|
+
1. If using email/password auth, retry with valid SKYLIGHT_EMAIL and SKYLIGHT_PASSWORD
|
|
71
|
+
2. If using a manual token, capture fresh API traffic using a proxy tool
|
|
72
|
+
3. Update your SKYLIGHT_TOKEN environment variable if you are using manual token auth
|
|
73
|
+
|
|
74
74
|
See the auth documentation for detailed steps.`;
|
|
75
75
|
}
|
|
76
76
|
if (error instanceof NotFoundError) {
|
|
77
|
-
return `Not Found: ${error.message}
|
|
78
|
-
|
|
79
|
-
This could mean:
|
|
80
|
-
- The requested item doesn't exist
|
|
81
|
-
- Your frame ID is incorrect
|
|
77
|
+
return `Not Found: ${error.message}
|
|
78
|
+
|
|
79
|
+
This could mean:
|
|
80
|
+
- The requested item doesn't exist
|
|
81
|
+
- Your frame ID is incorrect
|
|
82
82
|
- The item was deleted from Skylight`;
|
|
83
83
|
}
|
|
84
84
|
if (error instanceof RateLimitError) {
|
|
85
|
-
return `Rate Limited: ${error.message}
|
|
86
|
-
|
|
85
|
+
return `Rate Limited: ${error.message}
|
|
86
|
+
|
|
87
87
|
The Skylight API is temporarily limiting requests. Please wait a moment and try again.`;
|
|
88
88
|
}
|
|
89
89
|
if (error instanceof ConfigurationError) {
|
|
90
|
-
return `Configuration Error: ${error.message}
|
|
91
|
-
|
|
90
|
+
return `Configuration Error: ${error.message}
|
|
91
|
+
|
|
92
92
|
Please check your environment variables are set correctly.`;
|
|
93
93
|
}
|
|
94
94
|
if (error instanceof SkylightError) {
|
package/package.json
CHANGED
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@davidwoods/skylight-mcp",
|
|
3
|
-
"version": "1.8.
|
|
4
|
-
"description": "Unofficial MCP server for Skylight Calendar: local (stdio) and hosted (Cloudflare Workers), with browser-paste OAuth sign-in and an encrypted credential store",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "dist/index.js",
|
|
7
|
-
"bin": {
|
|
8
|
-
"skylight-mcp": "dist/index.js"
|
|
9
|
-
},
|
|
10
|
-
"files": [
|
|
11
|
-
"dist",
|
|
12
|
-
"README.md",
|
|
13
|
-
"LICENSE",
|
|
14
|
-
"THIRD_PARTY_NOTICES.md"
|
|
15
|
-
],
|
|
16
|
-
"scripts": {
|
|
17
|
-
"build": "tsc",
|
|
18
|
-
"start": "node dist/index.js",
|
|
19
|
-
"dev": "tsx watch src/index.ts",
|
|
20
|
-
"test": "vitest",
|
|
21
|
-
"test:coverage": "vitest --coverage",
|
|
22
|
-
"lint": "eslint src/",
|
|
23
|
-
"typecheck": "tsc --noEmit",
|
|
24
|
-
"prepare": "npm run build",
|
|
25
|
-
"generate:types": "openapi-typescript ../skylight-api/docs/openapi/openapi.yaml -o src/api/generated-types.ts",
|
|
26
|
-
"typecheck:worker": "tsc -p tsconfig.worker.json",
|
|
27
|
-
"worker:dev": "wrangler dev",
|
|
28
|
-
"worker:deploy": "wrangler deploy",
|
|
29
|
-
"worker:deploy:local": "wrangler deploy -c wrangler.local.jsonc",
|
|
30
|
-
"worker:setup": "node scripts/setup-worker.mjs",
|
|
31
|
-
"prepublishOnly": "npm run typecheck && npm run lint && vitest run && npm run build",
|
|
32
|
-
"test:live": "vitest run --config vitest.live.config.ts"
|
|
33
|
-
},
|
|
34
|
-
"keywords": [
|
|
35
|
-
"mcp",
|
|
36
|
-
"skylight",
|
|
37
|
-
"calendar",
|
|
38
|
-
"model-context-protocol",
|
|
39
|
-
"claude",
|
|
40
|
-
"ai",
|
|
41
|
-
"family",
|
|
42
|
-
"chores"
|
|
43
|
-
],
|
|
44
|
-
"author": "David Woods",
|
|
45
|
-
"license": "MIT",
|
|
46
|
-
"repository": {
|
|
47
|
-
"type": "git",
|
|
48
|
-
"url": "git+https://github.com/dwooods/skylight-mcp.git"
|
|
49
|
-
},
|
|
50
|
-
"dependencies": {
|
|
51
|
-
"@cloudflare/workers-oauth-provider": "^1.2.4",
|
|
52
|
-
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
53
|
-
"zod": "^4.6.7"
|
|
54
|
-
},
|
|
55
|
-
"devDependencies": {
|
|
56
|
-
"@cloudflare/workers-types": "^5.20261029.1",
|
|
57
|
-
"@types/node": "^22.20.5",
|
|
58
|
-
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
|
59
|
-
"@typescript-eslint/parser": "^7.0.0",
|
|
60
|
-
"eslint": "^8.57.0",
|
|
61
|
-
"openapi-typescript": "^7.0.0",
|
|
62
|
-
"tsx": "^4.7.0",
|
|
63
|
-
"typescript": "^5.4.5",
|
|
64
|
-
"vite": "^8.3.5",
|
|
65
|
-
"vitest": "^5.0.5",
|
|
66
|
-
"wrangler": "^4.156.0"
|
|
67
|
-
},
|
|
68
|
-
"publishConfig": {
|
|
69
|
-
"access": "public"
|
|
70
|
-
},
|
|
71
|
-
"engines": {
|
|
72
|
-
"node": ">=20.0.0"
|
|
73
|
-
},
|
|
74
|
-
"homepage": "https://github.com/dwooods/skylight-mcp#readme",
|
|
75
|
-
"bugs": {
|
|
76
|
-
"url": "https://github.com/dwooods/skylight-mcp/issues"
|
|
77
|
-
}
|
|
78
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@davidwoods/skylight-mcp",
|
|
3
|
+
"version": "1.8.5",
|
|
4
|
+
"description": "Unofficial MCP server for Skylight Calendar: local (stdio) and hosted (Cloudflare Workers), with browser-paste OAuth sign-in and an encrypted credential store",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"bin": {
|
|
8
|
+
"skylight-mcp": "dist/index.js"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist",
|
|
12
|
+
"README.md",
|
|
13
|
+
"LICENSE",
|
|
14
|
+
"THIRD_PARTY_NOTICES.md"
|
|
15
|
+
],
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": "tsc",
|
|
18
|
+
"start": "node dist/index.js",
|
|
19
|
+
"dev": "tsx watch src/index.ts",
|
|
20
|
+
"test": "vitest",
|
|
21
|
+
"test:coverage": "vitest --coverage",
|
|
22
|
+
"lint": "eslint src/",
|
|
23
|
+
"typecheck": "tsc --noEmit",
|
|
24
|
+
"prepare": "npm run build",
|
|
25
|
+
"generate:types": "openapi-typescript ../skylight-api/docs/openapi/openapi.yaml -o src/api/generated-types.ts",
|
|
26
|
+
"typecheck:worker": "tsc -p tsconfig.worker.json",
|
|
27
|
+
"worker:dev": "wrangler dev",
|
|
28
|
+
"worker:deploy": "wrangler deploy",
|
|
29
|
+
"worker:deploy:local": "wrangler deploy -c wrangler.local.jsonc",
|
|
30
|
+
"worker:setup": "node scripts/setup-worker.mjs",
|
|
31
|
+
"prepublishOnly": "npm run typecheck && npm run lint && vitest run && npm run build",
|
|
32
|
+
"test:live": "vitest run --config vitest.live.config.ts"
|
|
33
|
+
},
|
|
34
|
+
"keywords": [
|
|
35
|
+
"mcp",
|
|
36
|
+
"skylight",
|
|
37
|
+
"calendar",
|
|
38
|
+
"model-context-protocol",
|
|
39
|
+
"claude",
|
|
40
|
+
"ai",
|
|
41
|
+
"family",
|
|
42
|
+
"chores"
|
|
43
|
+
],
|
|
44
|
+
"author": "David Woods",
|
|
45
|
+
"license": "MIT",
|
|
46
|
+
"repository": {
|
|
47
|
+
"type": "git",
|
|
48
|
+
"url": "git+https://github.com/dwooods/skylight-mcp.git"
|
|
49
|
+
},
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"@cloudflare/workers-oauth-provider": "^1.2.4",
|
|
52
|
+
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
53
|
+
"zod": "^4.6.7"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@cloudflare/workers-types": "^5.20261029.1",
|
|
57
|
+
"@types/node": "^22.20.5",
|
|
58
|
+
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
|
59
|
+
"@typescript-eslint/parser": "^7.0.0",
|
|
60
|
+
"eslint": "^8.57.0",
|
|
61
|
+
"openapi-typescript": "^7.0.0",
|
|
62
|
+
"tsx": "^4.7.0",
|
|
63
|
+
"typescript": "^5.4.5",
|
|
64
|
+
"vite": "^8.3.5",
|
|
65
|
+
"vitest": "^5.0.5",
|
|
66
|
+
"wrangler": "^4.156.0"
|
|
67
|
+
},
|
|
68
|
+
"publishConfig": {
|
|
69
|
+
"access": "public"
|
|
70
|
+
},
|
|
71
|
+
"engines": {
|
|
72
|
+
"node": ">=20.0.0"
|
|
73
|
+
},
|
|
74
|
+
"homepage": "https://github.com/dwooods/skylight-mcp#readme",
|
|
75
|
+
"bugs": {
|
|
76
|
+
"url": "https://github.com/dwooods/skylight-mcp/issues"
|
|
77
|
+
}
|
|
78
|
+
}
|