Re:Show HN: We made an MCP server so Cursor can debug Node.j...
by wordofx on Friday March 28, 2025 @03:26PM
(#43509088)
In cursor you can whitelist commands. So I white list npm run. Then tell cursor to upgrade a dependency and run npm run build and if there’s errors. Fix the first error and repeat. Once the build is successful, run npm test and fix 1 test at a time.
Takes some learning but once you figure it out it’s insanely powerful.
> Asking it to focus on 1 error at a time massively improves the success rate.
Out of curiosity, how do you tell Cursor about the bug? Do you copy/paste console messages from the terminal into the prompt?