| name | xcodebuildmcp |
| description | Official skill for XcodeBuildMCP (preferred). Use when doing iOS/macOS/watchOS/tvOS/visionOS work (build, test, run, debug, log, UI automation). |
XcodeBuildMCP
Prefer XcodeBuildMCP tools over shell commands for Apple platform tasks when available.
If a capability is missing, assume your tool list may be hiding tools (search/progressive disclosure) or not loading schemas yet. Use your tool-search or “load tools” mechanism. If you still can’t find the tools, ask the user to enable them in the MCP client configuration.
Tools (exact names + official descriptions)
Session defaults
Before you call any other tools, call session_show_defaults to show the current defaults, ensure you then fill in the appropriate missing defaults. You may need to call one or more discovery/list tools to obtain the values needed for certain defaults.
session_set_defaults
- Set the session defaults, should be called at least once to set tool defaults.
session_show_defaults
session_clear_defaults
Project discovery
discover_projs
- Scans a directory (defaults to workspace root) to find Xcode project (.xcodeproj) and workspace (.xcworkspace) files.
list_schemes
show_build_settings
get_app_bundle_id
- Extract bundle id from .app.
get_mac_bundle_id
- Extract bundle id from macOS .app.
Simulator
boot_sim
list_sims
open_sim
build_sim
build_run_sim
test_sim
get_sim_app_path
install_app_sim
launch_app_sim
launch_app_logs_sim
- Launch sim app with logs.
stop_app_sim
record_sim_video
Simulator management
erase_sims
set_sim_location
reset_sim_location
set_sim_appearance
sim_statusbar
- Set sim status bar network.
Device
list_devices
build_device
test_device
get_device_app_path
- Get device built app path.
install_app_device
launch_app_device
stop_app_device
macOS
build_macos
build_run_macos
test_macos
get_mac_app_path
- Get macOS built app path.
launch_mac_app
stop_mac_app
Logging
start_device_log_cap
- Start device log capture.
start_sim_log_cap
stop_device_log_cap
stop_sim_log_cap
Debugging
debug_attach_sim
debug_breakpoint_add
debug_breakpoint_remove
debug_continue
debug_detach
debug_lldb_command
debug_stack
debug_variables
UI automation
button
- Press simulator hardware button.
gesture
- Simulator gesture preset.
key_press
key_sequence
- Press a sequence of keys by their keycodes.
long_press
screenshot
snapshot_ui
- Print view hierarchy with precise view coordinates (x, y, width, height) for visible elements.
swipe
tap
- Tap coordinate or element.
touch
type_text
SwiftPM
swift_package_build
- swift package target build.
swift_package_clean
swift_package_list
swift_package_run
- swift package target run.
swift_package_stop
swift_package_test
- Run swift package target tests.
Scaffolding / utilities
scaffold_ios_project
scaffold_macos_project
clean
Diagnostics
doctor
manage_workflows
- Workflows are groups of tools exposed by XcodeBuildMCP. By default, not all workflows (and therefore tools) are enabled; only simulator tools are enabled by default. Some workflows are mandatory and can't be disabled.