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.7.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.7-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: muuk_test_repair_mcp-0.1.7.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.7.tar.gz
Algorithm Hash digest
SHA256 5699660adf14f1fecd45b5509a9b691ad94cd3a8246054869d97fefa50a55992
MD5 c6a6ea7287e2d99c3f3fca69ce849c07
BLAKE2b-256 6ea8a8a180ddf96b9df289f4ce0217d79af152b4c51a4d03feef527efa7075f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for muuk_test_repair_mcp-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d382fa0cdd869dbe9056e8cb942f38a70c52644f6510250ec52df3301ae924ff
MD5 0490375a7c6c0a2f87bd0cfea78795fb
BLAKE2b-256 3c1b7d088db4aaed993e74887ac486ba6dbc09b9ec75b134a890b651715e3d01

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