Labsco
devyhan logo

Xcode

β˜… 8

from devyhan

Tools for Xcode project management, building, testing, archiving, code signing, and iOS development utilities.

πŸ”₯πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedFreeAdvanced setup

xcode-mcp

An MCP (Model Context Protocol) server that provides tools for Xcode-related operations, making it easier to work with Xcode projects from MCP clients like Claude Desktop. The server offers various utilities for Xcode project management, building, testing, archiving, code signing, and related iOS development tools.

Features

  • Xcode project information retrieval and scheme listing
  • Enhanced build capabilities with clean and custom output options
  • Comprehensive test execution with granular control
  • App archiving and IPA export for distribution
  • Code signing and provisioning profile management
  • Swift Package Manager integration
  • iOS Simulator management via simctl
  • NEW: Real Device App Deployment and Launch with automatic Xcode installation detection and improved device management
  • Intelligent handling of app installation failures with auto-retry
  • Smart caching of device and Xcode information for better performance

Security Considerations

This tool can execute Xcode-related commands, which poses security risks. Please note:

  • Only use with trusted Xcode projects.
  • Be cautious with projects from unknown sources.
  • Do not include sensitive information in build parameters.

Development

Requirements

  • Node.js 16 or higher
  • npm 6 or higher
  • Xcode 14 or higher (for all features)
  • Xcode 16 or higher (required for devicectl and real device features)

Local Development and Testing

# Clone the repository
git clone https://github.com/devyhan/xcode-mcp.git
cd xcode-mcp

# Install dependencies
npm install

# Run in development mode
npm run dev

# Build
npm run build

# Test
npm test