keepsake-mcp 1.16.0 → 1.18.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.
Files changed (3) hide show
  1. package/README.md +14 -4
  2. package/build/tools.js +117 -10
  3. package/package.json +5 -1
package/README.md CHANGED
@@ -29,6 +29,8 @@ No installation required. Works with Claude iOS, Claude web, Claude Desktop Conn
29
29
 
30
30
  **Endpoint:** `https://app.keepsake.place/api/mcp`
31
31
 
32
+ The official MCP registry entry (`server.json`) publishes this URL as a `streamable-http` remote, plus the project title and website. The npm package version stays on the release that was published; the registry entry version is the `version` field of `server.json`.
33
+
32
34
  **Authentication:** Pass your API key as a Bearer token in the `Authorization` header.
33
35
 
34
36
  **Claude Desktop (Connectors):**
@@ -115,7 +117,7 @@ rather than in the chat, which disappears.
115
117
  |--------|-----------|-------------|
116
118
  | `review_note` | `note_id` | Act as the editor of a note: read it, judge form and substance, leave anchored remarks in the margin, never rewrite the text |
117
119
 
118
- ## Available tools (88)
120
+ ## Available tools (96)
119
121
 
120
122
  ### Contacts
121
123
  | Tool | Description |
@@ -169,10 +171,11 @@ rather than in the chat, which disappears.
169
171
  | `list_notes` | List notes — filter by pinned/archived, day, company, page (`tag_id`), publication-flow stage (`status`) |
170
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) |
171
173
  | `get_note` | Get one note by ID with its tags, contacts, tasks and linked notes |
172
- | `create_note` | Create a note — supports `#tag#` and `[[tag]]` syntax; `status` puts it straight into the publication flow |
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 |
173
175
  | `update_note` | Update note content, links, days, or its publication-flow stage (`status`) |
174
176
  | `delete_note` | Soft-delete (or permanent) |
175
177
  | `pin_note` | Pin as a post-it (short reference always at hand) |
178
+ | `unpin_note` | Unpin a note (it stays where it is) |
176
179
  | `archive_note` | Archive a note |
177
180
  | `restore_note` | Restore a deleted/archived note |
178
181
 
@@ -209,15 +212,18 @@ Material kept *alongside* a note without entering its text — an idea, a refere
209
212
  | `create_recurring_block` | Make a block recurring — from an existing block, or from scratch |
210
213
  | `update_recurring_block` | Change a recurring block from a date onward (title, duration, fixed time, weekdays) — the past is never rewritten |
211
214
  | `stop_recurring_block` | Stop a repetition from a date onward; past days keep their blocks |
215
+ | `keep_recurring_block_note` | Keep a note in a recurring block: every occurrence shows it from a date onward (a running log, a routine checklist) |
216
+ | `stop_keeping_recurring_block_note` | Stop keeping a note in a recurring block from a date onward; earlier days keep it |
212
217
 
213
218
  ### Tags
214
219
  | Tool | Description |
215
220
  |------|-------------|
216
- | `list_tags` | List tags (lightweight — ordering arrays omitted), with optional name search (`q`) |
221
+ | `list_tags` | List tags (lightweight — ordering arrays omitted), with optional name search (`q`) and `archived` / `favorite` filters |
217
222
  | `get_tag` | Get a tag by ID with all properties, including `tasks_order` (section markers `h:<header_id>`) |
218
223
  | `create_tag` | Create a new tag |
219
- | `update_tag` | Update a tag (name, description, color, icon, favorite, order of tasks and sections via `tasks_order`) |
224
+ | `update_tag` | Update a tag (name, description, color, icon, favorite, `archived` to close a project without deleting anything, order of tasks and sections via `tasks_order`) |
220
225
  | `delete_tag` | Permanently delete a tag and all its links |
