Source_map_parser
@MasonChow
关于 Source_map_parser
paser source map
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"source_map_parser": {
"command": "npx",
"args": [
"-y",
"source-map-parser-mcp"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Source_map_parser?
Source_map_parser is a WebAssembly-based Source Map parser that maps JavaScript error stack traces back to source code and extracts relevant context information. It is designed for developers debugging minified or compiled JavaScript code.
How to use Source_map_parser?
Run it directly via NPX: npx -y source-map-parser-mcp@latest (requires Node.js 20+). Alternatively, install as an npm package and embed the tools into your own MCP server. Configure runtime parameters through environment variables SOURCE_MAP_PARSER_RESOURCE_CACHE_MAX_SIZE and SOURCE_MAP_PARSER_CONTEXT_OFFSET_LINE.
Key features of Source_map_parser
- Parses stack traces to original source code locations.
- Supports batch processing of multiple stack traces.
- Extracts surrounding context code lines.
- Looks up original source context for compiled positions.
- Unpacks all source files from a source map.
Use cases of Source_map_parser
- Debugging JavaScript errors in production by mapping minified stack traces.
- Analyzing crash reports that include line/column numbers from bundled code.
- Extracting original source files from source maps for code review.
- Integrating into error monitoring tools for automated deobfuscation.
FAQ from Source_map_parser
WebAssembly Module Loading Failure?
Ensure Node.js version is 20 or higher. If still failing, enable the experimental WebAssembly reftypes flag by starting with npx --node-arg=--experimental-wasm-reftypes -y source-map-parser-mcp@latest.
What runtime dependencies does Source_map_parser have?
It requires Node.js 20+. The server can be run via NPX or installed as an npm package. No other external services are required.
Where are source maps resolved from?
The tool fetches source maps from URLs you provide. Ensure the source map URL is accessible and the file format is correct.
What transport does the MCP server use?
Source_map_parser uses the stdio transport (StdioServerTransport). There is no built-in authentication; it relies on the host environment.
How can I configure cache and context lines?
Set environment variables before starting: SOURCE_MAP_PARSER_RESOURCE_CACHE_MAX_SIZE (default 200MB) for cache size, and `SOURCE_M
媒体与设计 分类下的更多 MCP 服务器
Spotify MCP Server
marcelmaraisLightweight MCP server for Spotify
YouTube Transcript Server
kimtaeyoon83This is an MCP server that allows you to directly download transcripts of YouTube videos.
Video Editor MCP server
burningionMCP Interface for Video Jungle
Photoshop MCP Server
loonghaoA Model Context Protocol (MCP) server that interfaces with Adobe Photoshop's Python API. Enables LLMs to execute image editing operations, automate workflows, and manage Photoshop tasks through structured commands and context-aware interactions.
MiniMax MCP
MiniMax-AIOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
评论