MCP, MCP server
io.github.WaterTian/wechat-devtools-mcp
把微信开发者工具封装为 MCP 服务,让编辑器里的 AI 直接完成小程序的编译、预览、调试、自动化测试闭环。Windows / macOS,已上架官方 MCP Registry。
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit 31fbf94d2c4b, unchanged since the check below.
PERMISSION_DELETE_FILES NETWORK_NO_FIXED_HOST SECRETS_PATH_UNCONFIRMED
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
src/wechat_devtools_mcp/scripts/screenshot.js, line 663
for (const f of files) fs.unlinkSync(path.join(tmpDir, f)); - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
src/wechat_devtools_mcp/scripts/cdp_core.js, line 23
const req = http.get(`http://127.0.0.1:${cdpPort}/json/list`, (res) => { - SECRETS_PATH_UNCONFIRMED Low
The Secrets check reports a credential or environment file, but no quoted line shows a recognisable path.
.gitignore, line 13
.pytest_cache/
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Concern
can delete files.
PERMISSION_DELETE_FILES
src/wechat_devtools_mcp/scripts/screenshot.js, line 663
for (const f of files) fs.unlinkSync(path.join(tmpDir, f));
src/wechat_devtools_mcp/tools/automator.py, line 175
替换原先 subprocess.Popen 丢弃输出的方式,CLI 失败可立即感知。
src/wechat_devtools_mcp/tools/automator.py, line 387
os.remove(tmp_path)
Show more
src/wechat_devtools_mcp/tools/ide.py, line 269
out = subprocess.run(
src/wechat_devtools_mcp/tools/ide.py, line 286
subprocess.run(
src/wechat_devtools_mcp/tools/ide.py, line 298
subprocess.run(
src/wechat_devtools_mcp/tools/ide.py, line 303
probe = subprocess.run(
src/wechat_devtools_mcp/tools/ide.py, line 358
proc = subprocess.Popen(
src/wechat_devtools_mcp/tools/ide.py, line 555
probe = subprocess.run(
CHANGELOG_EN.md, line 18
| **0.9.8** | **Fix automator connection stability**: daemon.js `currentPage()` health check now retries (up to 5× for new connections, 2× for cached) instead of immediately discar
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
src/wechat_devtools_mcp/scripts/cdp_core.js, line 23
const req = http.get(`http://127.0.0.1:${cdpPort}/json/list`, (res) => {
src/wechat_devtools_mcp/scripts/cdp_core.js, line 136
const ws = new WebSocket(target.webSocketDebuggerUrl);
src/wechat_devtools_mcp/tools/automator.py, line 144
s = socket.create_connection(("localhost", port), timeout=1)
Show more
src/wechat_devtools_mcp/tools/build.py, line 161
s = socket.create_connection(("localhost", port), timeout=0.5)
src/wechat_devtools_mcp/tools/build.py, line 281
s = socket.create_connection(("localhost", auto_port), timeout=1)
src/wechat_devtools_mcp/tools/ide.py, line 185
s = socket.create_connection(("127.0.0.1", port), timeout=0.5)
src/wechat_devtools_mcp/tools/ide.py, line 408
f"该端口可能被占用(可用 curl 127.0.0.1:{params.cdp_port}/json/version "
src/wechat_devtools_mcp/tools/inspector.py, line 128
"(可用 curl 127.0.0.1:<port>/json/version 确认端口上是谁)。"
CONTRIBUTING.md, line 15
├── miniprogram-automator WebSocket (9420)
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_UNCONFIRMED
.gitignore, line 13
.pytest_cache/
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 31fbf94d2c4b. can delete files. can reach a host that is not written as a fixed address. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: 31fbf94d2c4b4df458323df1561bc84ca03b565d
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.