226
+ | `merge_tag` | Merge a duplicate tag into another: links moved, `#source#` rewritten as the target's name, source deleted |
221
227
  | `get_tag_items` | Get items linked to a tag — filter by `types`/`status`, `summary` mode, task `sections` included |
222
228
  | `link_tag` | Link any entity to a tag |
223
229
  | `unlink_tag` | Remove a tag link |
@@ -245,6 +251,10 @@ Material kept *alongside* a note without entering its text — an idea, a refere
245
251
  | `unlink_task_contact` | Remove a contact link from a task |
246
252
  | `link_task_note` | Link a note to a task (non-destructive, the note survives) |
247
253
  | `unlink_task_note` | Remove a note link from a task |
254
+ | `link_day_block_note` | Link a note to a time block (prepare before, write what happened after) |
255
+ | `unlink_day_block_note` | Remove a note link from a time block |
256
+ | `link_entry_note` | Link a note to an entry (its write-up) |
257
+ | `unlink_entry_note` | Remove a note link from an entry |
248
258
  | `link_notes` | Link two notes together (symmetric, non-destructive) |
249
259
  | `unlink_notes` | Remove the manual link between two notes |
250
260
  | `link_note_date` | Attach a note to a calendar day (it surfaces in that day's view) |
package/build/tools.js CHANGED
@@ -338,6 +338,15 @@ export function registerAllTools(server, fetchApi) {
338
338
  .array(z.string().uuid())
339
339
  .optional()
340
340
  .describe("Array of tag UUIDs to link"),
341
+ note_ids: z
342
+ .array(z.string().uuid())
343
+ .optional()
344
+ .describe("Notes to link to the entry (its write-up). See link_entry_note."),
345
+ day_block_id: z
346
+ .string()
347
+ .uuid()
348
+ .optional()
349
+ .describe("Timeline block this entry tells (from list_day_blocks). One entry per block at most: a block that already has one returns 409 with its entry_id. In the app, the entry then replaces the checked block in the day's Journal."),
341
350
  },
342
351
  annotations: { title: "Create entry", destructiveHint: false, idempotentHint: false, openWorldHint: false },
343
352
  }, async (params) => {
@@ -584,7 +593,7 @@ export function registerAllTools(server, fetchApi) {
584
593
  return toContent(withNoteHint(await fetchApi(`/notes/${id}`)));
585
594
  });
