Github MasonChow Source Map Parser Mcp
Parse JavaScript error stack traces back to original source code using source maps
About This MCP Server
1. Stack Parsing: Parse the corresponding source code location based on provided line number, column number, and Source Map file. 2. Batch Processing: Support parsing multiple stack traces simultaneously and return batch results. 3. Context Extraction: Extract context code for a specified number of lines to help developers better understand the environment where errors occur. 4. Context Lookup: Look up original source code context for specific compiled code positions. 5. Source Unpacking: Extract all source files and their content from source maps.
To modify the parsing logic, edit the getSourceToken method in the parser.ts file.
In the server.ts file, new tool interfaces can be added using the server.tool method.
What Problems It Solves
- • Source map address for bar-special.js:
Specifications
Requirements
- Ensure Node.js and npm are installed
- then run the following command to install project dependencies:
Hosting
Hosting Options
- Package
API
Integrate this server into your application. Choose a connection method below.
Install
npm installPerformance
Usage
Quick Reference
- Name
- Github MasonChow Source Map Parser Mcp
- Function
- Parse JavaScript error stack traces back to original source code using source maps
- Transport
- Package
- Language
- JavaScript/TypeScript
- Install
- npm install
- Source
- External (Registry)
- License
- Open Source
Ready to integrate this MCP server?
Book a demo to see how this server fits your workflow, or explore the full catalog.