[GH-ISSUE #1696] Invalid schema for function 'karakeep-get-lists' object schema missing properties #1058

Closed
opened 2026-03-02 11:54:42 +03:00 by kerem · 1 comment
Owner

Originally created by @hametovbr on GitHub (Jul 2, 2025).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/1696

Describe the Bug

I'm using AnythingLLM with MCP, and while all other functions work fine karakeep-get-lists keep producing error.

anythingllm  | [backend] error:    error: 400 Invalid schema for function 'karakeep-get-lists': In context=(), object schema missing properties. Error: 400 Invalid schema for function 'karakeep-get-lists': In context=(), object schema missing properties.

After some research seems like OpenAI thinks schema is invalid if it has no params at all.

Steps to Reproduce

  1. Run AnythingLLM in docker
  2. Add Karakeep MCP server
  3. Try to make a call to it

Expected Behaviour

Working fine

Screenshots or Additional Context

No response

Device Details

No response

Exact Karakeep Version

v0.25.0

Have you checked the troubleshooting guide?

  • I have checked the troubleshooting guide and I haven't found a solution to my problem
Originally created by @hametovbr on GitHub (Jul 2, 2025). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/1696 ### Describe the Bug I'm using AnythingLLM with MCP, and while all other functions work fine `karakeep-get-lists` keep producing error. ``` anythingllm | [backend] error: error: 400 Invalid schema for function 'karakeep-get-lists': In context=(), object schema missing properties. Error: 400 Invalid schema for function 'karakeep-get-lists': In context=(), object schema missing properties. ``` After some research seems like OpenAI thinks schema is invalid if it has no params at all. ### Steps to Reproduce 1. Run AnythingLLM in docker 2. Add Karakeep MCP server 3. Try to make a call to it ### Expected Behaviour Working fine ### Screenshots or Additional Context _No response_ ### Device Details _No response_ ### Exact Karakeep Version v0.25.0 ### Have you checked the troubleshooting guide? - [x] I have checked the troubleshooting guide and I haven't found a solution to my problem
kerem 2026-03-02 11:54:42 +03:00
Author
Owner

@MohamedBassem commented on GitHub (Aug 3, 2025):

I've just pushed mcp package verson 0.26 which contains your fix, really sorry for the delay.

<!-- gh-comment-id:3148530490 --> @MohamedBassem commented on GitHub (Aug 3, 2025): I've just pushed mcp package verson 0.26 which contains your fix, really sorry for the delay.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#1058
No description provided.