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).

Requirements

  • Python 3.10+
  • uv

Configuration

VS Code / GitHub Copilot

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

{
  "inputs": [
    {
      "id": "muuk_key",
      "type": "promptString",
      "description": "Muuk Key available at MuukTest account",
      "password": true
    }
  ],
  "servers": {
    "muuk-test-repair": {
      "command": "uvx",
      "args": ["muuk-test-repair-mcp"],
      "env": {
        "MUUK_KEY": "${input:muuk_key}",
      }
    }
  }
}

Claude Desktop

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

{
  "mcpServers": {
    "muuk-test-repair": {
      "command": "uvx",
      "args": ["muuk-test-repair-mcp"],
      "env": {
        "MUUK_KEY": "your-api-key",
      }
    }
  }
}

Usage

Ask your AI agent:

Analyze the test failure in my project.
The test file is in ./test-files/ and failure data is in ./failure-data/

Required Parameters

Parameter Description
workspace_path Absolute path to project root (agent provides this automatically)
test_file_path Path to test file or directory
failure_info_path Path to failure info JSON
dom_elements_path Path to DOM elements JSON
screenshot_path Path to failure screenshot

Environment Variables

Variable Description
MUUK_KEY Your MuukTest key

Available AI Presets

  • claude (default)
  • openai
  • gemini

Troubleshooting

"The command uvx needed to run muuk-test-repair was not found"

VS Code can't find uvx in the PATH. Run in terminal:

which uvx

Then add the path to your shell profile (~/.zshrc or ~/.bashrc):

export PATH="$PATH:/path/from/which/uvx"

Restart VS Code after making changes.

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.6.tar.gz (5.9 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.6-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for muuk_test_repair_mcp-0.1.6.tar.gz
Algorithm Hash digest
SHA256 f740af9ae411edb343e80aed5314041126359b04a4468fa8a9de6e932c4213f4
MD5 9deb34cf047eb48ce8aa6c142833ddd3
BLAKE2b-256 d18ab0b335d466f124c8e9a38addd76752b0bcd8e7573fda299c70373fda79c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for muuk_test_repair_mcp-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8543943b0b28192ca73a1c7eb27b079a229e1f02e77cdb56a22aed3025797d78
MD5 821aad9f9a7a86385ae0749def3491a4
BLAKE2b-256 0a040d6813e1d5ad76a610b8add317f359006a7c03d44403047902e5880cb906

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