stacktrace-mcp\
\ Simple JS Stacktrace MCP for getting the nearest error location from JavaScript bundle URL \ and lets an LLM checks if it matches anything in the current codebase.\ \ \u003e Designed for non-sourcemap users.\ \
Getting started\
\
- Clone the repo\
- Run
pnpm ifor install\ - Run
pnpm buildfor building the server\ - Add the local mcp server file path to your MCP-supported app (VSCode Copilot, etc):\
// settings.json\
"mcp": {\
"servers": {\
"stacktrace-mcp-server": {\
"type": "stdio",\
"command": "node",\
"args": [\
"\u003cyour-path-to\u003e\\\\/stacktrace-mcp\\\\/dist\\\\/mcp_server.cjs"\
]\
}\
}\
}\- Make sure the mcp tool is already enabled\
- Copy your error stack trace to the prompt chat! That's it
