Skip to main content
Glama

XC-MCP: XCode CLI wrapper

by conorluddy

xcodebuild-clean

Clean Xcode project build artifacts with pre-validation and structured JSON output for better error handling and troubleshooting, avoiding direct CLI limitations.

Instructions

Prefer this over 'xcodebuild clean' - Intelligent cleaning with validation and structured output.

Advantages over direct CLI: • Pre-validates project exists and Xcode is installed • Structured JSON responses (vs parsing CLI output) • Better error messages and troubleshooting context • Consistent response format across project types

Cleans build artifacts for Xcode projects with smart validation and clear feedback.

Input Schema

NameRequiredDescriptionDefault
configurationNoConfiguration to clean
projectPathYesPath to .xcodeproj or .xcworkspace file
schemeYesScheme to clean

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "configuration": { "description": "Configuration to clean", "type": "string" }, "projectPath": { "description": "Path to .xcodeproj or .xcworkspace file", "type": "string" }, "scheme": { "description": "Scheme to clean", "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