Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Descripción del creador (original en inglés)
Parse JavaScript error stack traces back to original source code using source maps
Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.
Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.
Elige la app de IA que usas y copia la configuración.
SOURCE_MAP_PARSER_CONTEXT_OFFSET_LINE, SOURCE_MAP_PARSER_RESOURCE_CACHE_MAX_SIZENecesitas
¿Qué app usas?
Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.
Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json
{
"mcpServers": {
"source-map-parser": {
"command": "npx",
"args": [
"-y",
"source-map-parser-mcp"
],
"env": {
"SOURCE_MAP_PARSER_CONTEXT_OFFSET_LINE": "your-value",
"SOURCE_MAP_PARSER_RESOURCE_CACHE_MAX_SIZE": "your-value"
}
}
}
}Ejecuta esto en tu terminal
claude mcp add source-map-parser --env SOURCE_MAP_PARSER_CONTEXT_OFFSET_LINE=your-value --env SOURCE_MAP_PARSER_RESOURCE_CACHE_MAX_SIZE=your-value -- npx -y source-map-parser-mcpCompleta los valores vacíos antes de ejecutarlo.
Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json
{
"mcpServers": {
"source-map-parser": {
"command": "npx",
"args": [
"-y",
"source-map-parser-mcp"
],
"env": {
"SOURCE_MAP_PARSER_CONTEXT_OFFSET_LINE": "your-value",
"SOURCE_MAP_PARSER_RESOURCE_CACHE_MAX_SIZE": "your-value"
}
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Pégalo en .vscode/mcp.json de tu proyecto
{
"servers": {
"source-map-parser": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"source-map-parser-mcp"
],
"env": {
"SOURCE_MAP_PARSER_CONTEXT_OFFSET_LINE": "your-value",
"SOURCE_MAP_PARSER_RESOURCE_CACHE_MAX_SIZE": "your-value"
}
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.
Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.
SOURCE_MAP_PARSER_CONTEXT_OFFSET_LINE envSOURCE_MAP_PARSER_RESOURCE_CACHE_MAX_SIZE envEsta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.
Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.
Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 6 nov 2026
El nombre en el registro se verificó con la cuenta de GitHub MasonChow, dueña del repo
Todavía no hemos leído este repo en GitHub
Todavía no hemos leído este repo en GitHub
Este se ejecuta en tu computadora; no hay endpoint en internet
Se ejecuta en tu computadora y usa ajustes locales en su lugar
Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet
Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.
Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.
El registro no indica ninguna clave obligatoria, aunque algunos servidores te piden iniciar sesión la primera vez que los usas.
Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).
El repo de GitHub cambió por última vez –, y la última versión (1.3.2) llegó al registro hace 14 meses.
Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Node.js en tu computadora.
En la misma categoría: Spec Driven Development, Remote Desktop Commander, Safe Fetch
Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.
Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
MCP server for fetching URLs, safe against SSRF, DNS rebinding, and redirect-to-internal attacks.
Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.
🌐 语言: English | 简体中文
This project implements a WebAssembly-based Source Map parser that can map JavaScript error stack traces back to source code and extract relevant context information. Developers can easily map JavaScript error stack traces back to source code for quick problem identification and resolution. This documentation aims to help developers better understand and use this tool.
Note: Requires Node.js 20+ support
Option 1: Run directly with NPX
npx -y source-map-parser-mcp@latest
Option 2: Download the build artifacts
Download the corresponding version of the build artifacts from the GitHub Release page, then run:
node dist/main.es.js
You can embed the tools into your own MCP server process and customize behavior.
Install:
npm install source-map-parser-mcp
Minimal server (TypeScript):
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'; import { registerTools, Parser, type ToolsRegistryOptions, } from 'source-map-parser-mcp';
const server = new McpServer( { name: 'your-org.source-map-parser', version: '0.0.1' }, { capabilities: { tools: {} } } );
// Optional: control context lines via env const options: ToolsRegistryOptions = { contextOffsetLine: Number(process.env.SOURCE_MAP_PARSER_CONTEXT_OFFSET_LINE) || 1, };
registerTools(server, options);
// Start as stdio server const transport = new StdioServerTransport(); await server.connect(transport);
// If you need programmatic parsing without MCP: const parser = new Parser({ contextOffsetLine: 1 }); // await parser.parseStack({ line: 10, column: 5, sourceMapUrl: 'https://...' }); // await parser.batchParseStack([{ line, column, sourceMapUrl }]);
This project ships both ESM and CJS builds and a single bundled TypeScript declaration file.
dist/index.es.jsdist/index.cjs.jsdist/main.es.jsdist/index.d.ts (single bundled d.ts)Quick build locally:
npm install
npm run build
Using types in your project:
import {
Parser, registerTools, type ToolsRegistryOptions, } from 'source-map-parser-mcp';
System runtime parameters can be flexibly configured through environment variables to meet the needs of different scenarios
SOURCE_MAP_PARSER_RESOURCE_CACHE_MAX_SIZE: Sets the maximum memory space occupied by resource cache, default is 200MB. Adjusting this value appropriately can balance performance and memory usage.SOURCE_MAP_PARSER_CONTEXT_OFFSET_LINE: Defines the number of context code lines to display around the error location, default is 1 line. Increasing this value provides more context information, facilitating problem diagnosis.Example:
# Set 500MB cache and display 3 lines of context
export SOURCE_MAP_PARSER_RESOURCE_CACHE_MAX_SIZE=500 export SOURCE_MAP_PARSER_CONTEXT_OFFSET_LINE=3 npx -y source-map-parser-mcp@latest
operating_guideGet usage instructions for the MCP service. Provides information on how to use the MCP service through chat interaction.
parse_stackParse stack information by providing stack traces and Source Map addresses.
{
"stacks": [ { "line": 10, "column": 5, "sourceMapUrl": "https://example.com/source.map" } ] }
{
"content": [ { "type": "text", "text": "[{\"success\":true,\"token\":{\"line\":10,\"column\":5,\"sourceCode\":[{\"line\":8,\"isStackLine\":false,\"raw\":\"function foo() {\"},{\"line\":9,\"isStackLine\":false,\"raw\":\" console.log('bar');\"},{\"line\":10,\"isStackLine\":true,\"raw\":\" throw new Error('test');\"},{\"line\":11,\"isStackLine\":false,\"raw\":\"}\"}],\"src\":\"index.js\"}}]" } ] }
lookup_contextLook up original source code context for a specific line and column position in compiled/minified code.
{
"line": 42, "column": 15, "sourceMapUrl": "https://example.com/app.js.map", "contextLines": 5 }
{
"content": [ { "type": "text", "text": "{\"filePath\":\"src/utils.js\",\"targetLine\":25,\"contextLines\":[{\"lineNumber\":23,\"content\":\"function calculateSum(a, b) {\"},{\"lineNumber\":24,\"content\":\" if (a < 0 || b < 0) {\"},{\"lineNumber\":25,\"content\":\" throw new Error('Negative numbers not allowed');\"},{\"lineNumber\":26,\"content\":\" }\"},{\"lineNumber\":27,\"content\":\" return a + b;\"}]}" } ] }
unpack_sourcesExtract all source files and their content from a source map.
{
"sourceMapUrl": "https://example.com/bundle.js.map" }
{
"content": [ { "type": "text", "text": "{\"sources\":{\"src/index.js\":\"import { utils } from './utils.js';\\nconsole.log('Hello World!');\",\"src/utils.js\":\"export const utils = { add: (a, b) => a + b };\"},\"sourceRoot\":\"/\",\"file\":\"bundle.js\",\"totalSources\":2}" } ] }
success: Indicates whether the parsing was successful.token: The Token object returned when parsing is successful, containing source code line number, column number, context code, and other information.error: Error information returned when parsing fails.According to actual needs, you can use system prompts to guide the model on how to parse stack information. For security or performance reasons, some teams may not want to expose Source Maps directly to the browser for parsing, but instead process the upload path of the Source Map. For example, converting the path bar-special.js to special/bar.js.map. In this case, you can instruct the model to perform path conversion through prompt rules.
Here is an example:
# Error Stack Trace Parsing Rules
When performing source map parsing, please follow these rules:
special, the file should be parsed into the special/ directory, while removing -special from the filename.https://cdn.jsdelivr.net/gh/MasonChow/source-map-parser-mcp@main/example/bar-special.js: https://cdn.jsdelivr.net/gh/MasonChow/source-map-parser-mcp@main/example/special/bar.js.map
Error Stack
Uncaught Error: This is a error
at foo-special.js:49:34832 at ka (foo-special.js:48:83322) at Vs (foo-special.js:48:98013) at Et (foo-special.js:48:97897) at Vs (foo-special.js:48:98749) at Et (foo-special.js:48:97897) at Vs (foo-special.js:48:98059) at sv (foo-special.js:48:110550) at foo-special.js:48:107925 at MessagePort.Ot (foo-special.js:25:1635)
If the tool returns the following error message, please troubleshoot as follows:
parser init error: WebAssembly.instantiate(): invalid value type 'externref', enable with --experimental-wasm-reftypes @+86
npx --node-arg=--experimental-wasm-reftypes -y source-map-parser-mcp@latest
Ensure Node.js and npm are installed, then run the following command to install project dependencies:
npm install
Run the following command to start the MCP server:
npx tsx src/main.ts
parse_stack tool interface for external calls.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.
Contributions via Issues and Pull Requests are welcome to improve this project.
This project is licensed under the MIT License. See the LICENSE file for details.