mcptools icon indicating copy to clipboard operation
mcptools copied to clipboard

Bug: mcp tools npx -y @modelcontextprotocol/server-everything hangs and produces no output

Open ayakutt opened this issue 1 year ago • 1 comments

Running mcp tools npx -y @modelcontextprotocol/server-everything causes the process to hang without printing anything. It seems to get stuck, possibly at cmd.Wait(), which doesn't return. Wrapping it in a goroutine or removing it makes the command finish, but it's unclear if that's the correct fix. Might need further investigation.

ayakutt avatar Apr 06 '25 21:04 ayakutt

I wrap it and put a timeout. IDK if it's the correct solution but fixes anyway. https://github.com/f/mcptools/commit/1f711d125caaf6859fd2ffbd22dd155c0d664da3

f avatar Apr 08 '25 12:04 f