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.
Install Muggle Works
Built from the published package, never by AI.
claude mcp add muggle-works -- npx -y @muggleai/worksRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"muggle-works": {
"args": [
"-y",
"@muggleai/works"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"muggle-works": {
"args": [
"-y",
"@muggleai/works"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"muggle-works": {
"args": [
"-y",
"@muggleai/works"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add muggle-works -- npx -y @muggleai/works{
"mcpServers": {
"muggle-works": {
"args": [
"-y",
"@muggleai/works"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add muggle-works npx -y @muggleai/worksGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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 →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
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.
