Use XcodeBuildMCP for iOS/macOS/watchOS/tvOS/visionOS development
mainXcodeBuildMCP provides a high-level toolset for mobile and desktop development, replacing raw xcodebuild, xcrun, or simctl commands. It supports building, testing, running, debugging, logging, and UI automation.
Key Capabilities:
- Session Management: Configure project, scheme, simulator, and device defaults to reduce repetitive parameters.
- Project Discovery: Find Xcode projects/workspaces, list schemes, and 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/variables, and execute LLDB commands.
- UI Automation: Capture screenshots, inspect view hierarchies, perform gestures (taps/swipes), type text, and press hardware buttons.
- SwiftPM: Build, run, test, and manage Swift Package Manager projects.
- Project Scaffolding: Generate new iOS/macOS project templates.
Note: Only simulator workflow tools are enabled by default. To use device, macOS, debugging, or UI automation capabilities, you must configure them in .xcodebuildmcp/config.yaml.