586
595
  server.registerTool("create_note", {
587
- description: "Create a new QuickNote in the Inbox. QuickNotes are temporary captures — use archive_note to transform one into a permanent Note.\n\nContent supports #tag# and [[tag]] for automatic tag linking.\n\nPass `dates` to attach the note to one or more days (\"note for tomorrow\", meeting prep for Thursday): it then surfaces in that day's view while staying in the notes list. A dated note is NOT a task (no action to complete) and NOT the day's intention (see update_day).",
596
+ description: "Create a new QuickNote in the Inbox. QuickNotes are temporary captures — use archive_note to transform one into a permanent Note, or pass archived=true to create the permanent Note directly (reference material the user asked you to keep — a project's status note, meeting minutes filed on a page — rather than a capture for them to sort).\n\nContent supports #tag# and [[tag]] for automatic tag linking.\n\nPass `dates` to attach the note to one or more days (\"note for tomorrow\", meeting prep for Thursday): it then surfaces in that day's view while staying in the notes list. A dated note is NOT a task (no action to complete) and NOT the day's intention (see update_day).",
588
597
  inputSchema: {
589
598
  content: z.string().describe("Note content (supports #tag# and [[tag]])"),
590
599
  is_pinned: z.boolean().optional().describe("Pin the note (default: false)"),
@@ -604,6 +613,10 @@ export function registerAllTools(server, fetchApi) {
604
613
  .string()
605
614
  .optional()
606
615
  .describe("Put the note straight into the publication flow at this stage (name, key or id from list_note_statuses). The note is then created as a permanent Note, not an Inbox QuickNote — like \"Keep to publish\" in the app. Only when the user says they may publish it."),
616
+ archived: z
617
+ .boolean()
618
+ .optional()
619
+ .describe("Create a permanent Note directly instead of an Inbox QuickNote (default: false). Tags, links and @mentions work the same. Implied by status."),
607
620
  },
608
621
  annotations: { title: "Create note", destructiveHint: false, idempotentHint: false, openWorldHint: false },
609
622
  }, async (params) => {
@@ -660,6 +673,15 @@ export function registerAllTools(server, fetchApi) {
660
673
  }, async ({ id }) => {
661
674
  return toContent(await fetchApi(`/notes/${id}/pin`, "POST"));
662
675
  });
676
+ server.registerTool("unpin_note", {
677
+ description: "Unpin a note: it leaves the pinned post-its and stays where it is (Inbox or Notes), nothing else changes. Use when a pinned reference is no longer needed at hand — e.g. a project status note replaced by a newer one, or a project being closed.",
678
+ inputSchema: {
679
+ id: z.string().uuid().describe("Note UUID"),
680
+ },
681
+ annotations: { title: "Unpin note", destructiveHint: false, idempotentHint: true, openWorldHint: false },
682
+ }, async ({ id }) => {
683
+ return toContent(await fetchApi(`/notes/${id}/unpin`, "POST"));
684
+ });
663
685
  server.registerTool("archive_note", {
664
686
  description: "Transform a QuickNote into a permanent Note (archive it). Notes appear on contact pages, tag pages, and the Notes section.",
665
687
  inputSchema: {
@@ -716,7 +738,7 @@ export function registerAllTools(server, fetchApi) {
716
738
  // DAY BLOCKS (Day-view timeline)
717
739
  // ===========================================================================
718
740
  server.registerTool("list_day_blocks", {
719
- description: "List the time blocks of a day's timeline (Day view), in timeline order. A block is either an activity (type 'block') or a task bucket (type 'tasks' — groups the day's untimed tasks). The meta carries the day's raw timeline_order: \"b:<uuid>\" refs are blocks, bare uuids are tasks inside a bucket's run.\n\nRecurring blocks: listing today or a future day first creates that day's recurring blocks if they do not exist yet (same as opening the day in the app), so every block returned has a real id you can update or mark done. A block that repeats carries `repeats: { recurring_block_id, weekdays }` (ISO weekdays, 1 = Monday … 7 = Sunday); otherwise `repeats` is null. Past days are never filled in afterwards.",
741
+ description: "List the time blocks of a day's timeline (Day view), in timeline order. A block is either an activity (type 'block') or a task bucket (type 'tasks' — groups the day's untimed tasks). The meta carries the day's raw timeline_order: \"b:<uuid>\" refs are blocks, bare uuids are tasks inside a bucket's run.\n\nRecurring blocks: listing today or a future day first creates that day's recurring blocks if they do not exist yet (same as opening the day in the app), so every block returned has a real id you can update or mark done. A block that repeats carries `repeats: { recurring_block_id, weekdays }` (ISO weekdays, 1 = Monday … 7 = Sunday); otherwise `repeats` is null. Past days are never filled in afterwards.\n\nNotes: each block carries `notes` ([{ id, title, content }], real Keepsake notes linked to the block — prepared before, completed after), `note` (the first note's text) and `entry_id` (the short entry that tells the block, created by the app's \"Add details\" or by create_entry with day_block_id; null if none). A recurring block also carries `kept_notes` (same shape): notes kept by its repetition, shown on every occurrence from the day they were kept (see keep_recurring_block_note) — `notes` and `note` are that day's own notes only.",
720
742
  inputSchema: {
721
743
  date: z.string().describe("Date (YYYY-MM-DD)"),
722
744
  },
@@ -745,7 +767,7 @@ export function registerAllTools(server, fetchApi) {
745
767
  .regex(/^([01]\d|2[0-3]):[0-5]\d$/)
746
768
  .optional()
747
769
  .describe("Pin the block at a fixed wall-clock hour HH:MM (it becomes a wall other blocks flow around). Omit for automatic first-fit placement."),
748
- note: z.string().optional().describe("Free note attached to the block"),
770
+ note: z.string().optional().describe("Text of the block's note: a real note is created (kept out of the Inbox) and linked to the block. Supports #tag#, [[tag]] and @Name@. To attach an existing note, use link_day_block_note."),
749
771
  },
750
772
  annotations: { title: "Create day block", destructiveHint: false, idempotentHint: false, openWorldHint: false },
751
773
  }, async (params) => {
@@ -769,7 +791,7 @@ export function registerAllTools(server, fetchApi) {
769
791
  .nullable()
770
792
  .optional()
771
793
  .describe("Fixed wall-clock hour HH:MM. Pass null to unpin (the block flows with the rest again)."),
772
- note: z.string().nullable().optional().describe("Free note. Pass null to clear."),
794
+ note: z.string().nullable().optional().describe("Text of the block's first linked note (created and linked if the block has none). An empty value or null changes nothing: to detach a note, use unlink_day_block_note."),
773
795
  done: z.boolean().optional().describe("Mark the block done (true) or not done (false)"),
774
796
  },
775
797
  annotations: { title: "Update day block", destructiveHint: false, idempotentHint: true, openWorldHint: false },
@@ -792,7 +814,7 @@ export function registerAllTools(server, fetchApi) {
792
814
  .array(z.number().int().min(1).max(7))
793
815
  .describe("ISO weekdays the block comes back on: 1 = Monday … 7 = Sunday. Every day = [1,2,3,4,5,6,7]; working week = [1,2,3,4,5].");
794
816
  server.registerTool("list_recurring_blocks", {
795
- description: "List the user's recurring time blocks: their ideal day / ideal week (\"Meditation\" every day at 08:00, \"Writing\" on weekday mornings). A recurring block is also a habit: each day it appears on the timeline as a regular block the user checks off (see list_day_blocks), and consecutive checked days form a streak. `weekdays` is the rule in force on the given date; `next_change` announces a rule already recorded for later (a repetition that starts or stops on a future date).",
817
+ description: "List the user's recurring time blocks: their ideal day / ideal week (\"Meditation\" every day at 08:00, \"Writing\" on weekday mornings). A recurring block is also a habit: each day it appears on the timeline as a regular block the user checks off (see list_day_blocks), and consecutive checked days form a streak. `weekdays` is the rule in force on the given date; `next_change` announces a rule already recorded for later (a repetition that starts or stops on a future date). `notes` lists the notes the repetition keeps ([{ note_id, title, from_date, until_date }], until_date excluded, null = no end; see keep_recurring_block_note).",
796
818
  inputSchema: {
797
819
  date: z.string().optional().describe("Date the rule is read at (YYYY-MM-DD). Default: today (UTC)."),
798
820
  include_stopped: z.boolean().optional().describe("Also return repetitions that no longer plan anything (default false)"),
@@ -853,15 +875,23 @@ export function registerAllTools(server, fetchApi) {
853
875
  // TAGS
854
876
  // ===========================================================================
855
877
  server.registerTool("list_tags", {
856
- description: "List tags (lightweight: the manual tasks_order arrays are omitted — use get_tag for a tag's full ordering). Tags organize contacts, entries, tasks, notes, and companies. Use q to find a tag by name.",
878
+ description: "List tags (lightweight: the manual tasks_order arrays are omitted — use get_tag for a tag's full ordering). Tags organize contacts, entries, tasks, notes, and companies. Use q to find a tag by name. Archived tags (closed projects) are included unless you pass archived=false; each tag's archived_at tells which.",
857
879
  inputSchema: {
858
880
  q: z.string().optional().describe("Filter by name (case-insensitive substring match)"),
881
+ archived: z
882
+ .boolean()
883
+ .optional()
884
+ .describe("true: only archived tags; false: only active tags (default: both)"),
885
+ favorite: z
886
+ .boolean()
887
+ .optional()
888
+ .describe("true: only the user's favorite tags (sidebar); false: only non-favorites (default: both)"),
859
889
  limit: z.number().int().positive().optional().describe("Max results (default 50)"),
860
890
  offset: z.number().int().nonnegative().optional().describe("Pagination offset"),
861
891
  },
862
892
  annotations: { title: "List tags", readOnlyHint: true, openWorldHint: false },
863
- }, async ({ q, limit, offset }) => {
864
- return toContent(await fetchApi(`/tags${qs({ q, limit, offset })}`));
893
+ }, async ({ q, archived, favorite, limit, offset }) => {
894
+ return toContent(await fetchApi(`/tags${qs({ q, archived, favorite, limit, offset })}`));
865
895
  });
866
896
  server.registerTool("get_tag", {
867
897
  description: "Get a single tag by ID with all its properties (name, description, color, icon, view mode, favorite status). Includes tasks_order, the manual ordering of the tag page's task list, where entries of the form \"h:<header_id>\" are section separators (see list_task_headers).",
@@ -901,7 +931,7 @@ export function registerAllTools(server, fetchApi) {
901
931
  return toContent(await fetchApi("/tags", "POST", body));
902
932
  });
903
933
  server.registerTool("update_tag", {
904
- description: "Update an existing tag. Only send the fields you want to change. Supports name, description, color, icon, favorite status, and the order of the page's tasks and sections (tasks_order).",
934
+ description: "Update an existing tag. Only send the fields you want to change. Supports name, description, color, icon, favorite status, archiving, and the order of the page's tasks and sections (tasks_order). The description is the place for a page's state (status, deadline, next step): there is no separate field for it.",
905
935
  inputSchema: {
906
936
  id: z.string().uuid().describe("Tag UUID"),
907
937
  name: z.string().optional().describe("Tag name"),
@@ -913,13 +943,17 @@ export function registerAllTools(server, fetchApi) {
913
943
  .optional()
914
944
  .describe("Full display order of the page's tasks: task ids and \"h:<header_id>\" entries for sections, top to bottom. Read the current one with get_tag, insert or move entries, send the whole array back. Tasks listed after a section belong to it."),
915
945
  is_favorite: z.boolean().optional().describe("Whether the tag is a favorite"),
946
+ archived: z
947
+ .boolean()
948
+ .optional()
949
+ .describe("true archives the tag: it leaves the active surfaces (sidebar, page lists, suggestions) but nothing is deleted — its notes, tasks and links stay, and it can be unarchived with false. The way to close a finished project."),
916
950
  },
917
951
  annotations: { title: "Update tag", destructiveHint: false, idempotentHint: true, openWorldHint: false },
918
952
  }, async ({ id, ...body }) => {
919
953
  return toContent(await fetchApi(`/tags/${id}`, "PATCH", body));
920
954
  });
921
955
  server.registerTool("delete_tag", {
922
- description: "Permanently delete a tag and all its links to contacts, entries, tasks, notes, and companies.",
956
+ description: "Permanently delete a tag and all its links to contacts, entries, tasks, notes, and companies. Its #tag# / [[tag]] markers are stripped from all content (the words stay). To fold a duplicate into another tag, use merge_tag instead.",
923
957
  inputSchema: {
924
958
  id: z.string().uuid().describe("Tag UUID"),
925
959
  },
@@ -927,6 +961,16 @@ export function registerAllTools(server, fetchApi) {
927
961
  }, async ({ id }) => {
928
962
  return toContent(await fetchApi(`/tags/${id}`, "DELETE"));
929
963
  });
964
+ server.registerTool("merge_tag", {
965
+ description: "Merge a duplicate tag (page) INTO another one: all its links (contacts, entries, tasks, notes, companies) move to the target without duplicates, every #source# / [[source]] in content is rewritten as the target's name, then the source tag is deleted. Use it when two pages describe the same project or theme (e.g. 'Livre' and 'livre photo'), or when update_tag refuses a rename because the name already exists. Confirm with your user which page to keep.",
966
+ inputSchema: {
967
+ source_id: z.string().uuid().describe("UUID of the tag to merge away (it will be deleted)"),
968
+ target_id: z.string().uuid().describe("UUID of the tag to keep"),
969
+ },
970
+ annotations: { title: "Merge tags", destructiveHint: true, idempotentHint: false, openWorldHint: false },
971
+ }, async ({ source_id, target_id }) => {
972
+ return toContent(await fetchApi(`/tags/${source_id}/merge`, "POST", { target_id }));
973
+ });
930
974
  server.registerTool("link_tag", {
931
975
  description: "Link an entity (contact, entry, task, note, or company) to a tag.",
932
976
  inputSchema: {
@@ -1150,6 +1194,69 @@ export function registerAllTools(server, fetchApi) {
1150
1194
  }, async ({ task_id, note_id }) => {
1151
1195
  return toContent(await fetchApi(`/tasks/${task_id}/notes/${note_id}`, "DELETE"));
1152
1196
  });
1197
+ server.registerTool("link_day_block_note", {
1198
+ description: "Link an existing note to a time block of the timeline (N-N, non-destructive). A block's notes are where the user prepares it (before) and writes what happened (after) — the same note, completed. The app shows the note's title on the block's card and opens the note right in the block. Get block ids from list_day_blocks.",
1199
+ inputSchema: {
1200
+ day_block_id: z.string().uuid().describe("Block UUID"),
1201
+ note_id: z.string().uuid().describe("Note UUID"),
1202
+ },
1203
+ annotations: { title: "Link day block note", destructiveHint: false, idempotentHint: true, openWorldHint: false },
1204
+ }, async ({ day_block_id, note_id }) => {
1205
+ return toContent(await fetchApi(`/day-blocks/${day_block_id}/notes/${note_id}`, "POST"));
1206
+ });
1207
+ server.registerTool("unlink_day_block_note", {
1208
+ description: "Remove the link between a note and a time block. Both the block and the note survive.",
1209
+ inputSchema: {
1210
+ day_block_id: z.string().uuid().describe("Block UUID"),
1211
+ note_id: z.string().uuid().describe("Note UUID"),
1212
+ },
1213
+ annotations: { title: "Unlink day block note", destructiveHint: true, idempotentHint: true, openWorldHint: false },
1214
+ }, async ({ day_block_id, note_id }) => {
1215
+ return toContent(await fetchApi(`/day-blocks/${day_block_id}/notes/${note_id}`, "DELETE"));
1216
+ });
1217
+ server.registerTool("keep_recurring_block_note", {
1218
+ description: "Keep a note in a recurring block (the app's \"Keep for the following days\"): from `from_date` on, every occurrence of the repetition shows it — a running log for a project block, a checklist for a routine. Days already planned are included, earlier days are untouched. Nothing is copied: it is one note, the same everywhere. A note written in a recurring block belongs to that day only until it is kept. Get repetition ids from list_recurring_blocks (or `repeats.recurring_block_id` in list_day_blocks); each repetition lists its kept notes in `notes`.",
1219
+ inputSchema: {
1220
+ recurring_block_id: z.string().uuid().describe("Recurring block (repetition) UUID"),
1221
+ note_id: z.string().uuid().describe("Note UUID"),
1222
+ from_date: z.string().optional().describe("First day the note appears (YYYY-MM-DD). Default: today (UTC)."),
1223
+ },
1224
+ annotations: { title: "Keep recurring block note", destructiveHint: false, idempotentHint: true, openWorldHint: false },
1225
+ }, async ({ recurring_block_id, note_id, from_date }) => {
1226
+ return toContent(await fetchApi(`/recurring-blocks/${recurring_block_id}/notes/${note_id}`, "POST", from_date ? { from_date } : {}));
1227
+ });
1228
+ server.registerTool("stop_keeping_recurring_block_note", {
1229
+ description: "Stop keeping a note in a recurring block (the app's \"Stop keeping\"): occurrences on or after `from_date` no longer show it, earlier days keep it. The note itself survives. To keep it on one particular day only, link it to that day's block afterwards with link_day_block_note.",
1230
+ inputSchema: {
1231
+ recurring_block_id: z.string().uuid().describe("Recurring block (repetition) UUID"),
1232
+ note_id: z.string().uuid().describe("Note UUID"),
1233
+ from_date: z.string().optional().describe("First day the note no longer appears (YYYY-MM-DD). Default: today (UTC)."),
1234
+ },
1235
+ annotations: { title: "Stop keeping recurring block note", destructiveHint: true, idempotentHint: true, openWorldHint: false },
1236
+ }, async ({ recurring_block_id, note_id, from_date }) => {
1237
+ const query = from_date ? `?from_date=${encodeURIComponent(from_date)}` : "";
1238
+ return toContent(await fetchApi(`/recurring-blocks/${recurring_block_id}/notes/${note_id}${query}`, "DELETE"));
1239
+ });
1240
+ server.registerTool("link_entry_note", {
1241
+ description: "Link an existing note to an entry (N-N, non-destructive): the note is the write-up of that interaction, shown as a preview on the entry's card. Typical case: after a meeting block, the short entry (\"Meeting · Coffee with Constance\") points to the note where the user prepared then wrote the meeting.",
1242
+ inputSchema: {
1243
+ entry_id: z.string().uuid().describe("Entry UUID"),
1244
+ note_id: z.string().uuid().describe("Note UUID"),
1245
+ },
1246
+ annotations: { title: "Link entry note", destructiveHint: false, idempotentHint: true, openWorldHint: false },
1247
+ }, async ({ entry_id, note_id }) => {
1248
+ return toContent(await fetchApi(`/entries/${entry_id}/notes/${note_id}`, "POST"));
1249
+ });
1250
+ server.registerTool("unlink_entry_note", {
1251
+ description: "Remove the link between a note and an entry. Both the entry and the note survive.",
1252
+ inputSchema: {
1253
+ entry_id: z.string().uuid().describe("Entry UUID"),
1254
+ note_id: z.string().uuid().describe("Note UUID"),
1255
+ },
1256
+ annotations: { title: "Unlink entry note", destructiveHint: true, idempotentHint: true, openWorldHint: false },
1257
+ }, async ({ entry_id, note_id }) => {
1258
+ return toContent(await fetchApi(`/entries/${entry_id}/notes/${note_id}`, "DELETE"));
1259
+ });
1153
1260
  server.registerTool("link_notes", {
1154
1261
  description: "Link two notes together (knowledge base, N-N, non-destructive). The link is symmetric: both notes list each other in their linked-notes section. Use this to connect related ideas — e.g. a note that made you think of another one. Notes can also be linked inline by writing [label](note:uuid) in a note's content.",
1155
1262
  inputSchema: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keepsake-mcp",
3
- "version": "1.16.0",
3
+ "version": "1.18.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": {
@@ -29,6 +29,10 @@
29
29
  "notes"
30
30
  ],
31
31
  "license": "MIT",
32
+ "repository": {
33
+ "type": "git",
34
+ "url": "https://github.com/nicolascroce/keepsake-mcp"
35
+ },
32
36
  "mcpName": "io.github.nicolascroce/keepsake",
33
37
  "dependencies": {
34
38
  "@modelcontextprotocol/sdk": "^1.32.1",