mcptools
mcptools copied to clipboard
Bug: mcp tools npx -y @modelcontextprotocol/server-everything hangs and produces no output
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.
I wrap it and put a timeout. IDK if it's the correct solution but fixes anyway. https://github.com/f/mcptools/commit/1f711d125caaf6859fd2ffbd22dd155c0d664da3