-
Notifications
You must be signed in to change notification settings - Fork 9.1k
calling [mcp/memory] read_graph without args #1276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
calling [mcp/memory] read_graph without args #1276
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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