Submit

stacktrace-mcp

@antonybudianto

Simple JS Stacktrace MCP for getting the nearest error location from JS asset URL and let LLM checks if it matches anything with current codebase. Designed for non-sourcemap users.
Overview

What is stacktrace-mcp?

stacktrace-mcp is a simple JavaScript tool designed to help developers identify the nearest error location from a JavaScript asset URL. It allows LLMs (Language Learning Models) to check if the error matches anything in the current codebase, making it particularly useful for users who do not utilize sourcemaps.

How to use stacktrace-mcp?

To use stacktrace-mcp, follow these steps:

  1. Clone the repository from GitHub.
  2. Install the necessary dependencies using pnpm i.
  3. Build the server with pnpm build.
  4. Add the local MCP server file path to your MCP-supported application (like VSCode Copilot).
  5. Ensure the MCP tool is enabled.
  6. Copy your error stack trace into the prompt chat.

Key features of stacktrace-mcp?

  • Identifies the nearest error location from JS asset URLs.
  • Integrates with LLMs to check for codebase matches.
  • Designed for users who do not use sourcemaps, simplifying error tracking.

Use cases of stacktrace-mcp?

  1. Debugging JavaScript applications by pinpointing error locations.
  2. Enhancing developer productivity by integrating with tools like VSCode Copilot.
  3. Assisting in error resolution without the need for sourcemaps.

FAQ from stacktrace-mcp?

  • Can stacktrace-mcp work without sourcemaps?

Yes! stacktrace-mcp is specifically designed for users who do not utilize sourcemaps.

  • Is stacktrace-mcp easy to set up?

Yes! The setup process is straightforward and involves cloning the repo and running a few commands.

  • What programming language is stacktrace-mcp written in?

stacktrace-mcp is written in TypeScript.

© 2025 MCP.so. All rights reserved.

Build with ShipAny.