Agent Skills › getsentry/MobileBuildMCP › mobilebuildmcp

mobilebuildmcp

GitHub

提供iOS/macOS等Apple平台应用的构建、测试、运行及调试能力。支持模拟器与真机操作、日志捕获、LLDB调试及UI自动化,替代原生xcodebuild工具,提升开发效率。

skills/mobilebuildmcp/SKILL.md getsentry/MobileBuildMCP

触发场景

需要构建或测试iOS/macOS应用 需要在模拟器或真机上运行App 需要进行UI自动化或LLDB调试

安装

npx skills add getsentry/MobileBuildMCP --skill mobilebuildmcp -g -y
更多选项

不安装直接使用

npx skills use getsentry/MobileBuildMCP@mobilebuildmcp

指定 Agent (Claude Code)

npx skills add getsentry/MobileBuildMCP --skill mobilebuildmcp -a claude-code -g -y

安装 repo 全部 skill

npx skills add getsentry/MobileBuildMCP --all -g -y

预览 repo 内 skill

npx skills add getsentry/MobileBuildMCP --list

SKILL.md

Frontmatter
{
    "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.

版本历史

  • d13ff0c 当前 2026-09-28 05:47

同 Skill 集合

.agents/skills/mobilebuildmcp-docs-command-review/SKILL.md
.agents/skills/mobilebuildmcp-docs-release-review/SKILL.md
.agents/skills/mobilebuildmcp-packaging-resource-review/SKILL.md
.agents/skills/mobilebuildmcp-rendering-streaming-review/SKILL.md
.agents/skills/mobilebuildmcp-runtime-boundary-review/SKILL.md
.agents/skills/mobilebuildmcp-snapshot-fixture-review/SKILL.md
.agents/skills/mobilebuildmcp-structured-output-review/SKILL.md
.agents/skills/mobilebuildmcp-test-boundary-review/SKILL.md
.agents/skills/mobilebuildmcp-tool-contract-review/SKILL.md
.agents/skills/warden-sweep/SKILL.md
.agents/skills/warden/SKILL.md
.agents/skills/xcodebuildmcp-docs-command-review/SKILL.md
.agents/skills/xcodebuildmcp-docs-release-review/SKILL.md
.agents/skills/xcodebuildmcp-packaging-resource-review/SKILL.md
.agents/skills/xcodebuildmcp-rendering-streaming-review/SKILL.md
.agents/skills/xcodebuildmcp-runtime-boundary-review/SKILL.md
.agents/skills/xcodebuildmcp-snapshot-fixture-review/SKILL.md
.agents/skills/xcodebuildmcp-structured-output-review/SKILL.md
.agents/skills/xcodebuildmcp-test-boundary-review/SKILL.md
.agents/skills/xcodebuildmcp-tool-contract-review/SKILL.md
skills/mobilebuildmcp-cli/SKILL.md
skills/xcodebuildmcp-cli/SKILL.md
skills/xcodebuildmcp/SKILL.md

元信息

文件数
0
版本
2998ac7
Hash
a325c67c
收录时间
2026-09-28 05:47

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-21 07:20
浙ICP备14020137号-1