Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

fix(mcp): propagate parent id to createList call. fixes: #2144

Mohamed Bassem0d14130ccb4e
diff --git a/apps/mcp/src/lists.ts b/apps/mcp/src/lists.ts
index 15abf483..dbc1be64 100644
--- a/apps/mcp/src/lists.ts
+++ b/apps/mcp/src/lists.ts
@@ -110,11 +110,12 @@ mcpServer.tool(
.optional()
.describe(`The parent list id of this list.`),
},
- async ({ name, icon }): Promise<CallToolResult> => {
+ async ({ name, icon, parentId }): Promise<CallToolResult> => {
const res = await karakeepClient.POST("/lists", {
body: {
name,
icon,
+ parentId,
},
});
if (res.error) {