keepsake-mcp 1.16.0 → 1.17.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 +5 -4
- package/build/index.js +0 -0
- package/build/tools.js +30 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -115,7 +115,7 @@ rather than in the chat, which disappears.
|
|
|
115
115
|
|--------|-----------|-------------|
|
|
116
116
|
| `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
117
|
|
|
118
|
-
## Available tools (
|
|
118
|
+
## Available tools (89)
|
|
119
119
|
|
|
120
120
|
### Contacts
|
|
121
121
|
| Tool | Description |
|
|
@@ -169,10 +169,11 @@ rather than in the chat, which disappears.
|
|
|
169
169
|
| `list_notes` | List notes — filter by pinned/archived, day, company, page (`tag_id`), publication-flow stage (`status`) |
|
|
170
170
|
| `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
171
|
| `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 |
|
|
172
|
+
| `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
173
|
| `update_note` | Update note content, links, days, or its publication-flow stage (`status`) |
|
|
174
174
|
| `delete_note` | Soft-delete (or permanent) |
|
|
175
175
|
| `pin_note` | Pin as a post-it (short reference always at hand) |
|
|
176
|
+
| `unpin_note` | Unpin a note (it stays where it is) |
|
|
176
177
|
| `archive_note` | Archive a note |
|
|
177
178
|
| `restore_note` | Restore a deleted/archived note |
|
|
178
179
|
|
|
@@ -213,10 +214,10 @@ Material kept *alongside* a note without entering its text — an idea, a refere
|
|
|
213
214
|
### Tags
|
|
214
215
|
| Tool | Description |
|
|
215
216
|
|------|-------------|
|
|
216
|
-
| `list_tags` | List tags (lightweight — ordering arrays omitted), with optional name search (`q`) |
|
|
217
|
+
| `list_tags` | List tags (lightweight — ordering arrays omitted), with optional name search (`q`) and `archived` / `favorite` filters |
|
|
217
218
|
| `get_tag` | Get a tag by ID with all properties, including `tasks_order` (section markers `h:<header_id>`) |
|
|
218
219
|
| `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`) |
|
|
220
|
+
| `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
221
|
| `delete_tag` | Permanently delete a tag and all its links |
|
|
221
222
|
| `get_tag_items` | Get items linked to a tag — filter by `types`/`status`, `summary` mode, task `sections` included |
|
|
222
223
|
| `link_tag` | Link any entity to a tag |
|
package/build/index.js
CHANGED
|
File without changes
|
package/build/tools.js
CHANGED
|
@@ -584,7 +584,7 @@ export function registerAllTools(server, fetchApi) {
|
|
|
584
584
|
return toContent(withNoteHint(await fetchApi(`/notes/${id}`)));
|
|
585
585
|
});
|
|
586
586
|
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).",
|
|
587
|
+
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
588
|
inputSchema: {
|
|
589
589
|
content: z.string().describe("Note content (supports #tag# and [[tag]])"),
|
|
590
590
|
is_pinned: z.boolean().optional().describe("Pin the note (default: false)"),
|
|
@@ -604,6 +604,10 @@ export function registerAllTools(server, fetchApi) {
|
|
|
604
604
|
.string()
|
|
605
605
|
.optional()
|
|
606
606
|
.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."),
|
|
607
|
+
archived: z
|
|
608
|
+
.boolean()
|
|
609
|
+
.optional()
|
|
610
|
+
.describe("Create a permanent Note directly instead of an Inbox QuickNote (default: false). Tags, links and @mentions work the same. Implied by status."),
|
|
607
611
|
},
|
|
608
612
|
annotations: { title: "Create note", destructiveHint: false, idempotentHint: false, openWorldHint: false },
|
|
609
613
|
}, async (params) => {
|
|
@@ -660,6 +664,15 @@ export function registerAllTools(server, fetchApi) {
|
|
|
660
664
|
}, async ({ id }) => {
|
|
661
665
|
return toContent(await fetchApi(`/notes/${id}/pin`, "POST"));
|
|
662
666
|
});
|
|
667
|
+
server.registerTool("unpin_note", {
|
|
668
|
+
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.",
|
|
669
|
+
inputSchema: {
|
|
670
|
+
id: z.string().uuid().describe("Note UUID"),
|
|
671
|
+
},
|
|
672
|
+
annotations: { title: "Unpin note", destructiveHint: false, idempotentHint: true, openWorldHint: false },
|
|
673
|
+
}, async ({ id }) => {
|
|
674
|
+
return toContent(await fetchApi(`/notes/${id}/unpin`, "POST"));
|
|
675
|
+
});
|
|
663
676
|
server.registerTool("archive_note", {
|
|
664
677
|
description: "Transform a QuickNote into a permanent Note (archive it). Notes appear on contact pages, tag pages, and the Notes section.",
|
|
665
678
|
inputSchema: {
|
|
@@ -853,15 +866,23 @@ export function registerAllTools(server, fetchApi) {
|
|
|
853
866
|
// TAGS
|
|
854
867
|
// ===========================================================================
|
|
855
868
|
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.",
|
|
869
|
+
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
870
|
inputSchema: {
|
|
858
871
|
q: z.string().optional().describe("Filter by name (case-insensitive substring match)"),
|
|
872
|
+
archived: z
|
|
873
|
+
.boolean()
|
|
874
|
+
.optional()
|
|
875
|
+
.describe("true: only archived tags; false: only active tags (default: both)"),
|
|
876
|
+
favorite: z
|
|
877
|
+
.boolean()
|
|
878
|
+
.optional()
|
|
879
|
+
.describe("true: only the user's favorite tags (sidebar); false: only non-favorites (default: both)"),
|
|
859
880
|
limit: z.number().int().positive().optional().describe("Max results (default 50)"),
|
|
860
881
|
offset: z.number().int().nonnegative().optional().describe("Pagination offset"),
|
|
861
882
|
},
|
|
862
883
|
annotations: { title: "List tags", readOnlyHint: true, openWorldHint: false },
|
|
863
|
-
}, async ({ q, limit, offset }) => {
|
|
864
|
-
return toContent(await fetchApi(`/tags${qs({ q, limit, offset })}`));
|
|
884
|
+
}, async ({ q, archived, favorite, limit, offset }) => {
|
|
885
|
+
return toContent(await fetchApi(`/tags${qs({ q, archived, favorite, limit, offset })}`));
|
|
865
886
|
});
|
|
866
887
|
server.registerTool("get_tag", {
|
|
867
888
|
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 +922,7 @@ export function registerAllTools(server, fetchApi) {
|
|
|
901
922
|
return toContent(await fetchApi("/tags", "POST", body));
|
|
902
923
|
});
|
|
903
924
|
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).",
|
|
925
|
+
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
926
|
inputSchema: {
|
|
906
927
|
id: z.string().uuid().describe("Tag UUID"),
|
|
907
928
|
name: z.string().optional().describe("Tag name"),
|
|
@@ -913,6 +934,10 @@ export function registerAllTools(server, fetchApi) {
|
|
|
913
934
|
.optional()
|
|
914
935
|
.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
936
|
is_favorite: z.boolean().optional().describe("Whether the tag is a favorite"),
|
|
937
|
+
archived: z
|
|
938
|
+
.boolean()
|
|
939
|
+
.optional()
|
|
940
|
+
.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
941
|
},
|
|
917
942
|
annotations: { title: "Update tag", destructiveHint: false, idempotentHint: true, openWorldHint: false },
|
|
918
943
|
}, async ({ id, ...body }) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "keepsake-mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.17.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": {
|