MCP ExplorerExplorer

Stacktrace Mcp

@antonybudiantoon 10 months ago
1 MIT
FreeCommunity
AI Systems
#mcp#mcp-server#model-context-protocol
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 Stacktrace MCP designed to retrieve the nearest error location from a JavaScript asset URL. It allows a Language Model (LLM) to verify if the error matches anything in the current codebase, specifically aimed at users who do not utilize source maps.

Use cases

Use cases for stacktrace-mcp include debugging JavaScript errors in production environments, assisting developers in locating issues quickly without source maps, and improving the efficiency of error handling in applications.

How to use

To use stacktrace-mcp, clone the repository, install dependencies using ‘pnpm i’, build the server with ‘pnpm build’, and configure your MCP-supported application (like VSCode Copilot) by adding the local MCP server file path in the settings.json. Finally, ensure the MCP tool is enabled and copy your error stack trace into the prompt chat.

Key features

Key features of stacktrace-mcp include its simplicity, compatibility with non-source map users, the ability to identify error locations from JavaScript bundles, and integration with various MCP-supported applications.

Where to use

stacktrace-mcp can be used in web development environments, particularly in projects where source maps are not available or practical. It is suitable for debugging JavaScript applications and enhancing error tracking.

Content

stacktrace-mcp

Simple JS Stacktrace MCP for getting the nearest error location from JavaScript bundle URL
and lets an LLM checks if it matches anything in the current codebase.

Designed for non-sourcemap users.

Getting started

  1. Clone the repo
  2. Run pnpm i for install
  3. Run pnpm build for building the server
  4. Add the local mcp server file path to your MCP-supported app (VSCode Copilot, etc):
  5. Make sure the mcp tool is already enabled
  6. Copy your error stack trace to the prompt chat! That’s it

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers