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 is an acceptance test agent for coding agents. It drives a real browser through affected user flows and opens pull requests with screenshots attached. It suits developers who want changes checked before merge, and people who vibe-code and cannot judge a diff by reading it.

  • Score 89
  • 15 stars
  • 9.4k 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 harness for AI coding agents. It freezes requirements, builds the change, runs the unit suite, and drives a real browser through the affected user flows. It then opens a pull request with screenshots attached and keeps watching that PR for review comments, failing CI, and a base branch that has fallen behind.

It works with GitHub and GitLab, including self-hosted GitLab, and runs in Claude Code, Cursor, Codex, Windsurf, and other MCP clients. Developers can use it as a gated workflow where no PR opens until the checks pass or a waiver is written down. People who vibe-code can use it to check features they cannot easily judge from the diff.

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

Tools it gives your assistant

  • /mdoRuns requirements, design, build, unit tests, browser acceptance and the PR in one request.
  • /mtestRuns change-driven acceptance testing on a diff, PR, or branch.
  • /mtestlocalTests one named flow against localhost.
  • /mbtPerforms a real action on a website from a plain English description.
  • /mprPosts screenshots and a pass or fail summary to a pull request.
  • /mprfollowupWatches a PR's reviews, CI, and base branch drift and re-enters the cycle.
  • /mimportImports Playwright, Cypress, Gherkin, or PRD sources as tests.
  • /mrunViews a local run's steps and frames.
  • /mciAdds the walkthrough check to GitHub Actions.

What you need

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

Try asking

  • /mdo "Add a logout button to the header"
  • /mtestlocal on the checkout flow
  • Watch PR 42 for review comments and failing CI

Good to know

  • Browser tests run against live sites, so results can vary between runs.
  • Benchmark results show a run-to-run spread of about 2 to 3 points.
  • The first protected call opens a browser for sign-in.

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 it test in a real browser?

Yes. The source says it drives a real browser, not a headless stub, under a managed login profile with a live inbox.

Does it work with GitLab?

Yes. It supports GitHub and GitLab, including self-hosted GitLab, with the provider detected from the remote.

When does it open a pull request?

Only after requirements, build, unit tests, and a browser verdict are recorded, or a waiver reason is written down.

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 89 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.