Skip to content

[mcp/memory] read_graph can't be called without args #1273

Open
@ajoslin103

Description

@ajoslin103

When my windsurf calls the read_graph tool from the mcp/memory server the tool call fails with:

Output: No arguments provided for tool: read_graph

Problem is that the code [index.js] guards against missing args

  if (!args) {
    throw new Error(`No arguments provided for tool: ${name}`);
  }

But read_graph does not take any args

    case "read_graph":
      return { content: [{ type: "text", text: JSON.stringify(await knowledgeGraphManager.readGraph(), null, 2) }] };

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions