Source Map Parser
A WebAssembly-based Source Map parser for mapping JavaScript error stacks back to the source code and extracting context information.
rating : 2.5 points
downloads : 23
What is Source Map Parser MCP?
This is a tool that helps developers quickly locate JavaScript errors. When an error occurs in the production environment, it can map the error location in the minified code back to the original source code and display the code context around the error.How to use Source Map Parser MCP?
It can be run directly through a simple command-line tool or integrated into your development workflow. Provide the error stack and the address of the Source Map file to get the source code mapping result.Applicable scenarios
Suitable for scenarios that require mapping errors in minified code back to the source code, such as error diagnosis in the production environment, error analysis in the CI/CD process, and integration with front-end monitoring systems.Main features
Stack parsingParse the corresponding source code location based on the provided line number, column number, and Source Map file
Batch processingSupport parsing multiple stack information simultaneously and returning batch results
Context extractionExtract the context code of the specified number of lines around the error location to help understand the environment where the error occurred
Advantages and limitations
Advantages
High performance: Implemented based on WebAssembly with fast parsing speed
Ease of use: Provide a simple command-line interface and MCP service integration
Flexibility: Support custom configuration of cache size and context line number
Limitations
Requires Node.js 18+ environment support
Requires providing the correct Source Map file for accurate mapping
There may be a slight delay when loading the WebAssembly module for the first time
How to use
Install and run
Run directly through npx or download the build artifacts
Configure environment variables
Set the cache size and context line number as needed (optional)
Use the parse_stack tool
Send stack information through the MCP service interface for parsing
Usage examples
Basic stack parsingParse the location of a single error stack
Custom Source Map pathHandling when the Source Map path is inconsistent with the code path
Frequently Asked Questions
What should I do if the WebAssembly module fails to load?
How to increase the number of context code lines displayed?
Related resources
GitHub repository
Project source code and release versions
MCP service
Online service page
Featured MCP Services

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
108
4.3 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
160
4.5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
845
4.3 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
581
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
768
4.8 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
297
4.5 points