mobilebuildmcp — скилл Claude Code: функции и установка
Скилл для Claude Code управляет сборкой, тестами и запуском приложений Apple через MobileBuildMCP. Он подключается к задачам с iOS, macOS, watchOS, tvOS и visionOS.
MIT 145 установок ★ 6 596 обновлён 2026-10-22
npx skills add getsentry/MobileBuildMCP --skill mobilebuildmcp -a claude-codeЧто делает mobilebuildmcp
Скилл направляет агента к инструментам MobileBuildMCP вместо прямого вызова xcodebuild, xcrun или simctl. Агент может находить проекты и схемы Xcode, собирать и запускать приложения, выполнять тесты, собирать логи и отлаживать код через LLDB. Для симуляторов доступны автоматизация интерфейса и управление состоянием устройства.
Скилл также описывает работу с физическими устройствами, приложениями macOS и проектами SwiftPM. По умолчанию включены только инструменты для симуляторов; для отладки, UI-автоматизации, macOS и физических устройств нужно включить соответствующие сценарии в конфигурации MobileBuildMCP. Перед первой сборкой агент читает настройки сессии, а если не хватает данных о проекте — ищет проект или workspace.
Какие задачи решает
- собрать и запустить приложение в симуляторе
- выполнить тесты проекта и получить логи
- отладить приложение через LLDB
- проверить интерфейс симулятора касаниями и скриншотами
- собрать проект SwiftPM
Примеры запросов агенту
- Собери и запусти приложение iOS в симуляторе.
- Запусти тесты проекта и покажи логи, если они завершатся с ошибкой.
- Проверь экран приложения в симуляторе и нажми кнопку входа.
Как установить mobilebuildmcp
1Через Skills CLI (Vercel)
npx skills add getsentry/MobileBuildMCP --skill mobilebuildmcp -a claude-code2Вручную: положить файлы
~/.claude/skills/mobilebuildmcp/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/mobilebuildmcp/
1Через Skills CLI (Vercel)
npx skills add getsentry/MobileBuildMCP --skill mobilebuildmcp -a codex2Вручную: положить файлы
.agents/skills/mobilebuildmcp/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add getsentry/MobileBuildMCP --skill mobilebuildmcp -a cursor2Вручную: положить файлы
.cursor/skills/mobilebuildmcp/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install getsentry/MobileBuildMCP skills/mobilebuildmcp2Вручную: положить файлы
.github/skills/mobilebuildmcp/SKILL.md1Через Skills CLI (Vercel)
npx skills add getsentry/MobileBuildMCP --skill mobilebuildmcp -a gemini-cli2Командой платформы
gemini skills install https://github.com/getsentry/MobileBuildMCP --path skills/mobilebuildmcpВручную: положить файлы
.devin/skills/mobilebuildmcp/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add getsentry/MobileBuildMCP --skill mobilebuildmcp -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о mobilebuildmcp
Как установить mobilebuildmcp в Claude Code?
Выполни npx skills add getsentry/MobileBuildMCP --skill mobilebuildmcp -a claude-code. Файл скилла находится по пути ~/.claude/skills/mobilebuildmcp/SKILL.md.
Что делает mobilebuildmcp?
Он помогает агенту собирать, запускать и тестировать приложения Apple через инструменты MobileBuildMCP, а также работать с логами, LLDB и интерфейсом симулятора.
Какие возможности включены по умолчанию?
По умолчанию доступны инструменты для симуляторов. Для работы с физическими устройствами, macOS, отладкой и UI-автоматизацией нужно включить соответствующие сценарии в конфигурации MobileBuildMCP.
Исходный текст
SKILL.md · MIT
--- 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.
© getsentry · MIT · getsentry/MobileBuildMCP