Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Muggle Works

MCP server by multiplex-ai Community

Muggle Works runs acceptance tests for coding agents in a real browser and attaches screenshots to the pull request. It is for developers who want a gate that checks whether a change works before a human merges it.

  • Score 86
  • 15 stars
  • 3.7k a week
  • Apache-2.0
  • Updated

Install Muggle Works

Built from the published package, never by AI.

claude mcp add muggle-works -- npx -y @muggleai/works

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Muggle Works in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the muggle-works block.

About

Muggle Works is an acceptance test agent for coding agents. It freezes requirements, delegates design and build, runs the unit suite, and drives a real browser through the affected user flows. It then opens a pull request with screenshots attached. Each run passes through requirements, design, build, impact analysis, unit tests, browser acceptance, and the pull request, and a gate blocks the PR until checks pass or a waiver reason is written.

A watcher keeps polling the PR for review comments, red CI, and base-branch drift, and re-enters the cycle on each. It works with GitHub and GitLab, including self-hosted GitLab. It suits developers who want evidence-backed merges, and people who vibe-code and need to verify features without reading the diff.

Written from the project's README and checked against it.

Tools it gives your assistant

  • One request to pull requestRuns requirements, design, build, unit tests, browser acceptance, and the PR from one request.
  • Real browser acceptance testsDrives a real browser through the user flows a change can affect, with per-step screenshots.
  • Screenshots on the PRPosts a walkthrough comment with the run's evidence and pass or fail summary on the pull request.
  • PR watcherPolls reviews, CI, and base-branch drift, and re-enters the cycle when any of them need action.
  • GitHub and GitLab supportHandles pull requests and merge requests, review threads, Actions and pipelines, including self-hosted GitLab.
  • Replayable scriptsTurns a plain English flow description into a script that persists and re-runs as a regression test.
  • Login profiles with a live inboxLets browser tests cover magic links, emailed OTPs, email 2FA, and password resets.

What you need

  • Node.js, installed with the npm package @muggleai/works
  • A supported MCP client such as Claude Code, Cursor, Codex, or Windsurf
  • gh for GitHub or glab for GitLab
  • A Muggle AI sign-in, completed on the first protected call

Try asking

  • /mdo "Add a logout button to the header"
  • Test the checkout flow on localhost:3000 in a real browser
  • Watch PR 42 for review comments and red CI

Good to know

  • Repair loops stop after up to 3 iterations.
  • The PR walkthrough check depends on the session running the plugin, or on the GitHub Actions workflow.
  • Authentication runs in a browser on the first protected call.

Security check

B
  • Runs a script automatically when the package is installedIn package.json: "postinstall":

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Muggle Works

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Muggle Works: common questions

Does Muggle Works use a real browser?

Yes. The source says it drives a real browser under a real identity, not a headless stub.

Does it work with GitLab as well as GitHub?

Yes. The source says GitHub and GitLab are supported as peers, and self-hosted GitLab is detected from the git remote.

Where are sign-in credentials stored?

Authentication starts on the first protected call, when a browser opens with a verification code. The source says credentials persist in ~/.muggle-ai/.

How do I install Muggle Works?

In Claude Code run claude mcp add muggle-works -- npx -y @muggleai/works. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Muggle Works the official server?

Muggle Works is a community project by multiplex-ai, not verified by a company domain.

Is Muggle Works free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is Muggle Works safe to use?

It scores 86 of 100. Grades: maintenance A, licence A, quality C. Security check: grade B (runs a script automatically when the package is installed). Review the code before you install. How grades work.

What are alternatives to Muggle Works?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does Muggle Works work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Muggle Works Install

Add to stack

Loading.