keepsake-mcp 1.20.0 → 1.21.0

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/README.md CHANGED
@@ -168,11 +168,11 @@ rather than in the chat, which disappears.
168
168
  ### QuickNotes
169
169
  | Tool | Description |
170
170
  |------|-------------|
171
- | `list_notes` | List notes — filter by pinned/archived, day, company, page (`tag_id`), publication-flow stage (`status`) |
171
+ | `list_notes` | List notes — filter by pinned/archived, day, company, page (`tag_id`), publication-flow stage (`status`), or notes waiting for their publication date (`scheduled`) |
172
172
  | `list_note_statuses` | The stages of the user's publication flow (Idea → In progress → To review → Ready → Published by default — the user can rename, add or remove them) |
173
173
  | `get_note` | Get one note by ID with its tags, contacts, tasks and linked notes |
174
- | `create_note` | Create a note — supports `#tag#` and `[[tag]]` syntax; `archived` creates a permanent Note directly (no Inbox), `status` puts it straight into the publication flow |
175
- | `update_note` | Update note content, links, days, or its publication-flow stage (`status`) |
174
+ | `create_note` | Create a note — supports `#tag#` and `[[tag]]` syntax; `archived` creates a permanent Note directly (no Inbox), `status` puts it straight into the publication flow, `publish_at` schedules its publication on the user's public Page |
175
+ | `update_note` | Update note content, links, days, its publication-flow stage (`status`), or schedule / unschedule its publication (`publish_at`) |
176
176
  | `delete_note` | Soft-delete (or permanent) |
177
177
  | `pin_note` | Pin as a post-it (short reference always at hand) |
178
178
  | `unpin_note` | Unpin a note (it stays where it is) |
