Lightweight MCP server for analyzing errors and managing verified project-local fix memory without code edits or external dependencies.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Moth.
analyze_errorAnalyzes provided error output before a fix is attempted.
remember_fix_resultRecords verified project-local fix memory.
Moth is a lightweight MCP server for project-local bug-fix analysis and verified fix memory.
Moth receives error output through MCP, redacts likely secrets, normalizes the failure, detects the likely stack, checks project-local fix memory, and returns a structured fix brief.
Moth does not edit code, run shell commands, crawl repositories, require a backend, or maintain a global bug database.
Bug-fix context is often local to a project: the command that failed, the framework in use, nearby configuration, and fixes that have already worked or failed in that repo.
Moth keeps that workflow small and explicit. It analyzes provided error context, suggests a best first fix, and records only verified fix outcomes in project-local memory.
Requires Node.js 18+.
Run directly:
Or install globally:
When using Moth with a supported AI agent, you can include a simple prompt like this along with your error:
"Use Moth to analyze this error before fixing it."
| Client | Status | Setup |
|---|---|---|
| Codex | Local plugin-ready | Setup |
| Claude Code | Local plugin-ready | Setup |
| Cursor | Plugin scaffold | Setup |
| Gemini CLI | Extension scaffold | Setup |
| Gemini Antigravity | MCP config-ready | Setup |
| OpenCode | MCP config-ready | Setup |
| Generic MCP | Config-ready | Setup |
βLocal plugin-readyβ means the integration wrapper is included and can be tested locally. Marketplace submission and approval are not included yet.
Moth exposes exactly two MCP tools.
analyze_errorAnalyzes provided error output before a fix is attempted.
Input fields:
error_outputcommand?cwd?package_context?relevant_files?environment?Output fields:
analysis_idfingerprintstacklikely_causebest_first_fixverificationprior_project_fixesavoidconfidenceremember_fix_resultRecords verified project-local fix memory.
Input fields:
analysis_idfingerprintstackfix_attemptedverification_commandverification_result: "passed" | "failed"notes?The public worked input is rejected. worked is derived from verification_result.
Call remember_fix_result only when:
passed or failedDo not call it for suggestions, skipped changes, missing verification, ambiguous results, or guesses.
Verified project-local fix memory is stored at:
Moth keeps a small Moth-owned analysis registry outside the project so remember_fix_result can map analysis_id back to the correct project path after an MCP server restart.
Moth includes concise skills for compatible agents:
moth-debug-first-fixmoth-source-backed-researchmoth-verify-fixThe MCP server itself does not perform live web research. Compatible agents may use their own search tools, guided by Moth skills, when external sources are needed.
MIT
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/stfade-moth)<a href="https://allmcps.com/mcp/stfade-moth"><img src="https://allmcps.com/api/badge/stfade-moth?style=directory" alt="Moth on AllMCPs" /></a>