Skip to main content

MCP server for analyzing and repairing E2E test failures

Project description

MuukTest Repair MCP

MCP server for analyzing and repairing E2E test failures (Playwright, Cypress, Selenium, etc).

Installation

pip install muuk-test-repair-mcp

Configuration

VS Code / GitHub Copilot

Open User MCP Configuration (Cmd+Shift+P → "MCP: Open User Configuration"):

{
  "inputs": [
    {
      "type": "promptString",
      "id": "muuk_api_key",
      "description": "MuukTest API Key",
      "password": true
    }
  ],
  "servers": {
    "muuk-test-repair": {
      "command": "muuk-test-repair-mcp",
      "env": {
        "MUUK_API_KEY": "${input:muuk_api_key}"
      }
    }
  }
}

Claude Desktop

Edit ~/.config/claude/claude_desktop_config.json:

{
  "mcpServers": {
    "muuk-test-repair": {
      "command": "muuk-test-repair-mcp",
      "env": {
        "MUUK_API_KEY": "your-api-key"
      }
    }
  }
}

Cursor

Similar to VS Code configuration.

Usage

Ask your AI agent:

Analyze the test failure with:
- test_file_path: ./tests/login.spec.ts
- failure_info_path: ./failure-data/failure_info.json
- dom_elements_path: ./failure-data/dom_elements.json
- screenshot_path: ./failure-data/screenshot.png

Or more naturally:

Analyze the test failure in ./failure-data/

Required Files

File Description
Test file (.ts/.js/.py) The test that failed
failure_info.json Error details and stack trace
dom_elements.json DOM state at failure
screenshot.png Screenshot of the failure

Available AI Presets

  • claude (default)
  • openai
  • gemini
  • deepseek
  • mistral

API Key

Request your MUUK_API_KEY from MuukTest.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

muuk_test_repair_mcp-0.1.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

muuk_test_repair_mcp-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file muuk_test_repair_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: muuk_test_repair_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for muuk_test_repair_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 76228fa46e0eaa5d23ca4d148e1367fd194f9c40c407ae29a6087092e1496a28
MD5 7615dd3fc9242a2462f4693723d7554e
BLAKE2b-256 55ad166a11c0d83e1f221af49ea0fa746fcc9c64510592c456397821bb81c785

See more details on using hashes here.

File details

Details for the file muuk_test_repair_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for muuk_test_repair_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e790b31f021e85559bff6121c2b55882c29505737c5b5572d4d2c2e49abf70c6
MD5 ba82623da35e29cf8548e20031056024
BLAKE2b-256 92f64e4db3b12501f7489019adbc8e5391d4c9028fda667372e29de7286dd4b3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page