source-map-parser-mcp
If you are the rightful owner of source-map-parser-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Source Map Parser is a WebAssembly-based tool that maps JavaScript error stack traces back to source code, aiding in quick problem identification and resolution.
The Source Map Parser is a powerful tool designed to help developers map JavaScript error stack traces back to their original source code. By leveraging WebAssembly, it provides efficient parsing capabilities, allowing developers to quickly identify and resolve issues in their code. The tool supports batch processing of multiple stack traces and offers context extraction to provide additional insights into the environment where errors occur. It is integrated with the Model Context Protocol (MCP) to enhance its functionality and usability. The parser is compatible with Node.js 18+ and can be run directly using NPX or by downloading build artifacts from GitHub. It also allows for flexible runtime parameter configuration through environment variables, enabling users to balance performance and memory usage according to their needs.
Features
- Stack Parsing: Parse the corresponding source code location based on provided line number, column number, and Source Map file.
- Batch Processing: Support parsing multiple stack traces simultaneously and return batch results.
- Context Extraction: Extract context code for a specified number of lines to help developers better understand the environment where errors occur.
Tools
operating_guide
Get usage instructions for the MCP service. Provides information on how to use the MCP service through chat interaction.
parse_stack
Parse stack information by providing stack traces and Source Map addresses.