calling [mcp/memory] read_graph without args #1276
calling [mcp/memory] read_graph without args #1276olaservo merged 10 commits intomodelcontextprotocol:mainfrom ajoslin103:ajoslin/memory
Conversation
|
Could you add some details on how this fix was tested? |
|
@ajoslin103 's fix worked for me so I can answer how I tested on their behalf, Using the https://github.com/mark3labs/mcphost project, I created my own for, added @ajoslin103 's remote, checked out their incoming branch here, and altered my mcphost config file, Before changing the config file, the steps I took to reproduce the error were to provide the memory prompt context to the chat before this interaction resulting in an error: After I updated my mcphost config file to the above and providing the memory mcp prompt context, I was able to avoid the error: Note, it has no memory since I just cloned this repo and the I scoured the mark3labs mcp and mcphost projects for an appropriate place to fix this and found that this server response was the source of the error. |
|
@olaservo PTAL when you get a chance. |
|
please merge this request immediately it fixes the issue. |
olaservo
left a comment
There was a problem hiding this comment.
Hi, thanks for the PR and sorry for missing the ping earlier. Could you update the sdk in the package.json to "@modelcontextprotocol/sdk": "^1.15.1" while we're at it, since its on a very old SDK version? Thanks!
fixes: #1273
Problem is that the mcp/memory code [index.js] guards against missing args
But read_graph does not take any args