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": [
    {
      "type": "promptString",
      "id": "muuk_api_key",
      "description": "MuukTest API Key",
      "password": true
    },
    {
      "type": "promptString",
      "id": "aws_access_key",
      "description": "AWS Access Key ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "aws_secret_key",
      "description": "AWS Secret Access Key",
      "password": true
    }
  ],
  "servers": {
    "muuk-test-repair": {
      "command": "uvx",
      "args": ["muuk-test-repair-mcp"],
      "env": {
        "MUUK_API_KEY": "${input:muuk_api_key}",
        "AWS_ACCESS_KEY_ID": "${input:aws_access_key}",
        "AWS_SECRET_ACCESS_KEY": "${input:aws_secret_key}"
      }
    }
  }
}

Claude Desktop

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

{
  "mcpServers": {
    "muuk-test-repair": {
      "command": "uvx",
      "args": ["muuk-test-repair-mcp"],
      "env": {
        "MUUK_API_KEY": "your-api-key",
        "AWS_ACCESS_KEY_ID": "your-aws-access-key",
        "AWS_SECRET_ACCESS_KEY": "your-aws-secret-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_API_KEY Your MuukTest API key
AWS_ACCESS_KEY_ID AWS access key for API authentication
AWS_SECRET_ACCESS_KEY AWS secret key for API authentication
AWS_REGION AWS region (default: us-east-2)

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.

API Key

Request your credentials from R&D Team.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: muuk_test_repair_mcp-0.1.5.tar.gz
  • Upload date:
  • Size: 6.2 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.5.tar.gz
Algorithm Hash digest
SHA256 183c2d7200edf94509da77dd52f2884670eedae0194d3153477fb93f00de3245
MD5 538c20a06a18b85c5586df39714dd289
BLAKE2b-256 e2bc78887a078dd6deed8cbb0b282c1df30770e0a02726d782914f4529d76683

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for muuk_test_repair_mcp-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 fb9f8e82ee3ed570d1261cd17a602935357fa3d4a4498e58e5e63a930847d237
MD5 4c14ea33eb60143a9969569af6b72ac4
BLAKE2b-256 fd0b38d0f4207d34a5d5c623f98cec70eae9701cb17084b6302d84cbc6b2bc8b

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