stfade/moth
by Various
A debugging workflow plugin for AI coding agents. Turns terminal failures into source-backed fixes via MCP and structured skills.
MCP
stfade/moth
Added 1 June 2026
Overview
A debugging workflow plugin for AI coding agents that captures terminal failures and applies structured skills via MCP to generate source-backed fixes. It integrates into agent toolchains to automate recovery from build, test, and runtime errors.
Best for
Best for
Developers using AI coding agents who want automated error recovery from terminal logs
Use cases
- Automatically fixing compile errors in agent-driven development
- Resolving test failures from terminal output in CI workflows
- Recovering from runtime exceptions during code generation sessions
How to use
Install
npm install -g @stfade/moth && moth-mcp Tools exposed
analyze_errorremember_fix_result
Tested with
Codex, Claude Code, Cursor, Gemini CLI, Gemini Antigravity, OpenCode, Generic MCP
Example client config
{\n "mcpServers": {\n "moth": {\n "command": "npx",\n "args": ["-y", "@stfade/moth", "moth-mcp"]\n }\n }\n} Notes
A debugging workflow plugin for AI coding agents that captures terminal failures and applies structured skills via MCP to generate source-backed fixes. It integrates into agent toolchains to automate recovery from build, test, and runtime errors.
1 stars on GitHub. Last updated 2026-05-04. Licensed MIT.
Use cases
- Automatically fixing compile errors in agent-driven development
- Resolving test failures from terminal output in CI workflows
- Recovering from runtime exceptions during code generation sessions
Pros
- Translates terminal errors directly into source-backed fixes
- Leverages MCP for standardized agent-to-tool communication
- Reduces manual debugging iteration for agent developers
Cons
- Very early stage with only 1 GitHub star, limited community validation
- Requires MCP-compatible terminals and agent frameworks
- Error coverage may be sparse for niche languages or complex failures
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Translates terminal errors directly into source-backed fixes
- Leverages MCP for standardized agent-to-tool communication
- Reduces manual debugging iteration for agent developers
Cons
- Very early stage with only 1 GitHub star, limited community validation
- Requires MCP-compatible terminals and agent frameworks
- Error coverage may be sparse for niche languages or complex failures
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
idosal/git-mcp
Various
Put an end to code hallucinations! GitMCP is a free, open-source, remote MCP server for any GitHub project
oraios/serena
Various
A powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.
