XcodeBuildMCP  by getsentry

MCP server for Xcode project automation via AI agents

Created 11 months ago
4,429 stars

Top 11.0% on SourcePulse

GitHubView on GitHub
Project Summary

This project provides an MCP server for Xcode, enabling AI agents to programmatically manage Xcode projects, build targets, and simulator interactions. It targets AI developers and researchers seeking to automate Xcode workflows, offering a standardized interface for agent-driven development and debugging.

How It Works

The server exposes Xcode operations as tools callable via the Model Context Protocol (MCP). It leverages xcodebuild for project management and build operations, and idb_companion for simulator UI automation. This approach standardizes agent interaction, removing reliance on manual command-line calls and enabling autonomous code validation and iteration by AI agents.

Quick Start & Requirements

  • Install: mise x npm:xcodebuildmcp@<version> -- xcodebuildmcp
  • Prerequisites: macOS 14.5+, Xcode 18.x+, mise (package manager). For UI Automation (beta): idb-companion.
  • Setup: Minimal, primarily involves configuring an MCP client.
  • Docs: mise

Highlighted Details

  • Supports macOS, iOS simulator, and iOS device builds.
  • Enables simulator control: list, boot, install, launch apps, capture logs.
  • Beta UI Automation features include tapping, swiping, and screenshots.
  • Extracts bundle IDs and launches applications.

Maintenance & Community

  • MIT License.
  • Contribution guide available.

Licensing & Compatibility

  • MIT License. Permissive for commercial use and closed-source linking.

Limitations & Caveats

UI Automation features are in beta and may have rough edges. Displaying images in tool responses is client-dependent. Macro validation is skipped by default to avoid build errors.

Health Check
Last Commit

1 day ago

Responsiveness

1 day

Pull Requests (30d)
44
Issues (30d)
31
Star History
612 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems").

macOS-use by browser-use

0.8%
2k
AI agent for macOS app automation
Created 1 year ago
Updated 11 months ago
Starred by Elie Bursztein Elie Bursztein(Cybersecurity Lead at Google DeepMind), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
7 more.

SuperAGI by TransformerOptimus

0.1%
17k
Open-source framework for autonomous AI agent development
Created 2 years ago
Updated 1 year ago
Starred by Eric Zhu Eric Zhu(Coauthor of AutoGen; Research Scientist at Microsoft Research), Elie Bursztein Elie Bursztein(Cybersecurity Lead at Google DeepMind), and
27 more.

goose by block

1.6%
31k
Open-source AI agent for automating complex engineering tasks
Created 1 year ago
Updated 21 hours ago
Starred by Lilian Weng Lilian Weng(Cofounder of Thinking Machines Lab), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
59 more.

AutoGPT by Significant-Gravitas

0.1%
182k
AI agent platform for building, deploying, and running autonomous workflows
Created 2 years ago
Updated 21 hours ago
Feedback? Help us improve.