Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

WeApp Dev MCP server

by yfmeii/weapp-dev-mcpNo licenceAudited 6 Oct 2026 · source b1140cd53199

npm @yfme/weapp-dev-mcp 0.2.5★ 174
✕BLOCKGrade D · 69/100 · 6 Oct 2026 · b1140cd

Is it safe? No — BLOCK, grade D (69/100). It exposes 35 tools: 35 read, 0 write and 0 destructive. The audit recorded 3 findings (0 critical, 1 high, 0 medium, 2 low). Maintainer's description: FastMCP server for automating WeChat Mini Program developer tooling

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “WeApp Dev MCP server (yfmeii/weapp-dev-mcp)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/yfmeii/weapp-dev

Why this is BLOCK. The audit found 0 critical and 1 high findings; the most severe is Code injection at src/tools/common.ts:275. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

Trust audit

Audit 0.4.1 · full source read 6 Oct 2026

Trust score69/100✕BLOCK D
0 critical1 high0 medium2 low0 info

3 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemNone observedNothing seen in the source
  • NetworkDeclared2 observations
  • ShellDeclared1 observation
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

Findings (3)

Sorted by severity

HIGHCode injectioncode.eval_exec · src/tools/common.ts:275
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
const fn = new Function(`return (${source});`)();
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
LOWInventory / provenanceinv.no_license
F-13 Inventory / provenanceCWE-1104Layer L0
Why
no LICENSE file and no repo licence
Fix
add a licence
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, fastmcp, miniprogram-automator, zod, @modelcontextprotocol/inspector, @types/node, tsx, typescript
Why
8 dependency range(s) float
Fix
pin exact versions or ship a lockfile

Tools it exposes

35 declared in source · 0 destructive

