Skip to content

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

fix(mcp): add empty params object (#1697)

Baitazar6cc249d141ec
diff --git a/apps/mcp/src/lists.ts b/apps/mcp/src/lists.ts
index 0779c86e..15abf483 100644
--- a/apps/mcp/src/lists.ts
+++ b/apps/mcp/src/lists.ts
@@ -8,7 +8,9 @@ mcpServer.tool(
"get-lists",
`Retrieves a list of lists.`,
async (): Promise<CallToolResult> => {
- const res = await karakeepClient.GET("/lists");
+ const res = await karakeepClient.GET("/lists", {
+ params: {},
+ });
if (!res.data) {
return toMcpToolError(res.error);
}