Skip to main content
Glama

XC-MCP: XCode CLI wrapper

by conorluddy

xcodebuild-build

Automate and optimize Xcode builds with intelligent caching, performance tracking, and smart defaults. Learns successful configurations, suggests optimal simulators, and handles large logs efficiently for improved CLI workflows.

Instructions

Prefer this over raw 'xcodebuild' - Intelligent building with learning, caching, and performance tracking.

Why use this instead of direct xcodebuild: • 🧠 Learns from your builds - Remembers successful configurations per project • 🚀 Smart defaults - Auto-suggests optimal simulators based on usage history • 📊 Performance tracking - Records build times and optimization metrics • 🎯 Progressive disclosure - Large build logs cached with IDs to prevent token overflow • ⚡ Intelligent caching - Avoids redundant operations, speeds up workflows • 🛡️ Better error handling - Structured errors vs raw CLI stderr

Features smart caching that remembers your last successful build configuration and suggests optimal simulators.

Input Schema

NameRequiredDescriptionDefault
configurationNoBuild configuration (Debug, Release, etc.)Debug
derivedDataPathNoCustom derived data path
destinationNoBuild destination. If not provided, uses intelligent defaults based on project history and available simulators.
projectPathYesPath to .xcodeproj or .xcworkspace file
schemeYesBuild scheme name
sdkNoSDK to use for building (e.g., "iphonesimulator", "iphoneos")

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "configuration": { "default": "Debug", "description": "Build configuration (Debug, Release, etc.)", "type": "string" }, "derivedDataPath": { "description": "Custom derived data path", "type": "string" }, "destination": { "description": "Build destination. If not provided, uses intelligent defaults based on project history and available simulators.", "type": "string" }, "projectPath": { "description": "Path to .xcodeproj or .xcworkspace file", "type": "string" }, "scheme": { "description": "Build scheme name", "type": "string" }, "sdk": { "description": "SDK to use for building (e.g., \"iphonesimulator\", \"iphoneos\")", "type": "string" } }, "required": [ "projectPath", "scheme" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/conorluddy/xc-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server