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