Skip to main content

mobilebuildmcp

Official skill for MobileBuildMCP. Use when doing iOS/macOS/watchOS/tvOS/visionOS work (build, test, run, debug, log, UI automation).

来源信息

仓库
getsentry/MobileBuildMCP
最近来源活动
2026年9月23日 17:24
检测到的 SKILL.md 语言
英语
星标
6,445
分支
322

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
mobilebuildmcp
description
Official skill for MobileBuildMCP. Use when doing iOS/macOS/watchOS/tvOS/visionOS work (build, test, run, debug, log, UI automation).
# MobileBuildMCP Use MobileBuildMCP tools instead of raw `xcodebuild`, `xcrun`, or `simctl`. Capabilities: - Session defaults: Configure project, scheme, simulator, and device defaults to avoid repetitive parameters - Project discovery: Find Xcode projects/workspaces, list schemes, inspect build settings - Simulator workflows: Build, run, test, install, and launch apps on iOS simulators; manage simulator state (boot, erase, location, appearance) - Device workflows: Build, test, install, and launch apps on physical devices with code signing - macOS workflows: Build, run, and test macOS applications - Log capture: Stream and capture logs from simulators and devices - LLDB debugging: Attach debugger, set breakpoints, inspect stack traces and variables, execute LLDB commands - UI automation: Capture screenshots, inspect view hierarchy with coordinates, perform taps/swipes/gestures, type text, press hardware buttons - SwiftPM: Build, run, test, and manage Swift Package Manager projects - Project scaffolding: Generate new iOS/macOS project templates Only simulator workflow tools are enabled by default. If capabilities like device, macOS, debugging, or UI automation are not available, the user must configure MobileBuildMCP to enable them. See https://github.com/getsentry/xcodebuildmcp.com/blob/main/app/docs/_content/configuration.mdx for workflow configuration. ## Step 1: Establish Session Context - Call `session_show_defaults` before the first build/run/test action in a session. - Use `discover_projs` only when defaults show missing or incorrect project/workspace context. - Do not run discovery speculatively or in parallel with `session_show_defaults`. - For simulator run intent, prefer the combined build-and-run tool instead of separate build then run calls. - Do not chain build-only then build-and-run unless the user explicitly requests both. ## Step 2: Understand Workflow-Scoped Tool Availability - Not all tools are enabled by default; tool availability depends on enabled workflows. - If a tool is expected but missing, check enabled workflows first. - Update enabled workflows in `.mobilebuildmcp/config.yaml`, then ask user to reload/restart the session to surface refreshes. ## Step 3: Report Context Clearly - Return the active defaults context used for execution (project/workspace, scheme, simulator/device). - For failures, include the exact failing step and the next actionable command/tool call.
在 GitHub 查看