Test Genie logo

Test Genie

Analyzes app projects, runs tests, proposes fixes, and can apply guarded repairs across mobile, cross-platform, and web apps.

Install Test Genie

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "test-genie": {
      "command": "npx",
      "args": [
        "test-genie-mcp"
      ],
      "env": {
        "TEST_GENIE_ALLOWED_ROOT": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 23 tools correctly (20d ago).

Overview

The test-genie MCP server analyzes iOS, Android, Flutter, React Native, and web projects for memory leaks, logic errors, race conditions, security issues, and performance problems. It exposes MCP tools for project analysis, scenario generation, testing, fix suggestions, reporting, and iterative repair. The server can back up files, validate patches, rerun affected tests, and roll back changes after regressions in its iterative fix loop. Reach for it when you want an agent to diagnose application issues and verify or apply fixes from a local project.

Use cases

  • Diagnose a local React Native project for prioritized defects
  • Run iterative tests and roll back fixes that introduce regressions
  • Detect memory leaks in Flutter or mobile application code
  • Review web and cross-platform projects for security issues
  • Generate test scenarios and reports for an application

Key features

  • Analyzes iOS, Android, Flutter, React Native, and web projects
  • Detects memory leaks, logic errors, race conditions, and security issues
  • Runs scenarios, stress tests, and iterative fix workflows
  • Validates patches and backs up changed files
  • Rolls back fixes after test regressions
  • Exposes logs, test history, and applied-fix resources

Tools23

What Test Genie lets your agent do. Expand a tool for its parameters.

Verified live~2.7k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

20/21 checks healthy over the last 89d

What it can do

From the 23 tools this server returned when we ran it.

Runs commands · 3Handles credentials · 1Read-only tools · 20
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age295 days
Maintainers1

Observed 2026-10-18 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · test-genie-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads242Package downloads in the last 30 days.
Last commit17d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed23Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Test Genie works

What test-genie MCP server does

The test-genie MCP server connects an MCP client to application projects on the local machine. It supports iOS, Android, Flutter, React Native, and web codebases, with tools for inspecting project structure, generating scenarios, creating test plans, running tests, and producing reports.

Its analysis tools cover memory leaks, logic errors, race conditions, security issues, and performance concerns. The diagnose_project tool provides a prioritized project report. Findings can include severity, confidence, location, category, and a suggested remediation. The server also exposes resources for iteration logs, test history, and applied fixes.

How it works

The main repair workflow is run_iterative_fix_loop. It collects or runs tests, checks the pass rate, detects issues, proposes rule-based fixes by default, and optionally uses an LLM-based hybrid mode. Before applying a change, the workflow performs a dry run and syntax validation using an applicable compiler, the TypeScript compiler API, or a brace check.

Applied changes are backed up per file under .test-genie-backups/. The workflow reruns tests after a patch and rolls the change back if it causes a regression. It stops when the configured pass threshold is met, the iteration limit or timeout is reached, or no further progress can be made. Pending fixes can require confirmation before they are applied.

diagnose_project has a narrower autoFix path. In the documented v3.1.1 scope, it can make selected mechanical replacements such as changing weak MD5 or SHA-1 hashing to SHA-256 and replacing standalone security-sensitive Math.random() usage. That path backs up and syntax-validates changes but does not rerun tests for regression rollback.

Setup and configuration

Install the package globally with npm:

Terminal
npm install -g test-genie-mcp

Configure an MCP client to launch npx test-genie-mcp over stdio. Set TEST_GENIE_ALLOWED_ROOT to the project directory the server may access. After restarting the client, invoke tools such as diagnose_project or run_iterative_fix_loop with the project path and the desired options, including whether fixes may be applied automatically.

Tools and capabilities

The test-genie MCP server provides 23 tools, including:

  • analyze_app_structure, generate_scenarios, and create_test_plan
  • run_scenario_test, run_simulation, and run_stress_test
  • detect_memory_leaks, detect_logic_errors, detect_race_conditions, and detect_security_issues
  • suggest_fixes, confirm_fix, apply_fix, and rollback_fix
  • run_full_automation and run_iterative_fix_loop
  • diagnose_project, analyze_code_deep, and analyze_performance
  • generate_report, get_pending_fixes, get_test_history, and generate_cicd_config

It also provides four resources for logs, history, and applied-fix records, plus three prompts. Tool modes vary: some are real, some simulated, and some hybrid.

Limitations and notes

Validation depends on the project and tools available on the machine. For example, Swift syntax validation is real when swiftc is on PATH; otherwise the result is reported as downgraded validation. The iterative loop and diagnose_project auto-fix path should not be treated as equivalent: only the iterative loop reruns tests and automatically rolls back a regression.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Test Genie

test-genie is an MCP server that connects AI clients to local iOS, Android, Flutter, React Native, and web projects. Its main tools analyze project structure, generate scenarios, run tests, detect defects, suggest fixes, and execute an iterative fix loop with backups, validation, test reruns, and rollback support.

Install it with `npm install -g test-genie-mcp`. Add an MCP server entry that runs `npx test-genie-mcp`, set `TEST_GENIE_ALLOWED_ROOT` to the project directory, and restart the MCP client.

Call `diagnose_project` or `run_iterative_fix_loop` with the project path. In a configured MCP client, you can ask it to diagnose the project or run the iterate-fix loop, with options such as `autoApply` controlling whether proposed patches are applied.

The server uses an MCP stdio launch command, so compatibility depends on whether the client supports configuring standard MCP servers.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewTest Genie AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/test-genie?style=directory)](https://allmcps.com/mcp/test-genie)
HTML Embed
<a href="https://allmcps.com/mcp/test-genie"><img src="https://allmcps.com/api/badge/test-genie?style=directory" alt="Test Genie on AllMCPs" /></a>