package/build/tools.js CHANGED
@@ -561,7 +561,7 @@ export function registerAllTools(server, fetchApi) {
561
561
  // QUICK NOTES
562
562
  // ===========================================================================
563
563
  server.registerTool("list_notes", {
564
- description: "List notes. QuickNotes (inbox, not yet archived) and Notes (archived, permanent). Filter by pinned or archived status, by tag (page) with `tag_id`, by the day(s) a note is linked to (`date`, or `date_from`/`date_to`) — e.g. \"what did I note for tomorrow?\" —, or by publication-flow stage with `status` — e.g. \"which notes are waiting for review?\". Each note carries `dates` (the days it is linked to) and `status` (its stage in the publication flow, or null).",
564
+ description: "List notes. QuickNotes (inbox, not yet archived) and Notes (archived, permanent). Filter by pinned or archived status, by tag (page) with `tag_id`, by the day(s) a note is linked to (`date`, or `date_from`/`date_to`) — e.g. \"what did I note for tomorrow?\" —, by publication-flow stage with `status` — e.g. \"which notes are waiting for review?\" —, or with `scheduled` for notes waiting to be published on a date. Each note carries `dates` (the days it is linked to), `status` (its stage in the publication flow, or null), `published_at` (when it was published on the user's public Page, or null) and `publish_at` (its scheduled publication date, or null).",
565
565
  inputSchema: {
566
566
  status: z
567
567
  .string()
@@ -574,12 +574,13 @@ export function registerAllTools(server, fetchApi) {
574
574
  date_to: z.string().optional().describe("Only notes linked to a day on or before this date (YYYY-MM-DD)"),
575
575
  company_id: z.string().uuid().optional().describe("Only notes linked directly to this company"),
576
576
  tag_id: z.string().uuid().optional().describe("Only notes linked to this tag (page)"),
577
+ scheduled: z.boolean().optional().describe("true = only notes waiting for their scheduled publication date (`publish_at`), sorted by that date, soonest first — e.g. to find the next free day or count how many days are scheduled ahead; false = notes with no scheduled date"),
577
578
  limit: z.number().int().positive().optional().describe("Max results (default 20)"),
578
579
  offset: z.number().int().nonnegative().optional().describe("Pagination offset"),
579
580
  },
580
581
  annotations: { title: "List notes", readOnlyHint: true, openWorldHint: false },
581
- }, async ({ status, pinned, archived, date, date_from, date_to, company_id, tag_id, limit, offset }) => {
582
- return toContent(await fetchApi(`/notes${qs({ status, pinned, archived, date, date_from, date_to, company_id, tag_id, limit, offset })}`));
582
+ }, async ({ status, pinned, archived, date, date_from, date_to, company_id, tag_id, scheduled, limit, offset }) => {
583
+ return toContent(await fetchApi(`/notes${qs({ status, pinned, archived, date, date_from, date_to, company_id, tag_id, scheduled, limit, offset })}`));
583
584
  });
584
585
  server.registerTool("list_note_statuses", {
585
586
  description: "List the stages of the user's publication flow, in order (by default: Idea → In progress → To review → Ready → Published). A note enters this flow when the user may publish it — most notes never do and have no stage. Stages are the user's own: they can rename, recolor, add or remove them, so read this list before setting a stage with update_note or create_note. `category` is fixed: unstarted, started, or published (exactly one stage). Names are in the user's app language.",
@@ -622,13 +623,17 @@ export function registerAllTools(server, fetchApi) {
622
623
  .boolean()
623
624
  .optional()
624
625
  .describe("Create a permanent Note directly instead of an Inbox QuickNote (default: false). Tags, links and @mentions work the same. Implied by status."),
626
+ publish_at: z
627
+ .string()
628
+ .optional()
629
+ .describe("Schedule the note's publication on the user's public Keepsake Page: an ISO 8601 date-time WITH a time zone (e.g. \"2026-11-20T05:00:00Z\"). At that time Keepsake publishes it by itself, exactly like the Publish button: Page, RSS feed, the next email to the Page's subscribers, and the user's social networks if they turned on automatic sharing. A date in the past publishes it right away. Only when the user asks to publish or schedule — publishing is public. Requires a public profile (username) and an active subscription or trial. The note is created as a permanent Note. If scheduling is refused, the note is still created and the response's `publication` says why."),
625
630
  },
626
- annotations: { title: "Create note", destructiveHint: false, idempotentHint: false, openWorldHint: false },
631
+ annotations: { title: "Create note", destructiveHint: false, idempotentHint: false, openWorldHint: true },
627
632
  }, async (params) => {
628
633
  return toContent(await fetchApi("/notes", "POST", params));
629
634
  });
630
635
  server.registerTool("update_note", {
631
- description: "Update an existing QuickNote or Note. `dates` REPLACES the full set of days the note is linked to — the way to move a note to another day (\"not done, push it to tomorrow\"). To add or remove a single day without touching the others, prefer link_note_date / unlink_note_date. `status` moves the note along the publication flow (\"this one is ready\"); setting a stage on an Inbox QuickNote also keeps it as a Note.",
636
+ description: "Update an existing QuickNote or Note. `publish_at` schedules (or unschedules) its publication on the user's public Page. `dates` REPLACES the full set of days the note is linked to — the way to move a note to another day (\"not done, push it to tomorrow\"). To add or remove a single day without touching the others, prefer link_note_date / unlink_note_date. `status` moves the note along the publication flow (\"this one is ready\"); setting a stage on an Inbox QuickNote also keeps it as a Note.",
632
637
  inputSchema: {
633
638
  id: z.string().uuid().describe("Note UUID"),
634
639
  content: z.string().optional().describe("Updated content"),
@@ -653,8 +658,13 @@ export function registerAllTools(server, fetchApi) {
653
658
  .nullable()
654
659
  .optional()
655
660
  .describe("Publication-flow stage: name, key or id from list_note_statuses. null takes the note out of the flow."),
661
+ publish_at: z
662
+ .string()
663
+ .nullable()
664
+ .optional()
665
+ .describe("Schedule the note's publication on the user's public Keepsake Page: an ISO 8601 date-time WITH a time zone (e.g. \"2026-11-20T05:00:00Z\"). At that time Keepsake publishes it by itself, exactly like the Publish button: Page, RSS feed, the next email to the Page's subscribers, and the user's social networks if they turned on automatic sharing. A date in the past publishes it right away. Only when the user asks to publish or schedule — publishing is public. Requires a public profile (username) and an active subscription or trial. Sending a new date reschedules it; null unschedules it (the note stays where it is, unpublished). Editing a scheduled note's content keeps its date. Has no effect on a note that is already published."),
656
666
  },
657
- annotations: { title: "Update note", destructiveHint: false, idempotentHint: true, openWorldHint: false },
667
+ annotations: { title: "Update note", destructiveHint: false, idempotentHint: true, openWorldHint: true },
658
668
  }, async ({ id, ...body }) => {
659
669
  return toContent(await fetchApi(`/notes/${id}`, "PATCH", body));
660
670
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keepsake-mcp",
3
- "version": "1.20.0",
3
+ "version": "1.21.0",
4
4
  "description": "MCP server for Keepsake (keepsake.place), the app where creators and solo entrepreneurs empty their heads — connect your AI to your notes, tasks and contacts",
5
5
  "type": "module",
6
6
  "bin": {