35 read0 write0 destructive
ToolWhat it doesRisk
connect-and-inspect-homeConnect to the mini program, confirm the current page, then inspect the home page UI.read
connect-and-screenshotConnect first, then capture a screenshot from the active mini program page.read
element_callMethod调用组件实例指定方法,仅自定义组件可以使用。read
element_getAttributes获取元素的特性值。names 为特性名数组(如 [read
element_getBoundingClientRect获取元素相对于视口的边界矩形信息(left、top、width、height、right、bottom)。此方法返回的是考虑 CSS transform 变换后的实际渲染尺寸和位置。仅支持 ID 选择器、类选择器。若目标元素位于自定义组件内部,selector 必须指向当前页面 WXML 源码中直接引用的那一层自定义组件,而不是渲染后的组件树;innerSelector 可在 selector 所指组件的整个子树内匹配。read
element_getData获取组件实例渲染数据,仅自定义组件可以使用。read
element_getInnerElement在元素范围内获取元素,相当于 element.$(selector)。设置 withWxml 为 true 可额外返回每个元素的完整 outerWxml。read
element_getInnerElements在元素范围内获取元素数组,相当于 element.$$(selector)。设置 withWxml 为 true 可额外返回每个元素的完整 outerWxml。read
element_getStyles获取元素的样式值。names 为样式名数组(如 [read
element_getWxml获取元素 WXML。默认获取内部 WXML(element.wxml()),设置 outer 为 true 可获取包含元素本身的 WXML(element.outerWxml())。read
element_input向指定元素输入文本。read
element_scrollTo滚动 scroll-view 组件到指定位置。仅适用于 scroll-view 组件。read
element_setData设置组件实例渲染数据,仅自定义组件可以使用。read
element_tap通过 CSS 选择器模拟点击 WXML 元素。支持 [index=N] 语法选择第 N 个元素。如需点击自定义组件内部的元素,请使用 innerSelector 参数:selector 设为组件 ID 选择器(如 #my-component)或标签选择器,innerSelector 设为组件内部元素的选择器。read
focusOptional UI area to inspect after connecting.read
lastErrorExact error message returned by the MCP client.read
mp_callWx调用微信小程序 API 方法,(如read
mp_currentPage获取当前页面的信息,包括路径、查询参数、尺寸、滚动位置、当前页面真实渲染器 renderer,以及 wx.getSkylineInfoSync() 的 Skyline 诊断信息 skylineInfo。通常在 mp_ensureConnection 成功后立即调用,用于确认当前页面;可通过 renderer 区分 webview/skyline,skylineInfo 仅用于判断运行环境能力。withData 为 true 时额外返回页面数据。read
mp_ensureConnection检查小程序自动化会话是否就绪。先调用这个工具,再调用 mp_screenshot、page_* 或 element_* 工具。若失败,优先用 reconnect=true 重试一次;若返回项目选择提示,则传 projectSelection。read
mp_getLogs获取小程序控制台日志。可选择在获取后清空日志。read
mp_listProjects列出微信开发者工具中的最近项目,方便在 mp_ensureConnection 返回项目选择提示后继续选择项目。read
mp_mockWxMethod有限 mock wx 方法能力。当前仅支持 method=request:action=mock 时按 requestRules mock wx.request 成功响应;action=restore 时恢复 wx.request。未匹配请求默认透传原始 wx.request。read
mp_navigate在小程序内导航,支持 navigateTo、redirectTo、reLaunch、switchTab 和 navigateBack。read
mp_screenshot截取当前小程序视口的截图。需要已有活动会话;若提示没有活动会话,请先调用 mp_ensureConnection。默认返回内联图片,或保存到文件路径。read
mp_setDefaultProject设置默认的小程序项目路径,设置后下次连接会优先使用该项目。通常用于修复项目选择失败后的后续重试。read
page_callMethod调用当前页面实例上暴露的方法。参数可以作为数组提供。read
page_getData获取当前页面的数据对象,可选择指定子数据路径。read
page_getElement通过选择器获取页面元素,相当于 page.$(selector)。返回每个元素的摘要信息(tagName、text、value、size、offset);设置 withWxml 为 true 可额外返回元素的完整 outerWxml。支持 [index=N] 语法选择第 N 个元素。read
page_getElementByXpath通过 XPath 获取页面第一个匹配元素,相当于 page.getElementByXpath(xpath) / page.xpath(xpath)。适合按文本、层级关系、ancestor/following 等 XPath 表达式定位元素;设置 withWxml 为 true 可额外返回完整 outerWxml。read
page_getElements通过选择器获取页面元素数组,相当于 page.$$(selector)。返回每个元素的摘要信息(tagName、text、value、size、offset);设置 withWxml 为 true 可额外返回每个元素的完整 outerWxml。支持 [index=N] 语法选择第 N 个元素。read
page_getElementsByXpath通过 XPath 获取页面匹配元素数组,相当于 page.getElementsByXpath(xpath)。适合按文本、属性、层级关系、位置函数等 XPath 表达式批量定位元素;设置 withWxml 为 true 可额外返回每个元素的完整 outerWxml。read
page_setData使用 setData 更新当前页面的数据。read
page_waitElement等待指定选择器的元素出现在页面上。支持 [index=N] 语法选择第 N 个元素。增强版:增加了超时和重试间隔参数。read
page_waitTimeout等待指定的毫秒数。read
recover-connectionRecover a failed mini program connection using the MCPread

Safer alternatives

We could not match this server to a job, so we cannot suggest a like-for-like alternative. Read-only servers are the least-privilege place to start.

Audit history

  1. ✕BLOCK D 69 / 100

    First audit · b1140cd53199

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK DMODELSATLASBLOCK · D

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about WeApp Dev MCP server

What is the WeApp Dev MCP server?
FastMCP server for automating WeChat Mini Program developer tooling
What tools does WeApp Dev expose?
35 in total: 35 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is WeApp Dev safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on.
What credentials does WeApp Dev need?
No credential environment variables were found in its source, so it appears to need none.
How current is this page?
The grade is for one exact copy of the source (b1140cd53199), read on 2026-10-06. The repository is watched and re-audited when it changes.
I already installed WeApp Dev. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

  • yfmeii/weapp-dev-mcp on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit b1140cd53199Observed · 6 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.