{"name":"io.github.WaterTian/wechat-devtools","slug":"watertian-wechat-devtools","title":null,"description":"MCP Server for WeChat DevTools CLI - Automate Mini Program development & testing.","url":"https://mcp.market/server/watertian-wechat-devtools","rating":null,"grade":"C","score":65,"certified":false,"status":"active","category":"other","tags":[],"presence":{"score":12,"stars":null,"forks":null,"downloads_week":228,"last_push_at":null,"license":"MIT"},"uptime":null,"claimed":false,"transport":"pypi","callable_via_gateway":false,"default_price_micros":0,"repository":"https://github.com/WaterTian/wechat-devtools","website":null,"version":"0.1.0","remotes":[],"packages":[{"registryType":"pypi","identifier":"wechat-devtools-mcp","version":"0.1.0","runtimeHint":"uvx","transport":{"type":"stdio"},"environmentVariables":[{"description":"微信开发者工具 CLI 路径","isRequired":true,"name":"WECHAT_DEVTOOLS_CLI"},{"description":"默认小程序项目绝对路径","isRequired":true,"name":"WECHAT_PROJECT_PATH"},{"description":"CLI 命令超时时间（秒）","default":"60","name":"WECHAT_CLI_TIMEOUT"},{"description":"Node.js 可执行文件路径","default":"node","name":"NODE_PATH"}]}],"tools":[{"name":"wechat_auto","description":"开启小程序自动化功能。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_auto_preview","description":"自动预览：文件变化时自动刷新预览。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_auto_replay","description":"打开自动化测试窗口，可回放之前录制的测试用例。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_build_npm","description":"构建小程序项目中的 NPM 依赖。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_cache_clean","description":"清除微信开发者工具的缓存。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_call_page_method","description":"调用当前页面中的指定方法（如 onPullDownRefresh、自定义业务方法等）。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_call_wx_method","description":"直接调用 wx 对象上的指定方法。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_capture_screenshot","description":"实时捕获当前小程序模拟器的界面截图。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_close_project","description":"关闭微信开发者工具中指定的项目窗口。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_cloud_env_list","description":"列出小程序关联的所有云开发环境。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_cloud_func_deploy","description":"上传云函数到指定的云环境。","write_action":true,"price_micros":0,"input_schema":null},{"name":"wechat_cloud_func_download","description":"从云环境下载指定云函数到本地目录。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_cloud_func_info","description":"查看指定云函数的详细信息。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_cloud_func_list","description":"查看指定云环境下的线上云函数列表。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_compile_check","description":"编译检查：触发编译并捕获所有错误和警告信息。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_evaluate_expression","description":"在小程序逻辑层运行环境中直接执行一段 JS 表达式，并返回结果。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_get_cdp_logs","description":"通过 Chromium DevTools Protocol (CDP) 采集高清日志（强烈推荐）。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_get_console_logs","description":"实时采集小程序运行时的 console 日志和 JS 异常。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_get_element_info","description":"获取页面元素的详细信息（文本、WXML 结构、尺寸、位置、样式）。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_get_exceptions","description":"专门监听小程序运行时 JS 异常（exception 事件）。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_get_page_data","description":"读取小程序当前活跃页面的 data 模型状态（响应式数据）。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_get_page_stack","description":"获取当前小程序的页面栈信息，包括每个页面的路径和查询参数。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_get_storage","description":"获取小程序的本地缓存数据。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_get_system_info","description":"通过自动化接口获取小程序运行时的系统信息。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_input_element","description":"向 input 或 textarea 元素输入文本内容。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_is_login","description":"检查微信开发者工具当前是否已登录。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_list_pages","description":"列出小程序中所有注册的页面，以及每个页面包含的文件。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_login","description":"登录微信开发者工具，生成二维码供扫码登录。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_mock_wx_method","description":"覆盖 wx 对象上指定方法的调用结果（Mock）。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_navigate_and_capture","description":"跳转到指定页面，等待指定时间，捕获该时间窗口内的所有 console 日志和 JS 异常。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_open","description":"打开微信开发者工具 IDE，或打开指定的小程序项目。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_preview","description":"预览小程序，生成预览二维码。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_preview_page","description":"快捷工具：直接预览小程序的指定页面。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_project_info","description":"获取小程序项目的完整信息，包括：","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_quit_ide","description":"关闭整个微信开发者工具。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_read_file","description":"读取小程序项目中的任意单个文件。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_read_page","description":"读取指定小程序页面的全部源码文件（.wxml, .wxss, .js, .json）。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_reset_fileutils","description":"重建文件监听：重置工具内部文件缓存，重新监听项目文件。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_run_automation_script","description":"执行自定义 JS 自动化测试脚本，并捕获执行期间的所有日志和异常。","write_action":true,"price_micros":0,"input_schema":null},{"name":"wechat_set_page_data","description":"动态设置当前页面的 data（响应式数据），无需重新编译即可热更新 UI。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_tap_element","description":"通过 CSS 选择器定位页面上的元素并模拟点击（tap）。","write_action":false,"price_micros":0,"input_schema":null},{"name":"wechat_upload","description":"上传小程序代码到微信后台。","write_action":true,"price_micros":0,"input_schema":null}],"scan":{"score":65,"grade":"C","scanned_at":"2026-09-28T06:07:21.629Z","report":{"scannerVersion":"0.1.10","scannedAt":"2026-09-28T06:07:21.585Z","components":{"code":{"score":25,"max":25,"notes":["3 source files scanned"]},"reliability":{"score":-1,"max":20,"notes":["no gateway calls yet and no remote to probe"]},"poisoning":{"score":-1,"max":15,"notes":["tools not inspected (local package is not executed); not counted"]},"auth":{"score":12,"max":15,"notes":["local package, no credentials required"]},"maintenance":{"score":3,"max":15,"notes":["repository not readable: repo not found"]},"identity":{"score":2,"max":10,"notes":["no repository or website to verify"]}},"findings":[],"inputs":{"packages":[{"registryType":"pypi","identifier":"wechat-devtools-mcp","version":"0.1.0","found":true,"weeklyDownloads":228,"license":"MIT","dependencyCount":3,"publishedAt":"2026-03-09T10:31:00.146107Z","repositoryUrl":"https://github.com/WaterTian/wechat-devtools-mcp.git"}],"repo":{"found":false,"owner":"WaterTian","repo":"wechat-devtools","error":"repo not found"},"icon":{"url":null,"source":"none"},"presence":{"stars":null,"forks":null,"downloadsWeek":228,"license":"MIT","lastPushAt":null,"score":12}}}},"grade_history":[],"reviews":[]}