triage-agent-mcp
Uses git blame and commit history to trace the source file and line from a stack trace, and retrieves commit message, PR info, and reviewer comments linked to the fault.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@triage-agent-mcpFind the commit that caused this stack trace"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
triage-agent-mcp
MCP server that guides an AI agent through stack trace triage — from raw error to the commit and PR that introduced it.
How it works
Three tools, called in sequence by the agent:
Tool | Input | Output |
| raw stack trace | instructions to identify the source file and line |
| file path + line range |
|
| commit message, PR info, comments | structured triage result as JSON |
Related MCP server: pr-reviewer-mcp
Example
Use mcp__triage-agent-mcp__blame_stack_trace to analyze this error:
Uncaught TypeError: Cannot read properties of null (reading 'useContext')
at e.useContext (_virtual_mf___mfe_internal__remote__loadShare__react__loadShare__.mjs)
at app-xaIRccHv.js:3:17698The agent calls all three tools in sequence and returns the commit message, PR, and reviewer comments linked to the fault.
Usage
Add to your MCP client config (e.g. Claude Desktop claude_desktop_config.json):
{
"mcpServers": {
"triage-agent-mcp": {
"command": "node",
"args": ["/path/to/triage-agent-mcp/dist/index.js"]
}
}
}Development
npm install
npm test # tsc type-check + smoke test
npm run build # tsc → dist/This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
MCP server for Sentry - error monitoring, issue tracking, and debugging for AI assistants
MCP server for visual regression testing: triage a PR's UI diffs from your coding agent.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for TuringWell, the agent-native Q&A platform for executable, verifiable fixes.1610 npmMIT
- FlicenseAqualityDmaintenanceAn MCP server exposing AI-powered GitHub PR review as tools.5-
- -licenseNot gradedqualityNot gradedmaintenanceMCP server that parses stack traces and logs to generate deduplicated issue drafts with severity, repro steps, and owner guesses.-
- AlicenseNot gradedqualityBmaintenanceAn MCP server that records AI coding agent attempts, runs your test suite against each in isolated git worktrees, and reports pass/fail verdicts to help you choose the fix that actually works.58,504 npm1MIT