Playwright-grade headless E2E runtime, UX matrix & 13-tool MCP server for WeChat Mini Programs.
MCPpedia last refreshed this data
io.github.Wangjian-damon/mp-headless-runtime is an MCP server that playwright-grade headless E2E runtime, UX matrix & 13-tool MCP server for WeChat Mini Programs. Its tool list has not been published yet over stdio, sse and http, requires no API key, and scores 60/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"miniprogram": {
"args": [
"-y",
"mp-headless-mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
微信小程序界的 Playwright + AI MCP 闭环验证引擎:免微信开发者工具、免扫码养肉鸡,Linux / macOS / Windows CI 直跑原生 / Taro / UniApp 真实编译产物,自带多端暗黑/大字 UX 矩阵、交互式 Report 3.0(流转图 / 三泳道瀑布图 / 路由覆盖率 / CPU 热点剖析)与全链路零明文脱敏。
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
npx -y 'mp-headless-runtime' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked mp-headless-runtime against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in browser
Search-first MCP server for JavaScript reverse engineering: 736 tools across 36 domains.
Extract data from any website with thousands of scrapers, crawlers, and automations on Apify Store ⚡
Search, scrape, and crawl the web, plus Firecrawl Alexandria, our library of everything else.
Open-source web scraper for AI agents with scrape, crawl, and map tools
MCP Security Weekly
Get CVE alerts and security updates for io.github.Wangjian-damon/mp-headless-runtime and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
mp-headless-runtime微信小程序界的 Playwright + AI MCP 闭环验证引擎:免微信开发者工具、免扫码养肉鸡,Linux / macOS / Windows CI 直跑原生 / Taro / UniApp 真实编译产物,自带多端暗黑/大字 UX 矩阵、交互式 Report 3.0(流转图 / 三泳道瀑布图 / 路由覆盖率 / CPU 热点剖析)与全链路零明文脱敏。
简体中文 | English · 在线交互 Demo · 示例工程 (examples/) · 更新日志 · 交流讨论区
立即点开真实 CI 跑出的在线交互报告(免安装):
# 1) 30 秒零配置上手(免预装,推荐 Node 22 LTS 或 Node 24 LTS)
npx mp-headless-runtime init
# 2) 一键给 Cursor / Claude Code / Codex 装上 13 工具微信小程序 MCP
# 在 MCP 配置中添加:
# { "mcpServers": { "mp-headless": { "command": "npx", "args": ["-y", "mp-headless-runtime", "mcp"] } } }
为什么需要它?
- 对前端与测试团队:微信开发者工具没有 Linux 版、CI 自动化得养肉鸡且扫码登录态动辄掉线、官方
miniprogram-automator跑近百条用例要近半小时;mp-headless-runtime让你在 Linux CI 里 5 分钟跑完 98 条用例(提速 5.4 倍),并输出带点击落点、状态 Diff 和大字模式溢出标注的交互式审批报告。- 对 AI Coding 玩家(Cursor / Claude Code / Codex):Web 有 Playwright MCP,而 AI 写完小程序代码一直「看不见、点不了」;一行
npx -y mp-headless-mcp给 AI 装上「小程序眼睛」,让它自己无头渲染、自己点按钮、自己看截图和 UX 审计并自动修复。
mp-headless-runtime直接以只读方式运行你自有工程的真实编译产物(原生微信小程序、Taro 3/4dist/weapp、UniApp Vue 2/3dist/build/mp-weixin),数秒覆盖约 90% 常规与洁净室桥接路由,并通过--provider hybrid将严格原生 / Skyline 路由自动分流至微信官方开发者工具(miniprogram-automator),与真机发版复验形成互补。
| 对比维度 | 官方 miniprogram-automator | mp-headless-runtime |
|---|---|---|
| 运行环境与登录态 | 依赖微信开发者工具 GUI + 扫码登录(CI 需养肉鸡且会掉线) | 免开发者工具、免登录 — Linux / macOS / Windows CI 纯命令行直跑 |
| 实测回归速度 | 约 28 分 22 秒(真实 98 用例 Taro + Vue 3 工程) | 5 分 12 秒(提速 5.4 倍),支持多核并发池与 CI 分片 |
| 首次上手成本 | 需手工配 CLI 端口、登录与用例脚手架 | npx mp-headless init — 30 秒自动识别项目、出 UX 报告与 .spec.ts |
| 生态与组件库 | 官方模拟器 | 实测通过 原生 / Taro 3&4 / UniApp Vue 2&3 + @vant/weapp、tdesign-miniprogram、weui-miniprogram(0 wx.* 缺口) |
| 多端与体验审计 | 单一模拟器视口 | 4 端矩阵同屏对比(iPhone SE / 15 Pro / 暗黑 / 22px 微信关怀大字版)+ UX 体验评分卡 |
| AI 编程闭环 | 需人工切窗口查看结果 | 内置 13 工具 MCP Server(npx -y mp-headless-mcp,含实时 mp_ux_audit 与精简 ai-summary.json),让 Cursor / Claude Code 自己看截图、查 UX、修 Bug |
| 企业安全与内网 | 需手工清洗日志 | 全链路 0 明文自动脱敏 + SHA-256 防篡改 seal.json 门禁 + 纯离线内网 .zip 包 |
| 严格原生 / Skyline | 官方模拟器 / 真机 | --provider hybrid 自动将严格原生/支付/Skyline 路由分流回官方工具 |
在无微信开发者工具、零源码篡改(artifactBefore.sha256 === artifactAfter.sha256)前提下,端到端跑通 *Taro 4.2(taroify/taroify)