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.1.tar.gz (6.1 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.1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: muuk_test_repair_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 6.1 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.1.tar.gz
Algorithm Hash digest
SHA256 9ffbb6b261ad5d427a1ca4501e8dcc30628dd8232d57ab945634ce814fdd3703
MD5 a78e610e82490aa47842cbb2b10c9726
BLAKE2b-256 fd5f3277797ccac8f445b46c79f0c8d2cdcef398a4ae4ea7cf1d98d775ff6bdc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for muuk_test_repair_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 802fe66bf7b5014ebb968cdbf1f5d6523f42fa33d71da7f017b9f8ae419ada17
MD5 ea0a9ee44c93231690541bc582e2368c
BLAKE2b-256 e8a6d4a4d1202591ec7c10eb912fc08edf1ec4bdc91b11b7a5876c7b0a4660b5

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