XcodeMCP
If you are the rightful owner of XcodeMCP and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
XcodeMCP is a Model Context Protocol (MCP) server that allows direct control of Xcode using JavaScript for Automation (JXA).
XcodeMCP is a powerful tool designed to streamline the development process within Xcode by leveraging the Model Context Protocol (MCP). It enables developers to control Xcode directly through JavaScript for Automation, bypassing the traditional xcodebuild CLI. This server facilitates a range of operations such as opening projects, building, running, testing, and debugging directly within Xcode. It also integrates with XCLogParser to provide detailed error parsing from build logs, ensuring precise error location identification. XcodeMCP is equipped with comprehensive environment validation and health checks to ensure optimal performance and reliability. It supports graceful degradation, allowing it to function even when optional dependencies are missing. This makes it an invaluable tool for developers looking to enhance their workflow efficiency and accuracy when working with Xcode projects.
Features
- Direct Xcode Control: Manage Xcode projects using JavaScript for Automation.
- Detailed Error Parsing: Utilize XCLogParser for precise error location in build logs.
- Comprehensive Environment Checks: Validate and troubleshoot the development environment.
- Graceful Degradation: Operates effectively even when optional dependencies are absent.
- Integrated Development Operations: Open, build, run, test, and debug within Xcode.
Tools
xcode_open_project
Open projects and workspaces.
xcode_build
Build projects with detailed error parsing.
xcode_test
Run tests with optional arguments.
xcode_debug
Start a debugging session.
xcode_health_check
Perform environment validation and troubleshooting.