@muggleai/works

data-ai MCP Server

Your AI coding agent writes code fast — we make sure the web product actually works. Paste a URL, the agent clicks through signup/checkout/dashboards like a real user, reports failures with screenshots. Currently web only. Works with Claude Code, Cursor, Codex, Windsurf.

VerifiedInstall Ready
data-aidata-ai
3 views25 stars3 forksv4.12.4MIT

Why This Matters

Discovered via github-topic:mcp and last synced 3mo ago.

VerifiedInstall Ready
Source
github-topic:mcp
Stars
25
Last synced
3mo ago
Install
Instructions detected

Install

1. Install the package

npx @muggleai/works

2. Add to claude_desktop_config.json

{
  "mcpServers": {
    "-muggleai-works": {
      "command": "npx",
      "args": [
        "@muggleai/works"
      ]
    }
  }
}

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) / %APPDATA%\Claude\claude_desktop_config.json (Windows)

51
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (51)

muggle-remote-auth-login

Start device-code login flow

muggle-remote-project-update

Update project

muggle-remote-use-case-update-from-prompt

Regenerate from new prompt

muggle-remote-project-create

Create E2E acceptance test project

muggle-remote-use-case-create

Persist a fully-specified use case (no LLM)

muggle-remote-test-case-list-by-use-case

List by use case

muggle-remote-bulk-preview-job-list

List bulk-preview jobs for a project

muggle-remote-workflow-start-test-script-generation

Generate scripts

muggle-local-cancel-execution

Cancel active execution

muggle-remote-report-final-generate

Generate final report (PDF/HTML/Markdown)

muggle-remote-auth-status

Check authentication status

muggle-remote-project-get

Get project details

muggle-remote-use-case-prompt-preview

Preview before creating

muggle-remote-test-case-create

Create test case

muggle-remote-workflow-start-test-script-replay-bulk

Batch replay

muggle-local-run-result-get

Get detailed results + screenshots

Category

Tools

What

File

muggle-remote-auth-logout

Clear credentials

muggle-remote-workflow-start-website-scan

Scan site for use cases

muggle-local-execute-test-generation

Generate test script locally

muggle-remote-report-stats-summary-get

Report statistics

Platform

MCP Tools

muggle-remote-workflow-start-test-script-replay

Replay single script

Tool

Purpose

muggle-remote-project-list

List all projects

muggle-remote-use-case-create-from-prompts

Create from natural language

muggle-remote-test-case-get

Get test case details

muggle-remote-bulk-preview-job-cancel

Cooperatively cancel an in-flight job

muggle-local-run-result-list

List run results

muggle-remote-auth-poll

Poll for login completion

muggle-remote-project-delete

Delete project

muggle-remote-use-case-bulk-preview-submit

Async batch-preview via OpenAI Batch API (~50% cheaper)

muggle-remote-use-case-list

List use cases

muggle-remote-test-case-list

List all test cases

muggle-remote-bulk-preview-job-get

Poll a bulk-preview job for status/results

muggle-remote-workflow-start-test-case-detection

Generate test cases

muggle-local-execute-replay

Replay existing script locally

muggle-remote-report-cost-query

Query cost/usage

Yes

Yes (do, test-feature-local, status, repair, upgrade)

muggle-remote-test-script-list

List test scripts

muggle-local-publish-test-script

Publish script to cloud, returns `viewUrl`

Scheduling

`muggle-remote-recommend-*` — get CI/CD and schedule recommendations

muggle-remote-test-case-bulk-preview-submit

Async batch-preview via OpenAI Batch API (~50% cheaper)

muggle-remote-test-script-get

Get script details

muggle-local-check-status

Check local browser test runner status

Package

Purpose

muggle-remote-project-test-results-summary-get

Test results summary

Trigger

Description

No

--- Troubleshooting ### "unauthorized_client" during login **Cause**: MCP configured for one environment but authenticating against another. **Fix**: Set the correct `MUGGLE_MCP_PROMPT_SERVICE_TARGET` in your MCP config and restart your client. ### Browser test runner not found ```bash muggle setup --force # Re-download muggle doctor # Diagnose ``` ### Authentication keeps expiring ```bash muggle logout # Clear all credentials rm ~/.muggle-ai/oauth-session.json ~/.muggle-ai/api-key.json muggle login # Fresh login ``` --- ## About Built by the team behind [MuggleTest](https://www.muggletest.com) — [AI-powered E2E acceptance testing](https://www.muggletest.com) for teams who ship fast. Repository structure ``` muggle-ai-works/ ├── plugin/ # Claude Code plugin (source of truth) │ ├── .claude-plugin/ # Plugin manifest (plugin.json) │ ├── skills/ # Skill definitions │ │ ├── muggle/ # /muggle:muggle — command router and menu │ │ ├── muggle-do/ # /muggle:muggle-do — autonomous dev pipeline │ │ ├── muggle-test-feature-local/ # /muggle:muggle-test-feature-local │ │ ├── muggle-test-regenerate-missing/# /muggle:muggle-test-regenerate-missing │ │ ├── muggle-status/ # /muggle:muggle-status │ │ ├── muggle-repair/ # /muggle:muggle-repair │ │ └── muggle-upgrade/ # /muggle:muggle-upgrade │ ├── hooks/ # Session hooks (hooks.json) │ ├── scripts/ # Hook scripts (ensure-electron-app.sh) │ ├── .mcp.json # MCP server config │ └── README.md # Plugin install and usage docs │ ├── src/ # Application source │ ├── cli/ # CLI commands (serve, setup, doctor, login, etc.) │ └── server/ # MCP server (tool registration, stdio transport) │ ├── packages/ # Workspace packages │ ├── mcps/ # Core MCP runtime — tool registries, schemas, services │ ├── commands/ # CLI command contracts and registration │ └── workflows/ # Workflow contracts and tests │ ├── scripts/ # Build and release │ ├── build-plugin.mjs # Assembles dist/plugin/ from plugin/ source │ ├── verify-plugin-marketplace.mjs # Validates plugin/marketplace consistency │ ├── verify-compatibility-contracts.mjs # Validates long-term surface contracts │ ├── verify-upgrade-experience.mjs # Validates in-place upgrade behavior │ └── postinstall.mjs # npm postinstall (Electron app download, Cursor MCP config, skills sync) │ ├── config/compatibility/ # Contract baselines (CLI/MCP/plugin/skills) ├── bin/ # CLI entrypoint (muggle.js → dist/cli.js) ├── dist/ # Build output (gitignored) ├── .claude-plugin/ # Marketplace catalog (marketplace.json) └── docs/ # Internal design docs and plans ``` Development commands ```bash pnpm install # Install dependencies pnpm run build # Build (tsup + plugin artifact) pnpm run build:plugin # Rebuild plugin artifact only pnpm run verify:plugin # Validate plugin/marketplace metadata consistency pnpm run verify:contracts # Validate compatibility contracts (CLI/MCP/plugin/skills) pnpm run verify:electron-release-checksums # Ensure checksums.txt exists for bundled electron release pnpm run verify:upgrade-experience # Validate existing-user cleanup + re-download flow pnpm run dev # Dev mode (watch) pnpm test # Run tests pnpm run lint # Lint (auto-fix) pnpm run lint:check # Lint (check only) pnpm run typecheck # TypeScript type check ``` CI/CD and publishing

muggle-remote-test-case-generate-from-prompt

Generate from prompt