Wechat Devtools MCP
MCP Server for WeChat DevTools CLI - Automate development & testing with 7 aggregated APIs.
Connector by WaterTian · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/watertian-wechat-devtools-mcp
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.
- Tools
- 3 read · 4 write · 0 delete
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Tools by what they do 7
Read from the source code; the running server may list different tools.
Read 3 · Look things up without changing anything.
wechat_filewechat_inspectorwechat_screenshot
Write 4 · Create, change, send or run things.
wechat_automatorwechat_buildwechat_idewechat_navigate
Secrets and settings it asks for
Other settings (environment variables or headers).
NODE_PATHWECHAT_CLI_TIMEOUTWECHAT_DEVTOOLS_CLIWECHAT_PROJECT_PATH
Network hosts it talks to 1
github.com· found in code
Files it touches
/opt/homebrew/bin/node%APPDATA%\nvm\current\node.exe- Your home directory (~)
~/.nvm/versions/node/lts/bin/node
Tools (7)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
wechat_automator自动化交互小程序自动化交互与运行时查询。 支持 action: start(开启自动化), tap(点击), input(输入), element_info(元素信息), set_data(设置数据), call_method(调用方法), call_wx(调用wx API), mock_wx(Mock wx), evaluate(执行JS), page_stack(页面栈), page_data(页面数据), system_info(系统信息), storage(缓存)。 返回 JSON: {success, data, message, error_code?}。
wechat_build构建与发布构建、预览、上传小程序及 npm 管理。 支持 action: compile(编译检查), preview(预览), upload(上传), build_npm(构建NPM), cache_clean(清缓存)。 返回 JSON: {success, data, message, error_code?}。
wechat_file项目文件读取read-only读取小程序项目文件和结构信息。 支持 action: project_info(项目完整信息), list_pages(页面列表), read_page(读取页面源码), read_file(读取单个文件)。 返回 JSON: {success, data, message, error_code?}。
wechat_ideIDE 生命周期管理微信开发者工具 IDE 生命周期管理。 支持 action: open(打开IDE/项目), login(扫码登录), is_login(检查登录), close(关闭项目), quit(退出IDE), status(环境诊断)。 返回 JSON: {success, data, message, error_code?}。
wechat_inspector运行时日志采集read-only采集小程序运行时日志和异常。 支持 action: console(automator端口采集console日志和JS异常), cdp(通过CDP协议采集WXML警告、渲染层报错、废弃API提示等底层日志)。 cdp action 需先以 cdp_enabled=true 打开项目,确保端口 9222 可用。 返回 JSON: {success, data: {logs, summary}, message}。
wechat_navigate跳转页面并采集 CDP 日志跳转到指定页面,等待指定时间,通过 CDP 采集高清日志。 适用于页面生命周期日志检查(onLoad/onShow)、页面错误验证。 需先调用 wechat_automator(action='start') 并以 cdp_enabled=true 打开项目。 返回 JSON: {success, data: {current_page, cdp_logs}, message}。
wechat_screenshot捕获界面截图read-only实时捕获当前小程序模拟器的界面截图。 默认支持截取长图,自动滚动并拼接。 output_path 可选,留空则自动保存到项目目录下 screenshots/ 文件夹。 返回 JSON: {success, data: {path, width, height, segments}, message}。
Signals
- Stars
- 155
- Forks
- 15
- Open issues
- 0
- Contributors
- 1
- Weekly downloads
- 245
- Last commit
- Sep 4, 2026 (1 month ago)
- Last release
- Sep 4, 2026 (1 month ago)
- Last package publish
- Sep 4, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026) and the package registry.
Details
- Registry name
io.github.WaterTian/wechat-devtools-mcp- Version
- 0.9.18
- Auth
- No auth
- Packages
- pypi wechat-devtools-mcp
- License
- MIT
- Repository
- github.com/WaterTian/wechat-devtools-mcp
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
More from WaterTian
Cite this page
Wechat Devtools MCP. Agent Mart. https://agentmart.dev/connectors/watertian-wechat-devtools-mcp (last updated 2026-10-24)