JevSim

io.github.huaaudio由 GitHub 账号 huaaudio 发布v0.1.0更新于 Oct 24, 2026

Run verified iOS and Android UI workflows in one agent tool call with Jev.

已验证STDIO仅桌面浏览器自动化开发者工具

概览

AI 生成的概览

让助手在一次工具调用中执行经过验证的 iOS 和 Android 界面操作序列,而不必每次点击都往返一次。

可以做什么
JevSim 是一个本地 MCP 服务器,可对 iOS 模拟器或 Android 设备执行由一到十个界面步骤组成的计划。它提供三个工具:jevsim_status 用于检查后端连通性、凭据是否存在以及设备清单;jevsim_inspect 用于读取某台指定设备当前的无障碍状态;jevsim_run_steps 用于执行 tap、type、scroll、wait 和 assert 动作,并逐步校验预期条件。名为 Jev 的文本选择模型把步骤描述匹配到当前的无障碍控件,iOS 端由 XcodeBuildMCP、Android 端由 Appium/UIAutomator2 执行动作并检查结果。
适用场景
当助手需要反复驱动移动应用完成已知序列时值得加入,例如复现缺陷、导航到某个界面、填写表单或验证改动。它适合委派有边界、事先规划好的路径,而构建、改代码、解读截图以及依赖新信息的决策仍留在主助手侧。
运行要求
通过 npx 从 npm 包 @huaaudio/jevsim 以 stdio 方式在本地运行,需要 Node.js 24 和 npm。iOS 需要 macOS、Xcode 和已启动的模拟器;Android 需要 ADB、设备或模拟器,以及单独运行的本地 Appium 3/UIAutomator2 服务器。可选环境变量包括 JEVSIM_MODEL、JEVSIM_ADB_COMMAND、JEVSIM_ANDROID_APPIUM_URL、JEVSIM_XCODE_COMMAND 和 JEVSIM_XCODE_ARGS。语义选择需要 TYPESAFE_API_KEY 密钥;使用精确标识符的工作流无需密钥。
安装前请注意
语义选择会把无障碍文本和字段值发送到 TypeSafe 服务,使用精确标识符的工作流会跳过这些请求。工具记录和后端日志可能包含应用数据。TYPESAFE_API_KEY 密钥应通过客户端的密钥或环境配置提供,切勿打印或提交,且 npm 启动器不会自动读取 .env。步骤会作用于真实设备或模拟器,调用返回前应独占该设备,且不应盲目重放工作流或不确定的动作。

安装

在 SourceWeft 中

  1. 打开 控制台中的 JevSim,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

JevSim

English | 简体中文

Complete a mobile UI sequence in one agent tool call.

JevSim is a local MCP server for agents working with iOS and Android apps. Give it a short plan—navigate, enter text, save, verify—and it executes the steps without returning to your main reasoning loop after every interaction. Jev, a text-based selection model, matches descriptions to current accessibility controls. XcodeBuildMCP (iOS) or Appium/UIAutomator2 (Android) performs the actions and checks the results.

If you are a human, give your agent this repository URL and ask: “Install JevSim for my iOS/Android project, connect it to your MCP tools, and verify the setup.” The instructions below are for that agent.

Speed comparison

We reran the same ten-tap iOS Settings tour with the same checks after every action: open five sections and return from each. Pure agent means the main agent reads each screen and chooses the next control through XcodeBuildMCP. Agent + JevSim means it delegates the full route in one jevsim_run_steps call, with Jev selecting all ten targets.

ApproachMedian execution timeVerified runsSpeedup
Pure agent + XcodeBuildMCP117.3 s3/31×
Agent + JevSim + XcodeBuildMCP35.7 s3/33.3×

Measured September 21, 2026: GPT-6-astra (high reasoning) in Codex, Jev 1.13.0, XcodeBuildMCP 2.7.0, iPhone 17e / iOS 26.5 Simulator. Times include observations, target decisions, actions, checks, and intermediate agent/tool round trips; setup and initial route planning are excluded. This is one navigation benchmark with three runs per approach, not a general debugging or Android speed guarantee. Run details and reproduction.

Agent installation

  1. Inspect the environment. Use Node.js 24 and npm. Choose the platform from the user's project; install only that backend. Reuse existing tools and credentials where available.
  2. Use the npm package. Configure the MCP client to run npx -y --package=@huaaudio/[email protected] jevsim. This downloads the compiled package; no clone or build is needed. Use an absolute path to Node.js 24’s npx if the client has a restricted PATH. Source installation remains available for development.
  3. Prepare the backend. For iOS, use macOS, Xcode, and a booted simulator; JevSim starts its own pinned XcodeBuildMCP process. For Android, prepare ADB and a device/emulator, then start local Appium with UIAutomator2 using the Android instructions. Build, install, and launch the user's app with your existing tools.
  4. Configure Jev. Supply TYPESAFE_API_KEY through your client's secret/environment configuration. The npm launcher does not automatically read .env; use the env-file launch option if needed. Preserve an existing .env; use .env.example only as a template. Never print or commit the key. Exact-identifier workflows also work without a key.
  5. Register and verify the MCP server. Follow the agent installation runbook for absolute launch paths, client configuration, and readiness checks. Preserve other MCP servers. Installation is complete when you can discover all three tools, connect to the chosen backend, and inspect the intended device. Report any missing prerequisite precisely.

Delegate a workflow

ToolUse it to
jevsim_statusCheck backend connectivity, credential presence, and device inventory
jevsim_inspectRead the current accessibility state of one explicit device
jevsim_run_stepsExecute 1–10 supplied steps within 60 seconds; receive outcomes, timings, and any stop reason

Call status and inspect first. For iOS, pass the observed simulatorId; for Android, pass platform: "android" and the ADB deviceId. Derive the plan from the app and the user's task. Every step must include a backend-verifiable expect condition.

For example, this is one step only if your app exposes the stated destination identifier:

json
{  "action": "tap",  "target": { "description": "Open the profile editor" },  "expect": { "predicate": "exists", "identifier": "profile.name" }}

Use a unique observed target.identifier when available; it skips the model request. Otherwise, Jev selects among current action-compatible controls or abstains. It cannot invent steps or generate typing text. Supported actions are tap, type, scroll, wait, and assert. See the request schema and complete example.

Reserve the device until the call returns. A completed result means every supplied expectation matched. If execution stops, inspect completedSteps, reason, and actionStatus, then inspect the app and re-plan. Never blindly replay a workflow or an uncertain action. See agent usage and recovery.

When to use it

Delegate known sequences: reproduce a bug, navigate to a screen, exercise a form, or verify a change. Keep builds, code edits, visual interpretation, and decisions that depend on new information in your main agent. Split longer work into bounded sequences.

  • Supported: iOS Simulator and native Android accessibility. Android has been live-tested on an Android 15 emulator on macOS; physical Android devices and Windows/Linux hosts remain unvalidated.
  • Input: Android supports Unicode and empty replacement. The tested iOS backend accepts nonempty printable ASCII only.
  • Limits: inaccessible controls, Android WebViews, and arbitrary desktop GUIs need other tools. JevSim does not interpret screenshots.
  • Data: semantic selection sends accessibility text and field values to TypeSafe. Exact-identifier workflows skip those requests. Tool transcripts and backend logs may contain app data; see data handling.

Reference

Agent installation · Agent usage · Tools · Configuration · Troubleshooting · Release notes

Contributors: development guide for fixtures, tests, benchmark reproduction, and implementation history.

MIT. Independent project; automation backends and the TypeSafe service have their own terms and licenses.

来源:README.md,提交 fa2ba17

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.0最新Sep 21, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分