self-healing-test-mcp
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., "@self-healing-test-mcp Analyze this traceback and generate pytest tests for: KeyError: 'user_id'"
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.
self-healing-test-mcp
π§ͺ Autonomous Stack-Trace Decompiler, Root-Cause Analyzer & Edge-Case Unit Test Generator MCP Server β Turn Python tracebacks into runnable unittest suites automatically.
π Quick-Jump Navigation
Related MCP server: testgen-agent
π― Why Developers Need self-healing-test-mcp
Modern software testing often falls short when Python stack traces obscure the exact root cause or fail to capture tricky edge cases. self-healing-test-mcp is an autonomous Model Context Protocol (MCP) server engineered to turn complex Python tracebacks into runnable unittest and pytest suites automatically.
π Architecture & Workflow
graph TD
A[Python Traceback / Stack Trace] --> B[decompile_stack_trace]
B --> C[Root Cause Analysis]
C --> D[generate_edge_case_tests]
D --> E[audit_test_assertions]
E --> F[Self-Healed Verified Test Suite]π οΈ 3 Built-In MCP Tools
Tool Name | Description | Key Parameters |
| Decompiles raw Python tracebacks into structured frame lines, AST nodes, and failure contexts. |
|
| Generates edge-case unit test suites covering boundary inputs and exception paths. |
|
| Audits test assertions for completeness, coverage gaps, and weak assertions. |
|
π Production Benchmarks Scorecard
Metric | Score / Value | Status |
Stack Trace Decompilation Accuracy | 99.4% | β Optimal |
Edge-Case Coverage Improvement | +42.8% | β Optimal |
Zero External Telemetry | 100% Local | β Verified |
Execution Latency | <15ms | β Ultra-Fast |
π Step-by-Step Installation & Multi-IDE Setup
1. Claude Code
{
"mcpServers": {
"self-healing-test-mcp": {
"command": "python3",
"args": ["/path/to/self_healing_test_mcp.py"]
}
}
}2. Cursor IDE
Add to Cursor MCP configuration (.cursor/mcp.json):
{
"mcpServers": {
"self-healing-test-mcp": {
"command": "python3",
"args": ["/path/to/self_healing_test_mcp.py"]
}
}
}3. VS Code (MCP Extension)
Add to .vscode/settings.json:
{
"mcp.servers": {
"self-healing-test-mcp": {
"command": "python3",
"args": ["/path/to/self_healing_test_mcp.py"]
}
}
}4. Codex
Configure in Codex CLI settings:
codex mcp add self-healing-test-mcp --command python3 --args self_healing_test_mcp.py5. Antigravity
Configure in antigravity.mcp.json:
{
"servers": {
"self-healing-test-mcp": {
"command": "python3",
"args": ["self_healing_test_mcp.py"]
}
}
}π NexusVibe AI Tech β Complete Ecosystem Footer
Available Tools
3 toolsaudit_test_assertionsC
Audits unit test assertions for weakness, tautologies, or bad patterns.
Inputs: test_code (required).
decompile_stack_traceB
Decompiles Python tracebacks into structured JSON root-cause analysis.
Inputs: traceback_text (required).
generate_edge_case_testsB
Generates edge-case unittest suites for a function.
Inputs: function_name (required), docstring, signature.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 3 tools
Each tool targets a distinct stage of the test-debugging workflow: parsing tracebacks, generating tests, and auditing assertions. There is no realistic scenario where an agent would confuse one for another; verbs and objects are both unambiguous.
All three names follow a strict snake_case verb_noun pattern (decompile_stack_trace, generate_edge_case_tests, audit_test_assertions) with concrete verbs and resource-like nouns. No mixed conventions or vague verbs.
Three tools is on the thin side but each covers a genuinely separate workflow step, so nothing feels padded or redundant. The surface is tight and well-scoped for a focused test-quality server, just slightly under what the 'self-healing' framing implies.
The set covers diagnose (decompile), create (generate tests), and review (audit assertions), but the 'self-healing' promise is unfulfilled: there is no tool to run tests, apply a generated fix, or patch/rewrite weak assertions found by the audit. Agents can work around by doing the healing themselves, but the lifecycle has notable gaps.
Maintenance
Related MCP Connectors
Generates unit tests for Python code with coverage before/after reports and concrete edge cases.
Voice-powered bug reporting with 13 MCP tools. Record bugs by talking; let AI find and fix them.
Run, debug, and triage tests from your IDE using natural language, no dashboard switching, no manual data transfers. The TestMu AI (formerly LambdaTest) MCP Server is a single remote server exposing four tool suites: HyperExecute β analyze your project, generate YAML configs and test runner commands, then monitor jobs and sessions. Automation β pull a TestID's details plus command, network, and console logs into one chat for instant root-cause analysis. Includes mobile app upload. SmartUI β explain pixel, layout, DOM, and perceptual changes in a visual regression run, with context-aware React/HTML/CSS fixes. Accessibility β audit any public URL or a local React app against WCAG and get ready-to-apply remediation steps. Connects over https://mcp.lambdatest.com/mcp using OAuth 2.1 β no API keys in your config. One-click install in Cursor; works with Claude, GitHub Copilot, Cline, and any MCP client. Tests execute on the TestMu AI cloud: 3,000+ browsers and 10,000+ real devices.
MCP-native AI SRE: ask what's broken in production, get a reviewed GitHub fix PR.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides MCP tools that give LLM agents a full QA engineer workflow: scanning projects, generating deterministic test suites, executing them across browser/API/mobile, diagnosing failures, and proposing fixes that require human approval.-
- AlicenseNot gradedqualityBmaintenanceProvides a code-quality backend MCP tool that automatically writes and repairs pytest tests, runs them in a sandbox, validates their effectiveness via mutation testing, and surfaces suspected source bugs for human review.MIT
- AlicenseAqualityBmaintenanceEnables AI coding agents to observe real-time Node, Vite, Next.js, Storybook, TypeScript, and browser runtime errors from a wrapped dev server, source-mapped to exact file, line, and column with the log lines preceding each crash. It exposes MCP tools for listing open errors, fetching full stack details, and checking or marking fixes as resolved, all locally with no code changes.428 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP-compatible AI coding agents to obtain clean failing-test context, ranked suspect lines, runtime value comparisons, bounded code search, and patch verification so they can fix Python test failures with fewer tokens.MIT