Agent Skills
› getsentry/MobileBuildMCP
› mobilebuildmcp-cli
mobilebuildmcp-cli
GitHubMobileBuildMCP CLI技能,用于iOS/macOS等Apple平台应用的构建、测试、运行、调试及UI自动化。提供CLI安装验证、帮助优先的命令发现机制及最小化执行策略,替代原生xcodebuild工具。
触发场景
需要进行iOS或macOS应用的构建和测试
需要在模拟器或真机上运行应用
需要捕获日志或进行UI自动化测试
安装
npx skills add getsentry/MobileBuildMCP --skill mobilebuildmcp-cli -g -y
SKILL.md
Frontmatter
{
"name": "mobilebuildmcp-cli",
"description": "Official skill for the MobileBuildMCP CLI. Use when doing iOS\/macOS\/watchOS\/tvOS\/visionOS work (build, test, run, debug, log, UI automation)."
}
MobileBuildMCP CLI
Use MobileBuildMCP tools via the mobilebuildmcp executable instead of raw xcodebuild, xcrun, or simctl.
Step 1: Ensure the CLI Exists
Check availability:
mobilebuildmcp --help
If missing, install with one of:
brew tap getsentry/xcodebuildmcp
brew install mobilebuildmcp
npm install -g mobilebuildmcp@latest
Re-check after install:
mobilebuildmcp --help
Step 2: Use Help-First Discovery
Discover workflows and arguments from the CLI itself:
mobilebuildmcp --help
mobilebuildmcp tools
mobilebuildmcp <workflow> --help
mobilebuildmcp <workflow> <tool> --help
Use this discovery path instead of memorizing static tool lists.
Step 3: Keep Execution Minimal
- Choose the smallest command sequence that satisfies the request.
- Prefer direct workflow commands over manual multi-step chains unless explicitly requested.
- For simulator run intent, prefer the combined
build-and-runcommand. - Do not chain
buildthenbuild-and-rununless explicitly requested.
Capability Overview
mobilebuildmcp supports:
- simulator and device build/test/run
- debugging and log capture
- UI automation
- project discovery and scaffolding
- session defaults and workflow configuration
Exit Criteria
- CLI presence is verified or installation steps are provided.
- Commands are discovered via
--help/tools. - Session defaults are checked before first build/run/test action.
版本历史
- d13ff0c 当前 2026-09-28 05:47


