MCP.Market

Sourcemap Retrace MCP server

by vola-trebla·io.github.vola-trebla/sourcemap-retrace-mcp·v0.2.0

Decodes minified production stack traces back to original TypeScript source using source maps.

B82/100grade B
What users say
No reviews yet
Be the first
Safety scan
B82/100

full report

Adoption
New

0 stars39 downloads/wk

Reviews

Write one

Nobody has reviewed Sourcemap Retrace yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Sourcemap Retrace tools (7)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • audit_sourcemap_match

    Validate that .map files in a dist directory align with their compiled .js counterparts.

  • ingest_telemetry_payload

    Directly ingest Sentry, Bugsnag, or Datadog crash dumps and return fully retraced stack frames.

  • normalize_bundler_paths

    Resolve dynamic bundle references (like webpack://, ng://, or Vite /@fs/ paths) to raw files.

  • retrace_stack

    Decode a minified production stack trace back to original TypeScript source files, lines, and columns.

  • retrieve_code_context

    Show the original source code lines surrounding a mapped error location.

  • surface_async_causality

    Detect and trace across async boundaries (e.g. await, processTicksAndMicrotasks) to locate scheduling origins.

  • verify_debug_id_integrity

    Validate that a minified production bundle matches its source map using embedded Debug IDs.

Public scan report

scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it

no findings
  • Code scan6 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 130 days ago8/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 82/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Sourcemap Retrace compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
82/100
higher than 63% of 48,273 servers
Tools
7
the typical server has 7
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
Downloads a week
39
more than 31% of 11,915 servers with a package

What its tools let an agent do: 7 read

Install Sourcemap Retrace in Claude Code, Cursor or VS Code

Runs npx -y sourcemap-retrace-mcp on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add sourcemap-retrace-mcp -- npx -y sourcemap-retrace-mcp
Add to Cursor

What the publisher says

From the Sourcemap Retrace repository's README, as published. We do not edit it. Read it on GitHub

🗺️ sourcemap-retrace-mcp

Your app crashed in production. The stack trace is useless. Your AI agent has no idea where the bug is.

MCP server that decodes minified production stack traces back to original TypeScript source files, lines, and columns — using source maps. Before your agent spends 20 minutes guessing at obfuscated code.

🤔 The problem

Your monitoring tool sends you this:

TypeError: Cannot read properties of undefined (reading 'userId')
    at e.<anonymous> (main.a3f2c1.js:1:47821)
    at h (vendor.d4e5f6.js:1:12045)
    at processQueue (main.a3f2c1.js:1:89234)

You ask your agent to debug it. The agent reads main.a3f2c1.js. It's 40,000 characters of minified JavaScript. It has no idea what e. at column 47821 means.

sourcemap-retrace-mcp maps that back to:

at validateSession (src/auth/session.ts:142:8)
    at handleRequest (src/api/middleware.ts:67:3)

Now the agent knows exactly where to look.

🛠️ Tools

retrace_stack

Decode a minified stack trace back to original TypeScript source locations. Pass the raw stack trace and the directory containing your .js.map files.

Retrace Results
  Frames mapped: 3  |  Unmapped: 1

TypeError: Cannot read properties of undefined (reading 'userId')
    at validateSession (src/auth/session.ts:142:8)
    at handleRequest (src/api/middleware.ts:67:3)
    at processQueue (src/queue/processor.ts:28:12)
    at Module._compile (node:internal/modules/cjs/loader:1376:14)

retrievecodecontext

Show the original source lines surrounding a mapped error location — with line numbers and a column pointer.

Code Context
  File: src/auth/session.ts
  Target: line 142, column 8

  139 │   const session = await getSession(token);
  140 │   if (!session) throw new AuthError("invalid token");
  141 │
> 142 │   return session.userId;
        │         ^
  143 │ }
  144 │
  145 │ export async function refreshSession(token: string) {

auditsourcemapmatch

Validate that .map files in your dist directory are present and point to source files that actually exist on disk. Catches stale or missing maps before deployment.

Sourcemap Audit
  Directory: dist/
  Files checked: 4
  OK: 3  |  Missing maps: 0  |  Broken sources: 1

  ✓ main.a3f2c1.js — 47 source(s) mapped
  ✓ vendor.d4e5f6.js — 312 source(s) mapped
  ✓ worker.b1c2d3.js — 8 source(s) mapped
  ⚠ legacy.e7f8a9.js — 2 source(s) not found on disk:
      ../src/utils/deprecated.ts
      ../src/utils/compat.ts

⚡ Setup

{
  "mcpServers": {
    "sourcemap-retrace": {
      "command": "npx",
      "args": ["-y", "sourcemap-retrace-mcp"]
    }
  }
}

🚀 Usage

"I have a production error. Here's the stack trace: [paste]. My dist files are in /path/to/dist. Retrace it, show me the code around the error, and tell me what's wrong."

The agent runs retracestack, then retrievecode_context on the mapped location, and can finally read the actual TypeScript that crashed.

Works great alongside:

  • env-secret-exposure-analyzer-mcp — scan for secrets before deploying
  • release-readiness-triage-mcp — CI health check before release

📦 Links

  • npm: npmjs.com/package/sourcemap-retrace-mcp
  • GitHub: github.com/vola-trebla/sourcemap-retrace-mcp

License

MIT

Nothing above is checked by us. What we check is on the safety report.

Sourcemap Retrace: common questions

Is Sourcemap Retrace MCP server safe?
Mostly: it is graded B (82/100). Read the Sourcemap Retrace safety report
How do I install Sourcemap Retrace?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Sourcemap Retrace need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Sourcemap Retrace maintained?
The last commit was 166 days ago (2026-05-20). The latest release is v0.2.0.
How does Sourcemap Retrace compare with other MCP servers?
safety score 82/100 (higher than 63% of 48,273 servers); tools 7 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

More from vola-trebla →