MCP server for WeChat Mini Program debugging and automation, enabling agents to perform UI operations, screenshots, and regression testing through natural language commands.
Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.
Install from
M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.
process.env. You'll be asked to provide them before it can run.WEAPP_AUTOCLOSE— 设置为 true 时,每次工具调用后关闭开发者工具会话。WEAPP_AUTOLAUNCH— 默认流程无需 agent 手动执行 CLI:直接调用 mp_ensureConnection,本地端口未监听且允许 AutoLaunch 时,server 会自行执行 cli auto。下面的命令只用于人工排障,或显式设置 =false 后由用户自行预启动开发者工具。WEAPP_AUTOMATOR_MODE— 强制使用 launch 或 connect 模式。除非提供了 WEAPP_WS_ENDPOINT,否则默认为 launch。WEAPP_AUTO_ACCOUNT— 传递给 --auto-account 用于自动登录。WEAPP_CONNECT_TIMEOUT— 连接超时时间(毫秒,默认 45000)WEAPP_DEVTOOLS_ARGS— 启动时的额外 CLI 参数(空格分隔)。WEAPP_DEVTOOLS_CWD— 传递给开发者工具进程的工作目录。WEAPP_DEVTOOLS_PORT— launch 模式下传给 cli auto --auto-port 的自动化端口。不会在失败后自动切到其他端口。WEAPP_DEVTOOLS_TICKET— 启动时传递给 --ticket。WEAPP_DEVTOOLS_TIMEOUT— 启动超时时间(毫秒,默认 30000)。WEAPP_LAUNCH_TIMEOUT— 启动超时时间(毫秒,默认 45000)WEAPP_PROJECT_PATH— 小程序项目路径(可选)WEAPP_TRUST_PROJECT— 设置为 true 以在启动时包含 --trust-project。WEAPP_WS_ENDPOINT— "": "ws://localhost:9420"WECHAT_DEVTOOLS_CLI_PATH— 微信开发者工具 CLI 路径(如果默认路径有效则可选)。[](https://m8ven.ai/mcp/chaixueyuan-weapp-agent-mcp-1wbx4k)