技能 编程开发 移动构建 MCP 命令行工具

移动构建 MCP 命令行工具

v20260923
mobilebuildmcp-cli
移动构建 MCP 命令行工具专为 iOS、macOS、watchOS 等系统开发设计。它封装了原生 Xcode 工具,简化构建、测试、运行、调试、日志及 UI 自动化任务。使用此技能可高效管理移动项目工作流,无需记忆复杂的命令行参数。
获取技能
139 次下载
概览

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-run command.
  • Do not chain build then build-and-run unless 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.
信息
Category 编程开发
Name mobilebuildmcp-cli
版本 v20260923
大小 1.63KB
更新时间 2026-09-25
语言