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
    },
    {
      "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": "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": "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
  • deepseek
  • mistral

API Key

Request your credentials 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.4.tar.gz (6.7 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.4-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: muuk_test_repair_mcp-0.1.4.tar.gz
  • Upload date:
  • Size: 6.7 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.4.tar.gz
Algorithm Hash digest
SHA256 a19d21d49ef562ea17956ad1ac0df1d379cf52de84d97783f2b18f9667a703ab
MD5 c5e29a4395d5ca1c7918060151c00bc6
BLAKE2b-256 2d3971d6bf82b14665519cd93d180f2bfffae6eb00ace0b758400833a342bc78

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for muuk_test_repair_mcp-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a997bf4bd12c1852b9a2175654537ce372b0ecb581f023ebdb912d893f37bdf3
MD5 939deec1a625d533af1f323d259b7bdd
BLAKE2b-256 461d810fe8d99f049767480e874404779c5214ce7aa6e53f5aa4971db2515ea3

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