XcodeBuildMCP  by cameroncooke

MCP server for Xcode project automation via AI agents

Created 6 months ago
2,561 stars

Top 18.2% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
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 week ago

Responsiveness

1 day

Pull Requests (30d)
4
Issues (30d)
9
Star History
226 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 7 months ago
Updated 6 months ago
Starred by Luis Capelo Luis Capelo(Cofounder of Lightning AI), Addy Osmani Addy Osmani(Head of Chrome Developer Experience at Google), and
23 more.

goose by block

0.8%
20k
Open-source AI agent for automating complex engineering tasks
Created 1 year ago
Updated 23 hours 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 7 months ago
Feedback? Help us improve.