Wechat Devtools MCP server
io.github.WaterTian/wechat-devtools·v0.1.0MCP Server for WeChat DevTools CLI - Automate Mini Program development & testing.
228 downloads/wk
Reviews
Write oneNobody has reviewed Wechat Devtools yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Wechat Devtools tools (42, 3 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
wechat_auto开启小程序自动化功能。
wechat_auto_preview自动预览:文件变化时自动刷新预览。
wechat_auto_replay打开自动化测试窗口,可回放之前录制的测试用例。
wechat_build_npm构建小程序项目中的 NPM 依赖。
wechat_cache_clean清除微信开发者工具的缓存。
wechat_call_page_method调用当前页面中的指定方法(如 onPullDownRefresh、自定义业务方法等)。
wechat_call_wx_method直接调用 wx 对象上的指定方法。
wechat_capture_screenshot实时捕获当前小程序模拟器的界面截图。
wechat_close_project关闭微信开发者工具中指定的项目窗口。
wechat_cloud_env_list列出小程序关联的所有云开发环境。
wechat_cloud_func_deploywrite action上传云函数到指定的云环境。
wechat_cloud_func_download从云环境下载指定云函数到本地目录。
wechat_cloud_func_info查看指定云函数的详细信息。
wechat_cloud_func_list查看指定云环境下的线上云函数列表。
wechat_compile_check编译检查:触发编译并捕获所有错误和警告信息。
wechat_evaluate_expression在小程序逻辑层运行环境中直接执行一段 JS 表达式,并返回结果。
wechat_get_cdp_logs通过 Chromium DevTools Protocol (CDP) 采集高清日志(强烈推荐)。
wechat_get_console_logs实时采集小程序运行时的 console 日志和 JS 异常。
wechat_get_element_info获取页面元素的详细信息(文本、WXML 结构、尺寸、位置、样式)。
wechat_get_exceptions专门监听小程序运行时 JS 异常(exception 事件)。
wechat_get_page_data读取小程序当前活跃页面的 data 模型状态(响应式数据)。
wechat_get_page_stack获取当前小程序的页面栈信息,包括每个页面的路径和查询参数。
wechat_get_storage获取小程序的本地缓存数据。
wechat_get_system_info通过自动化接口获取小程序运行时的系统信息。
wechat_input_element向 input 或 textarea 元素输入文本内容。
wechat_is_login检查微信开发者工具当前是否已登录。
wechat_list_pages列出小程序中所有注册的页面,以及每个页面包含的文件。
wechat_login登录微信开发者工具,生成二维码供扫码登录。
wechat_mock_wx_method覆盖 wx 对象上指定方法的调用结果(Mock)。
wechat_navigate_and_capture跳转到指定页面,等待指定时间,捕获该时间窗口内的所有 console 日志和 JS 异常。
wechat_open打开微信开发者工具 IDE,或打开指定的小程序项目。
wechat_preview预览小程序,生成预览二维码。
wechat_preview_page快捷工具:直接预览小程序的指定页面。
wechat_project_info获取小程序项目的完整信息,包括:
wechat_quit_ide关闭整个微信开发者工具。
wechat_read_file读取小程序项目中的任意单个文件。
wechat_read_page读取指定小程序页面的全部源码文件(.wxml, .wxss, .js, .json)。
wechat_reset_fileutils重建文件监听:重置工具内部文件缓存,重新监听项目文件。
wechat_run_automation_scriptwrite action执行自定义 JS 自动化测试脚本,并捕获执行期间的所有日志和异常。
wechat_set_page_data动态设置当前页面的 data(响应式数据),无需重新编译即可热更新 UI。
wechat_tap_element通过 CSS 选择器定位页面上的元素并模拟点击(tap)。
wechat_uploadwrite action上传小程序代码到微信后台。
Public scan report
scanner v0.1.10 · 2026-09-28 · same rubric, same numbers if you re-run it
- Code scan3 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancerepository not readable: repo not found3/15
- Maintainer identityno repository or website to verify2/10
How Wechat Devtools compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 65/100
- higher than 20% of 48,243 servers
- Tools
- 42
- the typical server has 7
- Tools that change things
- 7%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 228
- more than 77% of 12,306 servers with a package
What its tools let an agent do: 39 read · 3 change
Install Wechat Devtools in Claude Code, Cursor or VS Code
claude mcp add wechat-devtools -- uvx wechat-devtools-mcp
Wechat Devtools: common questions
- Is Wechat Devtools MCP server safe?
- With care: it is graded C, so read the findings first (65/100). Read the Wechat Devtools safety report
- How do I install Wechat Devtools?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Wechat Devtools need an API key?
- No secret keys are declared. It reads 4 settings from the environment.
- Is Wechat Devtools maintained?
- The latest release is v0.1.0.
- What can I use instead of Wechat Devtools?
- Servers from other publishers that do the same job: Mobile MCP server.
- How does Wechat Devtools compare with other MCP servers?
- safety score 65/100 (higher than 20% of 48,243 servers); tools 42 (the typical server has 7); tools that change things 7% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Wechat Devtools
Same job from other publishers: the closest match first, then the best rated.
- MobileMCP server for iOS and Android Mobile Development, Automation and Testingnot reviewedWidely usedA