EM

enessubass/mobiloop-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

12 stars 2 forks 质量 82 趋势 33MIT

Guarded MCP tools for AI-assisted mobile build, Appium testing, security scanning, verification, and fix-retest loops.

概览

Guarded MCP servers for agentic mobile build-test-fix loops. MobiLoop MCP is a controlled tool layer between an AI coding agent and a real mobile development environment. It lets an MCP client read and patch a mobile project, build it, install it on Android or iOS targets, drive the app through Appium, verify logs/screens/API results, remember known app-flow checkpoints, and produce evidence-based reports. The name reflects the core contract: mobile work should run through a measurable loop of change, build, device execution, verification, and evidence-backed triage. It is built for the workflow where the agent does not just write code. It builds, runs, tests, observes, classifies failures, and hands back evidence. An agent can still use the separate guarded code tools to patch and retest, but that patch step is intentionally outside the default orchestrator. Today, MobiLoop provides guarded build-test-verify loops and evidence-based failure classification.

README

以下为原文 README 节选,完整内容请查看原文。

MobiLoop MCP

Guarded MCP servers for agentic mobile build-test-fix loops.

Documentation site | Installation | Security model | Tool reference

code change -> build -> install on device -> Appium test -> evidence -> classify -> report

MobiLoop MCP is a controlled tool layer between an AI coding agent and a real mobile development environment. It lets an MCP client read and patch a mobile project, build it, install it on Android or iOS targets, drive the app through Appium, verify logs/screens/API results, remember known app-flow checkpoints, and produce evidence-based reports.

The name reflects the core contract: mobile work should run through a measurable loop of change, build, device execution, verification, and evidence-backed triage.

It is built for the workflow where the agent does not just write code. It builds, runs, tests, observes, classifies failures, and hands back evidence. An agent can still use the separate guarded code tools to patch and retest, but that patch step is intentionally outside the default orchestrator.

Today, MobiLoop provides guarded build-test-verify loops and evidence-based failure classification. Fully automated patch-and-retest is intentionally kept outside the default orchestrator until stricter approval, rollback, and review controls are enabled.

Highlights

  • Evidence-first mobile loops: build logs, screenshots, Appium XML source, logcat/simulator logs, API responses, screenshot diffs, and iteration records.
  • Android and iOS tool split: Android adb/emulator tools and iOS xcrun simctl/xcodebuild tools are separated.
  • Appium UI automation: semantic taps, typing, swipes, back navigation, visibility assertions, screenshots, and accessibility summaries.
  • Flow memory: record runtime screen checkpoints, remember the latest passing path, and auto-replay stable setup steps to a target checkpoint.
  • Scenario generation and flow DSL: scan source for candidate E2E scenarios, then run high-level JSON flows with wait/tap/type/assert/evidence steps.
  • Source-flow analysis: scan Flutter, React Native, Android, and iOS source for screen, route, transition, and visible-text candidates.
  • Root-cause classification: classify logcat evidence into app bugs, automation errors, missing environment, remote rules, and test-data issues.
  • Server-side approval gate: secure mode requires valid approval payloads for high-impact tools.
  • Built-in mobile security loop: scan source and platform settings, generate a test plan, compare fixes, and gate release decisions without another scanner package.
  • Redaction by default: redact common secrets, bearer tokens, API keys, emails, and phone numbers from text artifacts, command output, and MCP/CLI text responses.
在 GitHub 查看完整 README

安装

npx appium --address 127.0.0.1 --port 4723
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "mobiloop": { "command": "node", "args": ["/absolute/path/to/mobiloop-mcp/dist/src/index.js"], "env": { "MOBILOOP_WORKSPACE_ROOT": "/absolute/path/to/mobile/app", "APPIUM_SERVER_URL": "http://127.0.0.1:4723" } } } }