xcodebuildmcp

Automate Xcode project builds, tests, and log capture via MCP.

1|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/kmshdev/claude-swift-toolkit --skill xcodebuildmcp-kmshdev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xcodebuildmcp
Source: https://github.com/kmshdev/claude-swift-toolkit/tree/main/skills/xcodebuildmcp
Command: npx skills add https://github.com/kmshdev/claude-swift-toolkit --skill xcodebuildmcp-kmshdev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates building and testing Xcode projects using MCP tooling to reduce manual CLI work and configuration overhead.

Core Features & Use Cases

  • Automate project discovery, build, test, and log capture across iOS, macOS, watchOS, tvOS, and visionOS targets.
  • Manage simulator lifecycles, run tests, collect artifacts, and attach debugging sessions through MCP workflows.
  • Use cases include rapid feature validation, CI-like automation, and local development loops with consistent environment setups.

Quick Start

Invoke the XcodeBuildMCP tool to build the active workspace and execute tests for all schemes.

Frequently Asked Questions about xcodebuildmcp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Xcode builds and tests for iOS and macOS projects?

You can automate Xcode builds and tests by invoking the XcodeBuildMCP toolset to build active workspaces and execute tests across iOS, macOS, watchOS, tvOS, and visionOS targets. This reduces manual CLI work and configuration overhead.

Can I manage simulators and capture build logs through MCP workflows?

Yes, MCP workflows support managing simulator lifecycles, running tests, capturing logs, collecting artifacts, and attaching debugging sessions. This enables rapid feature validation and consistent local development loops.

Does MCP automation work with watchOS, tvOS, and visionOS development targets?

MCP automation applies to iOS, macOS, watchOS, tvOS, and visionOS development workflows. It handles project discovery, session defaults, simulator management, and device management across all these Apple platforms.

What is the best way to run CI-like automation for local Xcode project validation?

The best way to run CI-like automation locally is using MCP tooling to build projects, execute tests for all schemes, and collect artifacts with consistent environment setups. This bypasses the need for manual xcodebuild CLI configuration.

How does Xcode project discovery work when using MCP automation?

Xcode project discovery is automated through the MCP toolset, which identifies active workspaces and available schemes. This allows you to quickly target and build projects without manually specifying project paths or configurations.

Do I need to manually configure xcodebuild CLI commands to use this automation?

No, you do not need to manually configure xcodebuild CLI commands. The MCP toolset reduces manual CLI work by handling project discovery, session defaults, build execution, and log capture through defined workflows.